diff options
| author | Tianyi Gao <tianyi@cloudflare.com> | 2026-10-16 22:42:17 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-21 17:25:36 -0700 |
| commit | a70575ae9e812908acf658ec785f81daeba1a23b (patch) | |
| tree | 12f8e171b26d3a0b84a86225afbcec622bc19840 /scripts/Makefile.thinlto | |
| parent | f16b8c6a656e62bfa7bb6a3b876f9ccdaf53bd43 (diff) | |
| download | linux-a70575ae9e812908acf658ec785f81daeba1a23b.tar.gz linux-a70575ae9e812908acf658ec785f81daeba1a23b.zip | |
selftests: net: veth: test XDP_TX to a peer with GRO enabled
Test that XDP_TX frames reach a peer that has GRO enabled and no XDP
program. GRO enables NAPI on the peer, so the frames are queued on the
peer's ring, and the peer's NAPI must be scheduled to process them.
Attach a program that returns XDP_TX for every frame, send 5 echo
requests and check that all of them were sent back and that the peer's
NAPI received them, as counted in its xdp_packets statistic. IPv6 is
disabled on both devices, so that only the echo requests are counted.
Add the program to xdp_dummy.bpf.c in a section of its own, so that the
tests that load "section xdp" still get XDP_PASS.
Signed-off-by: Tianyi Gao <tianyi@cloudflare.com>
Link: https://patch.msgid.link/20261016214217.16942-3-tianyi@cloudflare.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
