summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-09-06 14:45:35 -0700
committerJakub Kicinski <kuba@kernel.org>2025-09-09 16:26:44 -0700
commit1c0353a6df82c0de6e6527b807f6a1b0140bfe8a (patch)
treef08c482cb84ca5ef74b96d6bacd2c3d65ce79b11 /tools/perf/scripts/python/libxed.py
parenta12fd5c31b7894b6d1d7206bdefe869b5bed6e22 (diff)
selftests: net: speed up pmtu.sh by avoiding unnecessary cleanup
The pmtu test takes nearly an hour when run on a debug kernel (10min on a normal kernel, so the debug slow down is quite significant). NIPA tries to ensure all results are delivered by a certain deadline so this prevents it from retrying the test in case of a flake. Looks like one of the slowest operations in the test is calling out to ./openvswitch/ovs-dpctl.py to remove potential leftover OvS interfaces. Check whether the interfaces exist in the first place in sysfs, since it can be done directly in bash it is very fast. This should save us around 20-30% of the test runtime. Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250906214535.3204785-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions