aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/config
diff options
context:
space:
mode:
authorLi Zhijian <zhijianx.li@intel.com>2021-12-03 10:53:23 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-03 11:46:41 +0000
commitdb925bca33a9f0029a9891defd926a4856dd5c87 (patch)
treeaeb4a24f1eb2c9dce7d812611e3c6666304e77fc /tools/testing/selftests/tc-testing/config
parentselftests/tc-testing: add missing config (diff)
downloadlinux-dev-db925bca33a9f0029a9891defd926a4856dd5c87.tar.xz
linux-dev-db925bca33a9f0029a9891defd926a4856dd5c87.zip
selftests/tc-testing: Fix cannot create /sys/bus/netdevsim/new_device: Directory nonexistent
Install netdevsim to provide /sys/bus/netdevsim/new_device interface. It helps to fix: # ok 97 9a7d - Change ETS strict band without quantum # skipped - skipped - previous setup failed 11 ce7d # # # -----> prepare stage *** Could not execute: "echo "1 1 4" > /sys/bus/netdevsim/new_device" # # -----> prepare stage *** Error message: "/bin/sh: 1: cannot create /sys/bus/netdevsim/new_device: Directory nonexistent # " # # -----> prepare stage *** Aborting test run. # # # <_io.BufferedReader name=5> *** stdout *** # Signed-off-by: Li Zhijian <zhijianx.li@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/config')
-rw-r--r--tools/testing/selftests/tc-testing/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/tc-testing/config b/tools/testing/selftests/tc-testing/config
index b1cd7efa4512..a3239d5e40c7 100644
--- a/tools/testing/selftests/tc-testing/config
+++ b/tools/testing/selftests/tc-testing/config
@@ -61,6 +61,7 @@ CONFIG_NET_SCH_FIFO=y
CONFIG_NET_SCH_ETS=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_FQ_PIE=m
+CONFIG_NETDEVSIM=m
#
## Network testing