On Wed, Jun 09, 2021 at 01:55:37PM +0000, Jussi Maki wrote: > Add a test suite to test XDP bonding implementation > over a pair of veth devices. Cc: Magnus Jussi, AF_XDP selftests have very similar functionality just like you are trying to introduce over here, e.g. we setup veth pair and generate traffic. After a quick look seems that we could have a generic layer that would be used by both AF_XDP and bonding selftests. WDYT? > > Signed-off-by: Jussi Maki <joamaki@xxxxxxxxx> > --- > .../selftests/bpf/prog_tests/xdp_bonding.c | 342 ++++++++++++++++++ > tools/testing/selftests/bpf/vmtest.sh | 30 +- > 2 files changed, 360 insertions(+), 12 deletions(-) > create mode 100644 tools/testing/selftests/bpf/prog_tests/xdp_bonding.c