aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-12-20 22:57:19 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:37 -0500
commita1f6019090f2c075b41624c32a825775f6865577 (patch)
tree62fabe6555766ee35328e0c280bcf8c324a2ab6c /drivers/net/bnx2.h
parenta550c99bc39caf292ed214c0c9c2c4d0b9c95161 (diff)
[BNX2]: Move rx indexes into bnx2_napi struct.
Rx related fields used in NAPI polling are moved from the main bnx2 struct to the bnx2_napi struct. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index 958fdda09c6b..b75795b4f8cf 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -6512,6 +6512,14 @@ struct bnx2_napi {
6512 6512
6513 u16 tx_cons; 6513 u16 tx_cons;
6514 u16 hw_tx_cons; 6514 u16 hw_tx_cons;
6515
6516 u32 rx_prod_bseq;
6517 u16 rx_prod;
6518 u16 rx_cons;
6519
6520 u16 rx_pg_prod;
6521 u16 rx_pg_cons;
6522
6515}; 6523};
6516 6524
6517struct bnx2 { 6525struct bnx2 {
@@ -6556,13 +6564,6 @@ struct bnx2 {
6556 u32 rx_max_ring_idx; 6564 u32 rx_max_ring_idx;
6557 u32 rx_max_pg_ring_idx; 6565 u32 rx_max_pg_ring_idx;
6558 6566
6559 u32 rx_prod_bseq;
6560 u16 rx_prod;
6561 u16 rx_cons;
6562
6563 u16 rx_pg_prod;
6564 u16 rx_pg_cons;
6565
6566 u32 rx_csum; 6567 u32 rx_csum;
6567 6568
6568 struct sw_bd *rx_buf_ring; 6569 struct sw_bd *rx_buf_ring;