1
linux/drivers/net/igb
Eric Dumazet 042a53a9e4 net: skb_shared_info optimization
skb_dma_unmap() is quite expensive for small packets,
because we use two different cache lines from skb_shared_info.

One to access nr_frags, one to access dma_maps[0]

Instead of dma_maps being an array of MAX_SKB_FRAGS + 1 elements,
let dma_head alone in a new dma_head field, close to nr_frags,
to reduce cache lines misses.

Tested on my dev machine (bnx2 & tg3 adapters), nice speedup !

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-08 00:21:48 -07:00
..
e1000_82575.c igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_82575.h igb: Enable SCTP checksum offloading 2009-04-28 01:53:14 -07:00
e1000_defines.h igb: Enable SCTP checksum offloading 2009-04-28 01:53:14 -07:00
e1000_hw.h igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_mac.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mac.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.c igb: reconfigure mailbox timeout logic 2009-04-28 01:53:12 -07:00
e1000_mbx.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_nvm.c igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_nvm.h
e1000_phy.c igb: increase delay for copper link setup 2009-04-02 00:59:07 -07:00
e1000_phy.h igb/e1000e: update PSSR_MDIX value to reflect correct bit 2009-05-26 20:35:06 -07:00
e1000_regs.h igb: add RQDPC (Receive Queue Drop Packet Count) register macro 2009-05-26 20:35:04 -07:00
igb_ethtool.c igb: Record host memory receive overflow in net_stats 2009-05-26 20:35:06 -07:00
igb_main.c net: skb_shared_info optimization 2009-06-08 00:21:48 -07:00
igb.h igb: Implement reading of reg RQDPC (Receive Queue Drop Packet Count) 2009-05-26 20:35:05 -07:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00