summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2012-09-28 07:12:42 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-30 02:10:36 -0400
commit0968169c9271ddf05a7531274ffe4829f9d068b2 (patch)
treef3accfb9486642d7d10b58ab997daeda505cf0b9 /drivers/net/ethernet/broadcom/tg3.h
parent6513859479b0fe1232cddd100db269191c1691e1 (diff)
downloadtalos-obmc-linux-0968169c9271ddf05a7531274ffe4829f9d068b2.tar.gz
talos-obmc-linux-0968169c9271ddf05a7531274ffe4829f9d068b2.zip
tg3: Add support for ethtool -L|-l to get/set the number of rings.
Default remains the same. Reviewed-by: Nithin Nayak Sujir <nsujir@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r--drivers/net/ethernet/broadcom/tg3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
index 2abe94cfd47f..d9308c32102e 100644
--- a/drivers/net/ethernet/broadcom/tg3.h
+++ b/drivers/net/ethernet/broadcom/tg3.h
@@ -3038,6 +3038,7 @@ struct tg3 {
void (*write32_tx_mbox) (struct tg3 *, u32,
u32);
u32 dma_limit;
+ u32 txq_req;
u32 txq_cnt;
u32 txq_max;
@@ -3054,6 +3055,7 @@ struct tg3 {
u32 rx_std_max_post;
u32 rx_offset;
u32 rx_pkt_map_sz;
+ u32 rxq_req;
u32 rxq_cnt;
u32 rxq_max;
bool rx_refill;
OpenPOWER on IntegriCloud