diff options
author | Michael Chan <mchan@broadcom.com> | 2007-12-20 22:56:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:57:36 -0500 |
commit | a550c99bc39caf292ed214c0c9c2c4d0b9c95161 (patch) | |
tree | 061b23ae2c3478f8863a1978117ac394b9b7a6b0 /drivers/net/bnx2.h | |
parent | 35efa7c1f4aa868d4a948a9069f20ccef1b3b28d (diff) |
[BNX2]: Move tx indexes into bnx2_napi struct.
Tx 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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 345b6db9a947..958fdda09c6b 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6509,6 +6509,9 @@ struct bnx2_napi { | |||
6509 | struct status_block *status_blk; | 6509 | struct status_block *status_blk; |
6510 | u32 last_status_idx; | 6510 | u32 last_status_idx; |
6511 | u32 int_num; | 6511 | u32 int_num; |
6512 | |||
6513 | u16 tx_cons; | ||
6514 | u16 hw_tx_cons; | ||
6512 | }; | 6515 | }; |
6513 | 6516 | ||
6514 | struct bnx2 { | 6517 | struct bnx2 { |
@@ -6539,9 +6542,6 @@ struct bnx2 { | |||
6539 | u32 tx_bidx_addr; | 6542 | u32 tx_bidx_addr; |
6540 | u32 tx_bseq_addr; | 6543 | u32 tx_bseq_addr; |
6541 | 6544 | ||
6542 | u16 tx_cons __attribute__((aligned(L1_CACHE_BYTES))); | ||
6543 | u16 hw_tx_cons; | ||
6544 | |||
6545 | struct bnx2_napi bnx2_napi; | 6545 | struct bnx2_napi bnx2_napi; |
6546 | 6546 | ||
6547 | #ifdef BCM_VLAN | 6547 | #ifdef BCM_VLAN |