aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2020-12-02 16:07:24 +0100
committerTony Nguyen <[email protected]>2021-03-15 12:04:51 -0700
commitbb52073645a618ab4d93c8d932fb8faf114c55bc (patch)
tree5772604124f6fbe65cfdcf63c913b77d20d3a4f6 /tools/perf/scripts/python/net_dropmonitor.py
parent7d52fe2eaddfa3d7255d43c3e89ebf2748b7ea7a (diff)
ice: optimize for XDP_REDIRECT in xsk path
Optimize ice_run_xdp_zc() for the XDP program verdict being XDP_REDIRECT in the xsk zero-copy path. This path is only used when having AF_XDP zero-copy on and in that case most packets will be directed to user space. This provides a little over 100k extra packets in throughput on my server when running l2fwd in xdpsock. Signed-off-by: Magnus Karlsson <[email protected]> Tested-by: George Kuruvinakunnel <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions