aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-09-01 09:19:05 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 03:43:58 -0400
commit8d9d7cfc0ec2fe37ff9afd74326d03f38f96ad1b (patch)
tree3fc4ef598534d0e309a4a980b29e3a601f4581e1 /drivers/net/tg3.h
parent0c1d0e2b05e92ad847b3ebe1c75b7974086bc8fa (diff)
tg3: Assign rx ret producer indexes by vector
When RSS is enabled, the status block format changes slightly. The "rx_jumbo_consumer", "reserved", and "rx_mini_consumer" members get mapped to the other three rx return ring producer indexes. This patch introduces a new per-interrupt member which identifies which location in the status block a particular vector should look for return ring updates. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 348add254d11..685d9712a802 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2538,6 +2538,7 @@ struct tg3_napi {
2538 2538
2539 u32 consmbox; 2539 u32 consmbox;
2540 u32 rx_rcb_ptr; 2540 u32 rx_rcb_ptr;
2541 u16 *rx_rcb_prod_idx;
2541 2542
2542 struct tg3_rx_buffer_desc *rx_rcb; 2543 struct tg3_rx_buffer_desc *rx_rcb;
2543 struct tg3_tx_buffer_desc *tx_ring; 2544 struct tg3_tx_buffer_desc *tx_ring;