summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorNick Nunley2010-05-04 23:58:07 +0200
committerDavid S. Miller2010-05-06 06:30:12 +0200
commit2873957df0ead5b53fa00fddfb52ca3df38af4a9 (patch)
tree3332fef2c0b6ac1877299ab171ce7a316a786301 /drivers/net/igb/igb.h
parentks8851: companion eeprom access through ethtool (diff)
downloadkernel-qcow2-linux-2873957df0ead5b53fa00fddfb52ca3df38af4a9.tar.gz
kernel-qcow2-linux-2873957df0ead5b53fa00fddfb52ca3df38af4a9.tar.xz
kernel-qcow2-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.h4
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 {