]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'add-af_xdp-zero-copy-support'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 20 Nov 2025 14:24:13 +0000 (15:24 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 20 Nov 2025 14:24:13 +0000 (15:24 +0100)
commit7828a4d3f6dbd8d44948726589457b152e3be79b
treeeecc522e5b62c644d91b4c0c48b27230cabb8359
parent070b87f64a6435897bc81f1fcaae3169472ca413
parentc6a1ec1870e623ff74e70a481d11ff82932f31ff
Merge branch 'add-af_xdp-zero-copy-support'

Meghana Malladi says:

====================
Add AF_XDP zero copy support

This series adds AF_XDP zero coppy support to icssg driver.

Tests were performed on AM64x-EVM with xdpsock application [1].

A clear improvement is seen Transmit (txonly) and receive (rxdrop)
for 64 byte packets. 1500 byte test seems to be limited by line
rate (1G link) so no improvement seen there in packet rate

Having some issue with l2fwd as the benchmarking numbers show 0
for 64 byte packets after forwading first batch packets and I am
currently looking into it.

AF_XDP performance using 64 byte packets in Kpps.
AF_XDP performance using 64 byte packets in Kpps.
Benchmark: XDP-SKB XDP-Native XDP-Native(ZeroCopy)
rxdrop 253 473 656
txonly 350 354 855
l2fwd  178 240 0

AF_XDP performance using 1500 byte packets in Kpps.
Benchmark: XDP-SKB XDP-Native XDP-Native(ZeroCopy)
rxdrop 82 82 82
txonly 81 82 82
l2fwd  81 82 82

[1]: https://github.com/xdp-project/bpf-examples/tree/master/AF_XDP-example
v5: https://lore.kernel.org/all/20251111101523.3160680-1-m-malladi@ti.com/
====================

Link: https://patch.msgid.link/20251118135542.380574-1-m-malladi@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>