aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2022-09-01 13:48:13 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2022-09-02 15:38:08 +0200
commitfe2ad08e1e1df77b6941916b87d4871d751b88b6 (patch)
treec41871e800a7c4cd61b5e6311fa03af9a5bb7415 /tools/testing/selftests/bpf/prog_tests
parentselftests/xsk: Make sure single threaded test terminates (diff)
downloadlinux-dev-fe2ad08e1e1df77b6941916b87d4871d751b88b6.tar.xz
linux-dev-fe2ad08e1e1df77b6941916b87d4871d751b88b6.zip
selftests/xsk: Add support for zero copy testing
Introduce new mode to xdpxceiver responsible for testing AF_XDP zero copy support of driver that serves underlying physical device. When setting up test suite, determine whether driver has ZC support or not by trying to bind XSK ZC socket to the interface. If it succeeded, interpret it as ZC support being in place and do softirq and busy poll tests for zero copy mode. Note that Rx dropped tests are skipped since ZC path is not touching rx_dropped stat at all. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/bpf/20220901114813.16275-7-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions