diff options
| author | Magnus Karlsson <magnus.karlsson@intel.com> | 2020-12-02 18:07:23 +0300 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-03-15 22:04:51 +0300 |
| commit | 7d52fe2eaddfa3d7255d43c3e89ebf2748b7ea7a (patch) | |
| tree | be2547e8b101382eb77f797b268fcc7b8b162807 /tools/perf/scripts/python/netdev-times.py | |
| parent | 346497c78d15cdd5bdc3b642a895009359e5457f (diff) | |
| download | linux-7d52fe2eaddfa3d7255d43c3e89ebf2748b7ea7a.tar.xz | |
ixgbe: optimize for XDP_REDIRECT in xsk path
Optimize ixgbe_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 under 100k extra
packets in throughput on my server when running l2fwd in xdpsock.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Tested-by: Vishakha Jambekar <vishakha.jambekar@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
