diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-05-04 21:58:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-05 21:30:12 -0700 |
commit | 2873957df0ead5b53fa00fddfb52ca3df38af4a9 (patch) | |
tree | 3332fef2c0b6ac1877299ab171ce7a316a786301 /drivers/net/igb/igb.h | |
parent | a84afa40e07b6882ca46a7287d8ca4a8c5430f60 (diff) | |
download | linux-2873957df0ead5b53fa00fddfb52ca3df38af4a9.tar.gz linux-2873957df0ead5b53fa00fddfb52ca3df38af4a9.tar.bz2 linux-2873957df0ead5b53fa00fddfb52ca3df38af4a9.zip |
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 { unsigned long time_stamp; u16 length; u16 next_to_watch; - u16 mapped_as_page; + unsigned int bytecount; u16 gso_segs; + union skb_shared_tx shtx; + u8 mapped_as_page; }; /* RX */ struct { |