Lines Matching +full:- +full:set

2 # SPDX-License-Identifier: GPL-2.0
22 ip link set dev $swp1 up
23 ip link set dev $swp2 up
30 ip link set dev $swp2 down
31 ip link set dev $swp1 down
39 ip link set dev br1 addrgenmode none
40 ip link set dev br1 up
45 ip link set dev vx1 master br1
48 ip link set dev $swp1 master br1
52 ip link set dev br2 addrgenmode none
53 ip link set dev br2 up
58 ip link set dev vx2 master br2
61 ip link set dev $swp2 master br2
66 ip link set dev vx2 down
67 ip link set dev vx2 type vxlan ttl 200
69 ip link set dev vx2 up &>/dev/null
72 ip link set dev vx2 up 2>&1 >/dev/null | grep -q mlxsw_spectrum
75 log_test "extack - NETDEV_PRE_UP"
89 ip link set dev br1 addrgenmode none
90 ip link set dev br1 up
97 ip link set dev vx1 master br1
103 ip link set dev $swp1 master br1
107 | grep -q mlxsw_spectrum
110 log_test "extack - map VLAN at VXLAN device"
125 # Test with VLAN-aware bridge.
127 ip link set dev br1 addrgenmode none
128 ip link set dev br1 up
130 ip link set dev vx1 master br1
132 ip link set dev $swp1 master br1 2>&1 > /dev/null \
133 | grep -q mlxsw_spectrum
136 # Test with VLAN-unaware bridge.
137 ip link set dev br1 type bridge vlan_filtering 0
139 ip link set dev $swp1 master br1 2>&1 > /dev/null \
140 | grep -q mlxsw_spectrum
143 log_test "extack - bridge creation with VXLAN"
154 ip link set dev br1 addrgenmode none
155 ip link set dev br1 up
157 ip link set dev br2 addrgenmode none
158 ip link set dev br2 up
160 ip link set dev $swp1 master br1
163 # Only one VLAN-aware bridge is supported, so this should fail with
165 ip link set dev $swp2 master br2 2>&1 > /dev/null \
166 | grep -q mlxsw_spectrum
169 log_test "extack - multiple VLAN-aware bridges creation"