aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-04-22 12:26:16 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-23 23:01:35 -0400
commit41c73a0d44c902e92397552acce181295eaa448b (patch)
tree522ac16cf3c1db59ef21e30cf14177dea1a7ea24 /drivers/net/wan
parenttcp: introduce tcp_try_coalesce (diff)
downloadlinux-dev-41c73a0d44c902e92397552acce181295eaa448b.tar.xz
linux-dev-41c73a0d44c902e92397552acce181295eaa448b.zip
net: speedup skb_splice_bits()
Commit 35f3d14db (pipe: add support for shrinking and growing pipes) added a slowdown for splice(socket -> pipe), as we might grow the spd used in skb_splice_bits() for each skb we process in splice() syscall. Its not needed since skb lengths are capped. The default on-stack arrays are more than enough. Use MAX_SKB_FRAGS instead of PIPE_DEF_BUFFERS to describe the reasonable limit per skb. Add coalescing support to help splicing of GRO skbs built from linear skbs (linked into frag_list) Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions