summaryrefslogtreecommitdiffstats
path: root/net/xdp/xsk_queue.h
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2020-11-16 12:12:44 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-11-17 22:07:40 +0100
commitf320460b9489d80355821829069fdefa6c698cb4 (patch)
tree71a1f7949f0273448646e1ab492002c62297f64c /net/xdp/xsk_queue.h
parent90da4b3208d32bdb5489ca08b91af16ed4a68d00 (diff)
downloadlinux-f320460b9489d80355821829069fdefa6c698cb4.tar.gz
linux-f320460b9489d80355821829069fdefa6c698cb4.tar.bz2
linux-f320460b9489d80355821829069fdefa6c698cb4.zip
i40e: Remove unnecessary sw_ring access from xsk Tx
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@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/1605525167-14450-3-git-send-email-magnus.karlsson@gmail.com
Diffstat (limited to 'net/xdp/xsk_queue.h')
0 files changed, 0 insertions, 0 deletions