diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2020-11-16 14:12:44 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-11-18 00:07:40 +0300 |
commit | f320460b9489d80355821829069fdefa6c698cb4 (patch) | |
tree | 71a1f7949f0273448646e1ab492002c62297f64c /net/xdp/xsk_queue.h | |
parent | 90da4b3208d32bdb5489ca08b91af16ed4a68d00 (diff) | |
download | linux-f320460b9489d80355821829069fdefa6c698cb4.tar.xz |
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