From: "Merav Sicron" <meravs@broadcom.com>
To: netdev@vger.kernel.org, davem@davemloft.net, eilong@broadcom.com
Cc: "Merav Sicron" <meravs@broadcom.com>
Subject: [net-next patch 8/11 v2] bnx2x: Allow up to 63 RSS queues
Date: Tue, 19 Jun 2012 20:48:29 +0300 [thread overview]
Message-ID: <1340128112-22935-9-git-send-email-meravs@broadcom.com> (raw)
In-Reply-To: <1340128112-22935-1-git-send-email-meravs@broadcom.com>
This patch removed the limitation in the code for 16 RSS queues.
Signed-off-by: Merav Sicron <meravs@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 2d67856..7571c8c 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -11813,13 +11813,6 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
max_non_def_sbs = bnx2x_get_num_non_def_sbs(pdev);
- /* !!! FIXME !!!
- * Do not allow the maximum SB count to grow above 16
- * since Special CIDs starts from 16*BNX2X_MULTI_TX_COS=48.
- * We will use the FP_SB_MAX_E1x macro for this matter.
- */
- max_non_def_sbs = min_t(int, FP_SB_MAX_E1x, max_non_def_sbs);
-
WARN_ON(!max_non_def_sbs);
/* Maximum number of RSS queues: one IGU SB goes to CNIC */
@@ -11841,9 +11834,6 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
bp = netdev_priv(dev);
- BNX2X_DEV_INFO("Allocated netdev with %d tx and %d rx queues\n",
- tx_count, rx_count);
-
bp->igu_sb_cnt = max_non_def_sbs;
bp->msg_enable = debug;
pci_set_drvdata(pdev, dev);
@@ -11856,6 +11846,9 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
BNX2X_DEV_INFO("max_non_def_sbs %d\n", max_non_def_sbs);
+ BNX2X_DEV_INFO("Allocated netdev with %d tx and %d rx queues\n",
+ tx_count, rx_count);
+
rc = bnx2x_init_bp(bp);
if (rc)
goto init_one_exit;
--
1.7.10
next prev parent reply other threads:[~2012-06-19 14:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 17:48 [net-next patch 0/11 v2] bnx2x: ethtool and other enhancements Merav Sicron
2012-06-19 17:48 ` [net-next patch 1/11 v2] bnx2x: Add support for external LB Merav Sicron
2012-06-19 17:48 ` [net-next patch 2/11 v2] bnx2x: Return only online tests for MF Merav Sicron
2012-06-19 17:48 ` [net-next patch 3/11 v2] bnx2x: Add support for 4-tupple UDP RSS Merav Sicron
2012-06-19 17:48 ` [net-next patch 4/11 v2] bnx2x: Allow more than 64 L2 CIDs Merav Sicron
2012-06-19 17:48 ` [net-next patch 5/11 v2] bnx2x: Make the transmission queues adjacent Merav Sicron
2012-06-19 17:48 ` [net-next patch 6/11 v2] bnx2x: Move the CNIC L2 CIDs to be right after the RSS CIDs Merav Sicron
2012-06-19 17:48 ` [net-next patch 7/11 v2] bnx2x: Split the FP structure Merav Sicron
2012-06-19 17:48 ` Merav Sicron [this message]
2012-06-19 17:48 ` [net-next patch 9/11 v2] bnx2x: Add support for ethtool -L Merav Sicron
2012-06-19 17:48 ` [net-next patch 10/11 v2] bnx2x: Support DCBX for all functions Merav Sicron
2012-06-19 17:48 ` [net-next patch 11/11 v2] bnx2x: Change date and version to 1.72.51-0 Merav Sicron
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=1340128112-22935-9-git-send-email-meravs@broadcom.com \
--to=meravs@broadcom.com \
--cc=davem@davemloft.net \
--cc=eilong@broadcom.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox