selftests: tc-testing: Pre-load IFE action and its submodules
authorVictor Nogueira <victor@mojatatu.com>
Mon, 7 Apr 2025 21:56:56 +0000 (18:56 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Apr 2025 23:15:52 +0000 (16:15 -0700)
Recently we had some issues in parallel TDC where some of IFE tests are
failing due to some of IFE's submodules (like act_meta_skbtcindex and
act_meta_skbprio) taking too long to load [1]. To avoid that issue,
pre-load IFE and all its submodules before running any of the tests in
tdc.sh

[1] https://lore.kernel.org/netdev/e909b2a0-244e-4141-9fa9-1b7d96ab7d71@mojatatu.com/T/#u

Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/20250407215656.2535990-1-victor@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tdc.sh

index cddff1772e1045bb5aa1c319472cdd638f1a1d5f..589b18ed758a6cca50ef62d58a5f596e4e293cbc 100755 (executable)
@@ -31,6 +31,10 @@ try_modprobe act_skbedit
 try_modprobe act_skbmod
 try_modprobe act_tunnel_key
 try_modprobe act_vlan
+try_modprobe act_ife
+try_modprobe act_meta_mark
+try_modprobe act_meta_skbtcindex
+try_modprobe act_meta_skbprio
 try_modprobe cls_basic
 try_modprobe cls_bpf
 try_modprobe cls_cgroup