aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorCiara Loftus <[email protected]>2021-02-23 16:23:03 +0000
committerAlexei Starovoitov <[email protected]>2021-02-26 12:08:48 -0800
commitd3e3bf5b4c673e79c5a11608f53d4e0059a7ec79 (patch)
tree0c78987200848093168c47fdf8e03aade77056a3 /tools/perf/scripts/python/net_dropmonitor.py
parentd2b0dfd5d1f94fe74ed580b5a1d5fdb5bf11f2fb (diff)
selftests/bpf: Restructure xsk selftests
Prior to this commit individual xsk tests were launched from the shell script 'test_xsk.sh'. When adding a new test type, two new test configurations had to be added to this file - one for each of the supported XDP 'modes' (skb or drv). Should zero copy support be added to the xsk selftest framework in the future, three new test configurations would need to be added for each new test type. Each new test type also typically requires new CLI arguments for the xdpxceiver program. This commit aims to reduce the overhead of adding new tests, by launching the test configurations from within the xdpxceiver program itself, using simple loops. Every test is run every time the C program is executed. Many of the CLI arguments can be removed as a result. Signed-off-by: Ciara Loftus <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Reviewed-by: Maciej Fijalkowski <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions