]> www.infradead.org Git - linux.git/commit
selftests: tc-testing: move back to per test ns setup
authorPedro Tammela <pctammela@mojatatu.com>
Fri, 17 Nov 2023 17:12:04 +0000 (14:12 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Nov 2023 02:06:36 +0000 (18:06 -0800)
commit50a5988a7a540fb1ad4e620e1bbf11cc646e3dc7
treeda8300234f0cb1e177a84348ac775766d52af62d
parent025de7b6a6dd44e78d0d45b4f3b4f104ed54b0fd
selftests: tc-testing: move back to per test ns setup

Surprisingly in kernel configs with most of the debug knobs turned on,
pre-allocating the test resources makes tdc run much slower overall than
when allocating resources on a per test basis.

As these knobs are used in kselftests in downstream CIs, let's go back
to the old way of doing things to avoid kselftests timeouts.

Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202311161129.3b45ed53-oliver.sang@intel.com
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://lore.kernel.org/r/20231117171208.2066136-3-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py