diff options
author | Michael Chan <mchan@broadcom.com> | 2012-02-05 10:24:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-05 22:42:00 -0500 |
commit | b033281f618fa40ee1b24a60cd8043b4979bfee4 (patch) | |
tree | 78458117b284cd7989b14c6e821645282a56f6bc /drivers/net/ethernet/broadcom/bnx2.h | |
parent | b9d6d2dbf45b038a94c63295203525101a9fbbb7 (diff) |
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.h | 3 |
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 { | |||
6933 | u8 num_tx_rings; | 6933 | u8 num_tx_rings; |
6934 | u8 num_rx_rings; | 6934 | u8 num_rx_rings; |
6935 | 6935 | ||
6936 | int num_req_tx_rings; | ||
6937 | int num_req_rx_rings; | ||
6938 | |||
6936 | u32 leds_save; | 6939 | u32 leds_save; |
6937 | u32 idle_chk_status_idx; | 6940 | u32 idle_chk_status_idx; |
6938 | 6941 | ||