Ver Fonte

qed: RoCE doesn't need to use SRC

As RoCE doesn't need to use the SRC, allocating ILT memory
on behalf of RoCE is wasting available ILT lines.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Mintz, Yuval há 8 anos atrás
pai
commit
5f8cb033f4
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      drivers/net/ethernet/qlogic/qed/qed_cxt.c

+ 1 - 2
drivers/net/ethernet/qlogic/qed/qed_cxt.c

@@ -241,8 +241,7 @@ struct qed_cxt_mngr {
 static bool src_proto(enum protocol_type type)
 {
 	return type == PROTOCOLID_ISCSI ||
-	       type == PROTOCOLID_FCOE ||
-	       type == PROTOCOLID_ROCE;
+	       type == PROTOCOLID_FCOE;
 }
 
 static bool tm_cid_proto(enum protocol_type type)