diff options
| author | 2011-11-18 06:47:01 +0000 | |
|---|---|---|
| committer | 2011-11-21 16:10:31 -0500 | |
| commit | 9205fd9ccab8ef51ad771c1917eed7b2f2225d45 (patch) | |
| tree | 7566edecf8ad6edfb4affea5976b0176a316bbab /net/core/dev.c | |
| parent | net: Change mii to ethtool advertisement function names (diff) | |
| download | linux-dev-9205fd9ccab8ef51ad771c1917eed7b2f2225d45.tar.xz linux-dev-9205fd9ccab8ef51ad771c1917eed7b2f2225d45.zip | |
tg3: switch to build_skb() infrastructure
This is very similar to bnx2x conversion, but simpler since no special
alignement is required, so goal was not to reduce skb truesize.
Using build_skb() reduces cache line misses in the driver, since we
use cache hot skb instead of cold ones. Number of in-flight sk_buff
structures is lower, they are more likely recycled in SLUB caches
while still hot.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Matt Carlson <mcarlson@broadcom.com>
CC: Michael Chan <mchan@broadcom.com>
CC: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
