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.1.12-107.0.20170801_2000~79 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=35d29508991cca20806f089c2633f6e82af1603c;p=users%2Fjedix%2Flinux-maple.git qed: RoCE doesn't need to use SRC Orabug: 25933053, 26439680 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 Signed-off-by: Brian Maly --- 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)