All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuval Mintz <Yuval.Mintz@cavium.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>
Cc: Yuval Mintz <Yuval.Mintz@cavium.com>
Subject: [PATCH net-next 4/5] qed: RoCE doesn't need to use SRC
Date: Mon, 3 Apr 2017 12:21:12 +0300	[thread overview]
Message-ID: <1491211273-10910-5-git-send-email-Yuval.Mintz@cavium.com> (raw)
In-Reply-To: <1491211273-10910-1-git-send-email-Yuval.Mintz@cavium.com>

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>
---
 drivers/net/ethernet/qlogic/qed/qed_cxt.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c b/drivers/net/ethernet/qlogic/qed/qed_cxt.c
index f7b1a37..8db0234 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)
-- 
1.9.3

  parent reply	other threads:[~2017-04-03  9:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03  9:21 [PATCH net-next 0/5] qed: QM & ILT changes Yuval Mintz
2017-04-03  9:21 ` [PATCH net-next 1/5] qed: Revise QM cofiguration Yuval Mintz
2017-04-03  9:21 ` [PATCH net-next 2/5] qed: Fix TM block ILT allocation Yuval Mintz
2017-04-03 11:46   ` Sergei Shtylyov
2017-04-03 13:58     ` Mintz, Yuval
2017-04-03  9:21 ` [PATCH net-next 3/5] qed: Correct TM ILT lines in presence of VFs Yuval Mintz
2017-04-03  9:21 ` Yuval Mintz [this message]
2017-04-03  9:21 ` [PATCH net-next 5/5] qed: Manage with less memory regions for RoCE Yuval Mintz
2017-04-04  2:16 ` [PATCH net-next 0/5] qed: QM & ILT changes David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491211273-10910-5-git-send-email-Yuval.Mintz@cavium.com \
    --to=yuval.mintz@cavium.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.