summaryrefslogtreecommitdiff
path: root/drivers/net/netx-eth.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-08-15 22:15:10 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-08-16 02:52:31 (GMT)
commitf42157cb568c1eb02eca7df4da67553a9edae24a (patch)
treef8c104a73ae5558e104a07e254a9eafd7839269d /drivers/net/netx-eth.c
parentdb543c1f973cd1d557cc32ceee76737c1e4d2898 (diff)
downloadlinux-fsl-qoriq-f42157cb568c1eb02eca7df4da67553a9edae24a.tar.xz
tun: fallback if skb_alloc() fails on big packets
skb_alloc produces linear packets (using kmalloc()). That can fail, so should we fall back to making paged skbs. My original version of this patch always allocate paged skbs for big packets. But that made performance drop from 8.4 seconds to 8.8 seconds on 1G lguest->Host TCP xmit. So now we only do that as a fallback. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Max Krasnyansky <maxk@qualcomm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netx-eth.c')
0 files changed, 0 insertions, 0 deletions