summary refs log tree commit diff
path: root/drivers/tc
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-05-05 14:02:27 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-05 21:11:25 -0700
commit9ed318d546a29d7a591dbe648fd1a2efe3be1180 (patch)
treeadcccd4b9c015d0d81fbce1928c135b269ac1d26 /drivers/tc
parent4447957a825031b3faf3b5bc2013afe35eff492b (diff)
downloadlinux-9ed318d546a29d7a591dbe648fd1a2efe3be1180.tar.gz
e1000e: save skb counts in TX to avoid cache misses
In e1000_tx_map, precompute number of segements and bytecounts which
are derived from fields in skb; these are stored in buffer_info.  When
cleaning tx in e1000_clean_tx_irq use the values in the associated
buffer_info for statistics counting, this eliminates cache misses
on skb fields.

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Bruce Allan <bruce.w.allan@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/tc')
0 files changed, 0 insertions, 0 deletions