]> Git Repo - linux.git/commit
tuntap: XDP_TX can use native XDP
authorJason Wang <[email protected]>
Wed, 14 Mar 2018 03:23:40 +0000 (11:23 +0800)
committerDavid S. Miller <[email protected]>
Wed, 14 Mar 2018 17:20:48 +0000 (13:20 -0400)
commit59655a5b6c837e392e873629591069c898585592
tree0088c7be13366a70f1a87ace645447a9a97a020e
parent815df9ac6c993c526c6ef82d970890a1f4b51f2f
tuntap: XDP_TX can use native XDP

Now we have ndo_xdp_xmit, switch to use it instead of the slow generic
XDP TX routine. XDP_TX on TAP gets ~20% improvements from ~1.5Mpps to
~1.8Mpps on 2.60GHz Core(TM) i7-5600U.

Signed-off-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/tun.c
This page took 0.052464 seconds and 4 git commands to generate.