From: Vladimir Oltean Date: Fri, 1 Oct 2021 15:15:29 +0000 (+0300) Subject: selftests: net: mscc: ocelot: bring up the ports automatically X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=239f163ceabb8ee176396476de7d2b6b5261af39;p=linux.git selftests: net: mscc: ocelot: bring up the ports automatically Looks like when I wrote the selftests I was using a network manager that brought up the ports automatically. In order to not rely on that, let the script open them up. Signed-off-by: Vladimir Oltean Signed-off-by: David S. Miller --- diff --git a/tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh b/tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh index f7d84549cc3e3..0e19b56effe67 100755 --- a/tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh +++ b/tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh @@ -156,6 +156,11 @@ create_tcam_skeleton() setup_prepare() { + ip link set $eth0 up + ip link set $eth1 up + ip link set $eth2 up + ip link set $eth3 up + create_tcam_skeleton $eth0 ip link add br0 type bridge