summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
authorMichael Dalton <mwdalton@google.com>2013-10-28 15:44:18 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-28 23:56:46 -0400
commit2613af0ed18a11d5c566a81f9a6510b73180660a (patch)
tree845c49d94b0a1d749a6fab0acad4bb0700c917c8 /net/ipv4/ip_output.c
parent5d9efa7ee99eed58388f186c13cf2e2a87e9ceb4 (diff)
downloadop-kernel-dev-2613af0ed18a11d5c566a81f9a6510b73180660a.zip
op-kernel-dev-2613af0ed18a11d5c566a81f9a6510b73180660a.tar.gz
virtio_net: migrate mergeable rx buffers to page frag allocators
The virtio_net driver's mergeable receive buffer allocator uses 4KB packet buffers. For MTU-sized traffic, SKB truesize is > 4KB but only ~1500 bytes of the buffer is used to store packet data, reducing the effective TCP window size substantially. This patch addresses the performance concerns with mergeable receive buffers by allocating MTU-sized packet buffers using page frag allocators. If more than MAX_SKB_FRAGS buffers are needed, the SKB frag_list is used. Signed-off-by: Michael Dalton <mwdalton@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud