aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-04-03 12:21:12 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-03 19:16:37 -0700
commit5f8cb033f4c814760c9f7f2345278111d06afe47 (patch)
treece083273f80d73beab5dec895018713652f4efd4 /drivers
parentqed: Correct TM ILT lines in presence of VFs (diff)
downloadlinux-dev-5f8cb033f4c814760c9f7f2345278111d06afe47.tar.xz
linux-dev-5f8cb033f4c814760c9f7f2345278111d06afe47.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_cxt.c3
1 files changed, 1 insertions, 2 deletions
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)