Re: [PATCH net-next] virtio-net: switch to use build_skb() for small buffer

From
David Miller <davem@davemloft.net>
Date
2017-02-21 17:26:40
Also in
lkml, netdev
From: Jason Wang <redacted>
Date: Tue, 21 Feb 2017 16:46:28 +0800
This patch switch to use build_skb() for small buffer which can have
better performance for both TCP and XDP (since we can work at page
before skb creation). It also remove lots of XDP codes since both
mergeable and small buffer use page frag during refill now.

                       Before   | After
XDP_DROP(xdp1) 64B  :  11.1Mpps | 14.4Mpps

Tested with xdp1/xdp2/xdp_ip_tx_tunnel and netperf.

Signed-off-by: Jason Wang <redacted>
Applied.
Thread (1 message) 1 message, 1 author, last reply 2017-02-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help