linux-kernel-test/drivers/net/ixgbe
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
..
ixgbe_82598.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_82599.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.h ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Don't reset the hardware when switching between LFC and PFC 2009-05-17 21:04:14 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_ethtool.c ixgbe: Enable Flow Director hashing in 82599 2009-06-07 05:20:24 -07:00
ixgbe_fcoe.c ixgbe: Enable FCoE redirection table feature in 82599 2009-05-17 21:04:10 -07:00
ixgbe_fcoe.h ixgbe: Add infrastructure code for FCoE large receive offload to 82599 2009-05-17 12:00:07 -07:00
ixgbe_main.c net: skb_shared_info optimization 2009-06-08 00:21:48 -07:00
ixgbe_phy.c ixgbe: Harden the 82599 multispeed fiber autotry mechanism 2009-06-07 05:20:18 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe.h ixgbe: Re-adjust ring layouts to have better cacheline efficiency 2009-06-07 05:20:25 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00