diff options
author | 2022-01-21 11:09:46 +0100 | |
---|---|---|
committer | 2022-01-21 14:14:01 -0800 | |
commit | 76a676947b56710097b755d37fd7d5cea09d6e7d (patch) | |
tree | 6f2080192c83a9ba0da19bcc587f828b5aa65813 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | xdp: introduce flags field in xdp_buff/xdp_frame (diff) | |
download | linux-dev-76a676947b56710097b755d37fd7d5cea09d6e7d.tar.xz linux-dev-76a676947b56710097b755d37fd7d5cea09d6e7d.zip |
net: mvneta: update frags bit before passing the xdp buffer to eBPF layer
Update frags bit (XDP_FLAGS_HAS_FRAGS) in xdp_buff to notify
XDP/eBPF layer and XDP remote drivers if this is a "non-linear"
XDP buffer. Access skb_shared_info only if XDP_FLAGS_HAS_FRAGS flag
is set in order to avoid possible cache-misses.
Acked-by: Toke Hoiland-Jorgensen <toke@redhat.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/c00a73097f8a35860d50dae4a36e6cc9ef7e172f.1642758637.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions