]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: add tcx netns cookie tests
authorMahe Tardy <mahe.tardy@gmail.com>
Mon, 7 Oct 2024 09:59:58 +0000 (09:59 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 8 Oct 2024 19:06:43 +0000 (12:06 -0700)
commit693fe954d61d4696aa06f631fd0bce0b3b3e8027
tree8565daea5e8f3eda086d5528413b996011cad59b
parenteb62f49de7eca5917be8cebb3ad8aa3710af7021
selftests/bpf: add tcx netns cookie tests

Add netns cookie test that verifies the helper is now supported and work
in the context of tc programs.

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Link: https://lore.kernel.org/r/20241007095958.97442-2-mahe.tardy@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/netns_cookie.c
tools/testing/selftests/bpf/progs/netns_cookie_prog.c