linux/drivers/net/igbvf
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
..
defines.h
ethtool.c igbvf: cleanup flags and allow for rx checksum to be disabled 2009-05-06 15:33:40 -07:00
igbvf.h igbvf: cleanup flags and allow for rx checksum to be disabled 2009-05-06 15:33:40 -07:00
Makefile
mbx.c
mbx.h
netdev.c net: skb_shared_info optimization 2009-06-08 00:21:48 -07:00
regs.h
vf.c igbvf: fix unused external references 2009-04-11 02:55:14 -07:00
vf.h igbvf: fix unused external references 2009-04-11 02:55:14 -07:00