diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-06-29 08:23:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-01 19:27:08 -0700 |
commit | ba2b232108d3c2951bab02930a00f23b0cffd5af (patch) | |
tree | 44f3634c61f1698ff8ed9a4f5d47bdbe70810f17 /kernel/utsname_sysctl.c | |
parent | bb005f2a70742d66f8fe44d57e217c696e805d97 (diff) | |
download | linux-ba2b232108d3c2951bab02930a00f23b0cffd5af.tar.bz2 |
net: netsec: add XDP support
The interface only supports 1 Tx queue so locking is introduced on
the Tx queue if XDP is enabled to make sure .ndo_start_xmit and
.ndo_xdp_xmit won't corrupt Tx ring
- Performance (SMMU off)
Benchmark XDP_SKB XDP_DRV
xdp1 291kpps 344kpps
rxdrop 282kpps 342kpps
- Performance (SMMU on)
Benchmark XDP_SKB XDP_DRV
xdp1 167kpps 324kpps
rxdrop 164kpps 323kpps
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions