mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
042a53a9e4
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> |
||
---|---|---|
.. | ||
ixgb_ee.c | ||
ixgb_ee.h | ||
ixgb_ethtool.c | ||
ixgb_hw.c | ||
ixgb_hw.h | ||
ixgb_ids.h | ||
ixgb_main.c | ||
ixgb_osdep.h | ||
ixgb_param.c | ||
ixgb.h | ||
Makefile |