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>
This commit is contained in:
Vladimir Oltean 2021-10-01 18:15:29 +03:00 коммит произвёл David S. Miller
Родитель 5ca721c54d
Коммит 239f163cea
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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