Home
last modified time | relevance | path

Searched refs:vlan (Results 1 – 25 of 35) sorted by relevance

12

/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh81 local vlan=$1; shift
83 echo 192.0.2.$((16 * (vlan - 10) + host))
95 ip link set dev $dev.10 type vlan egress 0:0
98 ip link set dev $dev.11 type vlan egress 0:1
164 local vlan
178 for vlan in 10 11; do
179 vlan_create $intf $vlan
180 ip link set dev $intf.$vlan master br1_$vlan
181 ip link set dev $intf.$vlan up
186 for vlan in 10 11; do
[all …]
Dq_in_q_veto.sh55 ip link add name br0.100 link br0 type vlan \
59 ip link add name br0.100 link br0 type vlan \
73 ip link add name $swp1.100 link $swp1 type vlan \
77 ip link add name $swp1.100 link $swp1 type vlan \
95 ip link add name $swp1.100 link $swp1 type vlan \
99 ip link add name $swp1.100 link $swp1 type vlan \
117 ip link add name bond1.100 link bond1 type vlan \
121 ip link add name bond1.100 link bond1 type vlan \
162 ip link add name $swp1.100 link $swp1 type vlan id 100 2>/dev/null
165 ip link add name $swp1.100 link $swp1 type vlan id 100 2>&1 >/dev/null \
[all …]
Ddevlink_trap_l2_drops.sh125 bridge vlan add vid 1 dev $swp1 untagged master
136 bridge vlan add vid 1 dev $swp1 pvid untagged master
183 bridge vlan add vid $vid dev $swp2 master
197 bridge vlan add vid $vid dev $swp1 master
214 bridge vlan del vid $vid dev $swp1 master
215 bridge vlan del vid $vid dev $swp2 master
226 bridge vlan add vid $vid dev $swp2 master
227 bridge vlan add vid $vid dev $swp1 master
255 bridge vlan del vid $vid dev $swp1 master
256 bridge vlan del vid $vid dev $swp2 master
Dvxlan.sh750 bridge vlan del dev vxlan0 vid $vid
756 bridge vlan add dev vxlan0 vid $vid
762 bridge vlan add dev vxlan0 vid $vid pvid untagged
847 bridge vlan add vid 10 dev vxlan10 pvid untagged
848 bridge vlan add vid 20 dev vxlan20 pvid untagged
859 bridge vlan add vid 10 dev vxlan20 pvid untagged &> /dev/null
870 bridge vlan del vid 20 dev vxlan20 pvid untagged
871 bridge vlan add vid 10 dev vxlan20 pvid untagged
878 bridge vlan del vid 10 dev vxlan20
879 bridge vlan add vid 20 dev vxlan20 pvid untagged
[all …]
Drtnetlink.sh219 ip link add link br0 name br0.10 type vlan id 10
224 ip link add link br0 name br0.20 type vlan id 20
245 ip link add link br0 name br0.10 type vlan id 10
248 ip link add link br0 name br0.20 type vlan id 20
271 bridge vlan add vid 10 dev $swp1 pvid untagged
272 bridge vlan add vid 10 dev $swp1 untagged
273 bridge vlan add vid 10 dev $swp1 pvid
274 bridge vlan add vid 10 dev $swp1
295 ip link add link $swp1 name $swp1.1 type vlan id 1
338 bridge vlan add vid 10 dev $swp1
[all …]
Dqos_pfc.sh168 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1
185 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
202 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
224 ip link set dev $swp4.111 type vlan ingress-qos-map 0:0 1:1
/tools/testing/selftests/net/forwarding/
Dsch_tbf_core.sh52 local vlan=$1; shift
54 echo 192.0.2.$((16 * (vlan - 10) + host))
66 ip link set dev $dev.10 type vlan egress 0:0
69 ip link set dev $dev.11 type vlan egress 0:1
112 local vlan
121 for vlan in 10 11; do
122 vlan_create $intf $vlan
123 ip link set dev $intf.$vlan master br$vlan
124 ip link set dev $intf.$vlan up
128 for vlan in 10 11; do
[all …]
Dtc_vlan_modify.sh48 bridge vlan add dev $swp1 vid 85
49 bridge vlan add dev $swp2 vid 65
51 bridge vlan add dev $swp2 vid 85
52 bridge vlan add dev $swp1 vid 65
63 bridge vlan del vid 65 dev $swp1
64 bridge vlan del vid 85 dev $swp2
66 bridge vlan del vid 65 dev $swp2
67 bridge vlan del vid 85 dev $swp1
114 flower action vlan modify id 65
116 flower action vlan modify id 85
[all …]
Dvxlan_symmetric.sh187 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
219 ip link add link br1 name vlan10 up master vrf-green type vlan id 10
225 ip link add link br1 name vlan20 up master vrf-green type vlan id 20
232 type vlan id 4001
234 bridge vlan add vid 10 dev br1 self
235 bridge vlan add vid 20 dev br1 self
[all …]
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
231 bridge vlan add dev $swp3 vid 555 pvid untagged
239 bridge vlan add dev $swp3 vid 555
273 bridge fdb del dev $swp3 $h3mac vlan 555 master 2>/dev/null
[all …]
Dvxlan_asymmetric.sh177 bridge vlan add vid 10 dev vx10 pvid untagged
185 bridge vlan add vid 20 dev vx20 pvid untagged
189 bridge vlan add vid 10 dev $swp1 pvid untagged
193 bridge vlan add vid 20 dev $swp2 pvid untagged
201 ip link add link br1 name vlan10 up master vrf-green type vlan id 10
207 ip link add link br1 name vlan20 up master vrf-green type vlan id 20
213 bridge vlan add vid 10 dev br1 self
214 bridge vlan add vid 20 dev br1 self
216 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 10
217 bridge fdb add 00:00:5e:00:01:01 dev br1 self local vlan 20
[all …]
Dvxlan_bridge_1q.sh170 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
205 bridge vlan del vid 20 dev $swp2
206 bridge vlan del vid 10 dev $swp2
210 bridge vlan del vid 20 dev $swp1
211 bridge vlan del vid 10 dev $swp1
[all …]
Drouter_bridge_vlan.sh50 bridge vlan add dev br1 vid 555 self pvid untagged
51 bridge vlan add dev $swp1 vid 555
103 vlan() function
107 bridge vlan add dev br1 vid 333 self
109 bridge vlan del dev br1 vid 333 self
Dbridge_vlan_aware.sh105 bridge vlan add vid 10 dev $swp1
106 bridge vlan del vid 10 dev $swp1
120 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
140 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
141 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null
Dtc_mpls_l2vpn.sh85 action vlan push_eth dst_mac $mpls2mac src_mac $mpls1mac \
93 action vlan pop_eth \
114 action vlan push_eth dst_mac $mpls1mac src_mac $mpls2mac \
122 action vlan pop_eth \
Dq_in_vni.sh154 bridge vlan add vid 100 dev vx100 pvid untagged
158 bridge vlan add vid 100 dev $swp1 pvid untagged
162 bridge vlan add vid 100 dev $swp2 pvid untagged
173 bridge vlan del vid 100 dev $swp2
177 bridge vlan del vid 100 dev $swp1
229 bridge vlan add vid 100 dev w1 pvid untagged
240 bridge vlan add vid 100 dev vx100 pvid untagged
Dmirror_gre_vlan.sh34 ip link add name $swp3.555 link $swp3 type vlan id 555
42 ip link add name $h3.555 link $h3 type vlan id 555
Ddual_vxlan_bridge.sh156 bridge vlan add vid 100 dev vx100 pvid untagged
160 bridge vlan add vid 100 dev $swp1 pvid untagged
170 ip link add name $swp2.20 link $swp2 type vlan id 20
191 bridge vlan del vid 100 dev $swp1
273 in_ns ns1 bridge vlan add vid 100 dev vx100 pvid untagged
290 in_ns ns2 ip link add name w1.20 link w1 type vlan id 20
Dmirror_gre_bridge_1q.sh68 bridge vlan add dev br1 vid 555 pvid untagged self
77 bridge vlan add dev $swp3 vid 555
Dmirror_vlan.sh39 bridge vlan add dev $swp1 vid 111
42 bridge vlan add dev $swp2 vid 111
Drouter_vid_1.sh59 ip link add link $rp1 name $rp1.1 up type vlan id 1
65 ip link add link $rp2 name $rp2.1 up type vlan id 1
Dsch_ets_core.sh172 ip link set dev $h1.1$i type vlan egress 0:$i
221 ip link set dev $swp1.1$i type vlan ingress 0:0 1:1 2:2
/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh166 ip link add link $eth3 name $eth3.100 type vlan id 100
169 ip link add link $eth3 name $eth3.200 type vlan id 200
174 action vlan pop \
179 action vlan push protocol 802.1Q id 100
250 bridge vlan add dev $eth0 vid 200
251 bridge vlan add dev $eth0 vid 300
252 bridge vlan add dev $eth1 vid 300
256 action vlan modify id 300 \
277 bridge vlan del dev $eth0 vid 200
278 bridge vlan del dev $eth0 vid 300
[all …]
/tools/testing/selftests/bpf/progs/
Dbpf_flow.c393 struct vlan_hdr *vlan, _vlan; in PROG() local
397 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
398 if (!vlan) in PROG()
401 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
404 keys->nhoff += sizeof(*vlan); in PROG()
405 keys->thoff += sizeof(*vlan); in PROG()
408 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
409 if (!vlan) in PROG()
412 keys->nhoff += sizeof(*vlan); in PROG()
413 keys->thoff += sizeof(*vlan); in PROG()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dq_in_vni_veto.sh46 bridge vlan add vid 100 dev vx100 pvid untagged 2>/dev/null
49 bridge vlan add vid 100 dev vx100 pvid untagged 2>&1 >/dev/null \

12