diff options
author | Tom Herbert <therbert@google.com> | 2010-05-05 14:02:27 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 04:11:25 (GMT) |
commit | 9ed318d546a29d7a591dbe648fd1a2efe3be1180 (patch) | |
tree | adcccd4b9c015d0d81fbce1928c135b269ac1d26 /drivers/net/dl2k.h | |
parent | 4447957a825031b3faf3b5bc2013afe35eff492b (diff) | |
download | linux-9ed318d546a29d7a591dbe648fd1a2efe3be1180.tar.xz |
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/net/dl2k.h')
0 files changed, 0 insertions, 0 deletions