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:
Родитель
5ca721c54d
Коммит
239f163cea
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче