aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-01-21 11:09:47 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-01-21 14:14:01 -0800
commitd094c9851ae970d4c95a269f9410464ec064b8cd (patch)
treeb9d24bc031a438645a3bd35264654903bf231c39 /tools/perf/scripts/python/export-to-sqlite.py
parentnet: mvneta: update frags bit before passing the xdp buffer to eBPF layer (diff)
downloadlinux-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