Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 25 of 125) sorted by relevance

12345

/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \
69 bridge vlan add vid 10 dev br0 self
70 bridge vlan add vid 20 dev br0 self
75 bridge vlan add vid 10 dev $swp1
76 bridge vlan add vid 20 dev $swp1
80 bridge vlan add vid 10 dev $swp2
81 bridge vlan add vid 20 dev $swp2
92 bridge vlan del vid 20 dev $swp2
93 bridge vlan del vid 10 dev $swp2
97 bridge vlan del vid 20 dev $swp1
[all …]
Dbridge_locked_port.sh45 ip link add dev br0 type bridge vlan_filtering 1
50 bridge link set dev $swp1 learning off
102 bridge link set dev $swp1 locked on
107 bridge fdb add `mac_get $h1` dev $swp1 master static
112 bridge link set dev $swp1 locked off
113 bridge fdb del `mac_get $h1` dev $swp1 master static
127 bridge vlan add vid 100 dev $swp1
128 bridge vlan add vid 100 dev $swp2
133 bridge link set dev $swp1 locked on
137 bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static
[all …]
Dbridge_vlan_mcast.sh40 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1
52 bridge vlan add vid 10-11 dev $swp1 master
53 bridge vlan add vid 10-11 dev $swp2 master
55 ip link set dev br0 type bridge mcast_vlan_snooping 1
108 bridge -j mdb show dev br0 |
120 bridge -j mdb show dev br0 |
130 local goutput=`bridge -j vlan global show`
144 bridge vlan global set vid 10 dev br0 mcast_snooping 0
176 ip link set dev br0 type bridge mcast_stats_enabled 1
183 ip link set dev br0 type bridge mcast_stats_enabled 0
[all …]
Dbridge_mld.sh89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
145 ip link set dev br0 type bridge mcast_mld_version 2
150 bridge -j -d -s mdb show dev br0 \
154 bridge -j -d -s mdb show dev br0 \
175 bridge -j -d -s mdb show dev br0 \
186 bridge -j -d -s mdb show dev br0 \
198 bridge mdb del dev br0 port $port grp $TEST_GROUP
199 ip link set dev br0 type bridge mcast_mld_version 1
283 ip link set dev br0 type bridge mcast_last_member_interval 500
288 bridge -j -d -s mdb show dev br0 \
[all …]
Dvxlan_bridge_1q.sh154 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \
170 bridge vlan add vid 10 dev vx10 pvid untagged
178 bridge vlan add vid 20 dev vx20 pvid untagged
182 bridge vlan add vid 10 dev $swp1
183 bridge vlan add vid 20 dev $swp1
187 bridge vlan add vid 10 dev $swp2
188 bridge vlan add vid 20 dev $swp2
190 bridge fdb append dev vx10 00:00:00:00:00:00 dst 192.0.2.34 self
191 bridge fdb append dev vx10 00:00:00:00:00:00 dst 192.0.2.50 self
193 bridge fdb append dev vx20 00:00:00:00:00:00 dst 192.0.2.34 self
[all …]
Dbridge_igmp.sh59 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
112 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
121 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
128 bridge mdb show dev br0 | grep $TEST_GROUP 1>/dev/null
144 ip link set dev br0 type bridge mcast_igmp_version 3
149 bridge -j -d -s mdb show dev br0 \
153 bridge -j -d -s mdb show dev br0 \
174 bridge -j -d -s mdb show dev br0 \
185 bridge -j -d -s mdb show dev br0 \
198 bridge mdb del dev br0 port $port grp $group
[all …]
Dvxlan_bridge_1q_ipv6.sh167 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \
184 bridge vlan add vid 10 dev vx10 pvid untagged
192 bridge vlan add vid 20 dev vx20 pvid untagged
197 bridge vlan add vid 10 dev $swp1
198 bridge vlan add vid 20 dev $swp1
202 bridge vlan add vid 10 dev $swp2
203 bridge vlan add vid 20 dev $swp2
205 bridge fdb append dev vx10 00:00:00:00:00:00 dst 2001:db8:4::1 self
206 bridge fdb append dev vx10 00:00:00:00:00:00 dst 2001:db8:5::1 self
208 bridge fdb append dev vx20 00:00:00:00:00:00 dst 2001:db8:4::1 self
[all …]
Drouter_bridge_vlan_upper.sh70 type bridge vlan_filtering 1
78 bridge vlan add dev br1 vid 555 self
79 bridge vlan add dev br1 vid 777 self
80 bridge vlan add dev $swp1 vid 555
81 bridge vlan add dev $swp2 vid 777
92 bridge vlan del dev $swp2 vid 777
93 bridge vlan del dev $swp1 vid 555
94 bridge vlan del dev br1 vid 777 self
95 bridge vlan del dev br1 vid 555 self
158 bridge vlan add dev $swp1 vid 555
[all …]
Dbridge_vlan_aware.sh31 ip link add dev br0 type bridge \
106 bridge vlan add vid 10 dev $swp1
107 bridge vlan del vid 10 dev $swp1
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
Drouter_bridge_vlan_upper_pvid.sh70 type bridge vlan_filtering 1 vlan_default_pvid 0
79 bridge vlan add dev br1 vid 10 self
80 bridge vlan add dev $swp1 vid 10
87 bridge vlan del dev $swp1 vid 10
88 bridge vlan del dev br1 vid 10 self
121 bridge vlan add dev br1 vid 10 pvid self
123 bridge vlan add dev br1 vid 10 self
130 bridge vlan add dev br1 vid 10 pvid self
132 bridge vlan add dev br1 vid 20 pvid self
Dmirror_gre_vlan_bridge_1q.sh96 bridge vlan add dev br1 vid 555 self
104 bridge vlan add dev $swp3 vid 555
105 bridge vlan add dev $swp2 vid 555
160 bridge vlan del dev br1 vid 555 self
164 bridge vlan add dev br1 vid 555 self
193 bridge vlan del dev $swp3 vid 555
197 bridge vlan add dev $swp3 vid 555
232 bridge vlan add dev $swp3 vid 555 pvid untagged
240 bridge vlan add dev $swp3 vid 555
274 bridge fdb del dev $swp3 $h3mac vlan 555 master 2>/dev/null
[all …]
Dvxlan_symmetric_ipv6.sh172 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \
189 bridge vlan add vid 10 dev vx10 pvid untagged
197 bridge vlan add vid 20 dev vx20 pvid untagged
211 bridge vlan add vid 4001 dev vx4001 pvid untagged
234 bridge vlan add vid 10 dev br1 self
235 bridge vlan add vid 20 dev br1 self
236 bridge vlan add vid 4001 dev br1 self
238 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 10
239 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 20
241 bridge vlan add vid 10 dev $swp1 pvid untagged
[all …]
Dvxlan_symmetric.sh170 ip link add name br1 type bridge vlan_filtering 1 vlan_default_pvid 0 \
187 bridge vlan add vid 10 dev vx10 pvid untagged
195 bridge vlan add vid 20 dev vx20 pvid untagged
199 bridge vlan add vid 10 dev $swp1 pvid untagged
203 bridge vlan add vid 20 dev $swp2 pvid untagged
211 bridge vlan add vid 4001 dev vx4001 pvid untagged
234 bridge vlan add vid 10 dev br1 self
235 bridge vlan add vid 20 dev br1 self
236 bridge vlan add vid 4001 dev br1 self
238 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 10
[all …]
/tools/testing/selftests/drivers/net/dsa/
Dbridge_mdb.sh67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \
69 bridge vlan add vid 10 dev br0 self
70 bridge vlan add vid 20 dev br0 self
75 bridge vlan add vid 10 dev $swp1
76 bridge vlan add vid 20 dev $swp1
80 bridge vlan add vid 10 dev $swp2
81 bridge vlan add vid 20 dev $swp2
92 bridge vlan del vid 20 dev $swp2
93 bridge vlan del vid 10 dev $swp2
97 bridge vlan del vid 20 dev $swp1
[all …]
Dbridge_locked_port.sh45 ip link add dev br0 type bridge vlan_filtering 1
50 bridge link set dev $swp1 learning off
102 bridge link set dev $swp1 locked on
107 bridge fdb add `mac_get $h1` dev $swp1 master static
112 bridge link set dev $swp1 locked off
113 bridge fdb del `mac_get $h1` dev $swp1 master static
127 bridge vlan add vid 100 dev $swp1
128 bridge vlan add vid 100 dev $swp2
133 bridge link set dev $swp1 locked on
137 bridge fdb add `mac_get $h1` dev $swp1 vlan 100 master static
[all …]
Dbridge_vlan_mcast.sh40 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 vlan_filtering 1
52 bridge vlan add vid 10-11 dev $swp1 master
53 bridge vlan add vid 10-11 dev $swp2 master
55 ip link set dev br0 type bridge mcast_vlan_snooping 1
108 bridge -j mdb show dev br0 |
120 bridge -j mdb show dev br0 |
130 local goutput=`bridge -j vlan global show`
144 bridge vlan global set vid 10 dev br0 mcast_snooping 0
176 ip link set dev br0 type bridge mcast_stats_enabled 1
183 ip link set dev br0 type bridge mcast_stats_enabled 0
[all …]
Dbridge_mld.sh89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
145 ip link set dev br0 type bridge mcast_mld_version 2
150 bridge -j -d -s mdb show dev br0 \
154 bridge -j -d -s mdb show dev br0 \
175 bridge -j -d -s mdb show dev br0 \
186 bridge -j -d -s mdb show dev br0 \
198 bridge mdb del dev br0 port $port grp $TEST_GROUP
199 ip link set dev br0 type bridge mcast_mld_version 1
283 ip link set dev br0 type bridge mcast_last_member_interval 500
288 bridge -j -d -s mdb show dev br0 \
[all …]
Dbridge_vlan_aware.sh31 ip link add dev br0 type bridge \
106 bridge vlan add vid 10 dev $swp1
107 bridge vlan del vid 10 dev $swp1
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
Dtest_bridge_fdb_stress.sh35 ip link add br0 type bridge && ip link set $eth master br0
38 bridge fdb add 00:01:02:03:04:05 dev $eth master static
39 bridge fdb del 00:01:02:03:04:05 dev $eth master static
44 bridge fdb show > /dev/null
/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh89 ip link add dev br0 type bridge mcast_snooping 0
106 ip link add dev br0 type bridge mcast_snooping 0 vlan_filtering 1
123 ip link add dev br0 type bridge
140 ip link add dev br0 type bridge mcast_snooping 0
160 ip link add dev br0 type bridge mcast_snooping 0
177 ip link add dev br0 type bridge mcast_snooping 0
194 ip link add dev br0 type bridge mcast_snooping 0
213 ip link add dev br0 type bridge mcast_snooping 0
231 ip link add dev br0 type bridge mcast_snooping 0
248 ip link add dev br0 type bridge mcast_snooping 0
[all …]
Ddevlink_trap_l2_drops.sh46 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
126 bridge vlan add vid 1 dev $swp1 untagged master
137 bridge vlan add vid 1 dev $swp1 pvid untagged master
184 bridge vlan add vid $vid dev $swp2 master
198 bridge vlan add vid $vid dev $swp1 master
215 bridge vlan del vid $vid dev $swp1 master
216 bridge vlan del vid $vid dev $swp2 master
227 bridge vlan add vid $vid dev $swp2 master
228 bridge vlan add vid $vid dev $swp1 master
256 bridge vlan del vid $vid dev $swp1 master
[all …]
Dvxlan_fdb_veto.sh38 ip link add dev br0 type bridge mcast_snooping 0
67 bridge fdb add 01:02:03:04:05:06 dev vxlan0 self static \
71 bridge fdb add 01:02:03:04:05:06 dev vxlan0 self static \
82 bridge fdb add 00:01:02:03:04:05 dev vxlan0 self static \
86 bridge fdb replace 00:01:02:03:04:05 dev vxlan0 self static \
90 bridge fdb replace 00:01:02:03:04:05 dev vxlan0 self static \
102 bridge fdb add 00:00:00:00:00:00 dev vxlan0 self static \
106 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self static \
110 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self static \
/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dvxlan_flooding_ipv6.sh60 ip link add dev br0 type bridge mcast_snooping 0
165 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self \
239 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::12
240 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::13
241 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::14
242 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::15
243 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::16
253 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::2
254 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::3
255 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::4
[all …]
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dvxlan_flooding_ipv6.sh60 ip link add dev br0 type bridge mcast_snooping 0
176 bridge fdb append 00:00:00:00:00:00 dev vxlan0 self \
256 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::10
257 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::11
258 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::12
259 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::13
269 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::2
270 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::3
271 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::4
272 bridge fdb del 00:00:00:00:00:00 dev vxlan0 self dst 2001:db8:2::5
[all …]
/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh148 ip link add br0 type bridge
243 ip link set br0 type bridge vlan_filtering 1
244 bridge vlan add dev $swp1 vid 200
245 bridge vlan add dev $swp1 vid 300
246 bridge vlan add dev $swp2 vid 300
268 bridge vlan del dev $swp1 vid 200
269 bridge vlan del dev $swp1 vid 300
270 bridge vlan del dev $swp2 vid 300
271 ip link set br0 type bridge vlan_filtering 0
285 ip link set br0 type bridge vlan_filtering 1
[all …]

12345