]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: test_xdp_veth: Create struct net_configuration
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Wed, 12 Feb 2025 11:11:09 +0000 (12:11 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 18 Feb 2025 21:56:34 +0000 (13:56 -0800)
commit6bdac0e317e9265664d02c79d4f0fd3f80f50cdd
tree430d9913c7715fa3961cb2d57344641a57a89627
parent50b77eb514d4f2850c3b1fdcb7c790c642f5dc92
selftests/bpf: test_xdp_veth: Create struct net_configuration

The network configuration is defined by a table of struct
veth_configuration. This isn't convenient if we want to add a network
configuration that isn't linked to a veth pair.

Create a struct net_configuration that holds the veth_configuration
table to ease adding new configuration attributes in upcoming patch.

Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250212-redirect-multi-v5-1-fd0d39fca6e6@bootlin.com
tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c