Commit 239f163c authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

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: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ca721c5
...@@ -156,6 +156,11 @@ create_tcam_skeleton() ...@@ -156,6 +156,11 @@ create_tcam_skeleton()
setup_prepare() 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 create_tcam_skeleton $eth0
ip link add br0 type bridge ip link add br0 type bridge
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment