diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-05-04 17:58:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 00:30:12 -0400 |
commit | 2873957df0ead5b53fa00fddfb52ca3df38af4a9 (patch) | |
tree | 3332fef2c0b6ac1877299ab171ce7a316a786301 /drivers/net/igb/igb.h | |
parent | a84afa40e07b6882ca46a7287d8ca4a8c5430f60 (diff) |
igb: reduce cache misses on tx cleanup
This patch reduces the number of skb cache misses in the
clean_tx_irq path, and results in an overall increase
in tx packet throughput.
Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 735ede9c7d75..6e63d9a7fc75 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -141,8 +141,10 @@ struct igb_buffer { | |||
141 | unsigned long time_stamp; | 141 | unsigned long time_stamp; |
142 | u16 length; | 142 | u16 length; |
143 | u16 next_to_watch; | 143 | u16 next_to_watch; |
144 | u16 mapped_as_page; | 144 | unsigned int bytecount; |
145 | u16 gso_segs; | 145 | u16 gso_segs; |
146 | union skb_shared_tx shtx; | ||
147 | u8 mapped_as_page; | ||
146 | }; | 148 | }; |
147 | /* RX */ | 149 | /* RX */ |
148 | struct { | 150 | struct { |