diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2020-12-02 18:07:22 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-03-15 22:04:51 +0300 |
commit | 346497c78d15cdd5bdc3b642a895009359e5457f (patch) | |
tree | ef0b31b17cf2e1f206caafb0f428e2f0b123faf1 /drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | |
parent | 2117fce81f6b862aac0673abe8df0c60dca64bfa (diff) | |
download | linux-346497c78d15cdd5bdc3b642a895009359e5457f.tar.xz |
i40e: optimize for XDP_REDIRECT in xsk path
Optimize i40e_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 <magnus.karlsson@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c')
0 files changed, 0 insertions, 0 deletions