summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2012-02-05 16:24:38 +0100
committerDavid S. Miller <davem@davemloft.net>2012-02-06 04:42:00 +0100
commitb033281f618fa40ee1b24a60cd8043b4979bfee4 (patch)
tree78458117b284cd7989b14c6e821645282a56f6bc /drivers/net/ethernet/broadcom/bnx2.h
parentbonding: Fix misspelling of "since" (diff)
downloadlinux-b033281f618fa40ee1b24a60cd8043b4979bfee4.tar.xz
linux-b033281f618fa40ee1b24a60cd8043b4979bfee4.zip
bnx2: Add support for ethtool --show-channels|--set-channels
Allow the user to override the default number of RSS/TSS rings. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.h b/drivers/net/ethernet/broadcom/bnx2.h
index 1db2d51ba3f1..dc06bda73be7 100644
--- a/drivers/net/ethernet/broadcom/bnx2.h
+++ b/drivers/net/ethernet/broadcom/bnx2.h
@@ -6933,6 +6933,9 @@ struct bnx2 {
u8 num_tx_rings;
u8 num_rx_rings;
+ int num_req_tx_rings;
+ int num_req_rx_rings;
+
u32 leds_save;
u32 idle_chk_status_idx;