]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: test_xdp_veth: Add XDP flags to prog_configuration
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Fri, 31 Jan 2025 07:21:47 +0000 (08:21 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 3 Feb 2025 11:33:52 +0000 (03:33 -0800)
commit450effe2daffb679889f3d57a1309f1efc69202b
treefb78beb88f2972b2bd82de341e63de80464915de
parentedb996fae276927df96c3c332e18a658bc0f2492
selftests/bpf: test_xdp_veth: Add XDP flags to prog_configuration

XDP flags are hardcoded to 0 at attachment.

Add flags attributes to the struct prog_configuration to allow flag
modifications for each test case.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250131-redirect-multi-v4-8-970b33678512@bootlin.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c