diff options
author | 2022-01-21 11:09:47 +0100 | |
---|---|---|
committer | 2022-01-21 14:14:01 -0800 | |
commit | d094c9851ae970d4c95a269f9410464ec064b8cd (patch) | |
tree | b9d24bc031a438645a3bd35264654903bf231c39 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net: mvneta: update frags bit before passing the xdp buffer to eBPF layer (diff) | |
download | linux-dev-d094c9851ae970d4c95a269f9410464ec064b8cd.tar.xz linux-dev-d094c9851ae970d4c95a269f9410464ec064b8cd.zip |
net: mvneta: simplify mvneta_swbm_add_rx_fragment management
Relying on xdp frags bit, remove skb_shared_info structure
allocated on the stack in mvneta_rx_swbm routine and simplify
mvneta_swbm_add_rx_fragment accessing skb_shared_info in the
xdp_buff structure directly. There is no performance penalty in
this approach since mvneta_swbm_add_rx_fragment is run just
for xdp frags use-case.
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/45f050c094ccffce49d6bc5112939ed35250ba90.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