From: Mintz, Yuval Date: Mon, 3 Apr 2017 09:21:12 +0000 (+0300) Subject: qed: RoCE doesn't need to use SRC X-Git-Tag: v4.12-rc1~108^2~250^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f8cb033f4c814760c9f7f2345278111d06afe47;p=karo-tx-linux.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c b/drivers/net/ethernet/qlogic/qed/qed_cxt.c index f7b1a3732b04..8db023422bfd 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_cxt.c +++ b/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)