diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-10-01 17:15:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 15:15:57 +0200 |
commit | 239f163ceabb8ee176396476de7d2b6b5261af39 (patch) | |
tree | acb935230ccb7353beeb9fc923d0607f27ae1744 | |
parent | net: dsa: tag_ocelot: set the classified VLAN during xmit (diff) | |
download | linux-239f163ceabb8ee176396476de7d2b6b5261af39.tar.xz linux-239f163ceabb8ee176396476de7d2b6b5261af39.zip |
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 <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rwxr-xr-x | tools/testing/selftests/drivers/net/ocelot/tc_flower_chains.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 f7d84549cc3e..0e19b56effe6 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 |