Skip to content
Commit 78f31931 authored by Ciara Loftus's avatar Ciara Loftus Committed by Jakub Kicinski
Browse files

i40e: read the XDP program once per NAPI

Similar to how it's done in the ice driver since 'eb087cd8

 ("ice:
propagate xdp_ring onto rx_ring")', read the XDP program once per NAPI
instead of once per descriptor cleaned. I measured an improvement in
throughput of 2% for the AF_XDP xdpsock l2fwd benchmark for zero copy mode
and 1% for copy mode.

Signed-off-by: default avatarCiara Loftus <ciara.loftus@intel.com>
Link: https://lore.kernel.org/r/20220623100852.7867-1-ciara.loftus@intel.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 85a1c653
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment