Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/ice
Magnus Karlsson 9e1eb42884 ice: optimize for XDP_REDIRECT in xsk path
[ Upstream commit bb52073645a618ab4d93c8d932fb8faf114c55bc ]

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 <magnus.karlsson@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-10 13:39:21 +02:00
..
2020-05-22 22:02:34 -07:00
2020-05-22 22:02:34 -07:00
2021-04-14 08:41:59 +02:00
2020-07-29 08:38:54 -07:00
2020-07-29 08:38:55 -07:00
2020-07-29 08:38:54 -07:00
2019-11-08 12:02:14 -08:00
2021-02-03 23:28:48 +01:00
2020-05-22 21:44:48 -07:00
2020-10-09 13:14:19 -07:00
2020-10-09 13:14:19 -07:00
2020-05-21 22:10:04 -07:00
2020-05-21 22:10:04 -07:00
2020-08-01 08:44:04 -07:00
2020-08-01 08:44:04 -07:00
2020-08-01 08:44:04 -07:00
2021-06-10 13:39:21 +02:00