[Intel-wired-lan] [PATCH bpf-next 3/6] i40e: remove unnecessary sw_ring access from xsk Tx

John Fastabend john.fastabend at gmail.com
Mon Nov 9 20:48:19 UTC 2020


Magnus Karlsson wrote:
> From: Magnus Karlsson <magnus.karlsson at intel.com>
> 
> Remove the unnecessary access to the software ring for the AF_XDP
> zero-copy driver. This was used to record the length of the packet so
> that the driver Tx completion code could sum this up to produce the
> total bytes sent. This is now performed during the transmission of the
> packet, so no need to record this in the software ring.
> 
> Signed-off-by: Magnus Karlsson <magnus.karlsson at intel.com>
> ---

Acked-by: John Fastabend <john.fastabend at gmail.com


More information about the Intel-wired-lan mailing list