Home
last modified time | relevance | path

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

/tools/testing/selftests/net/forwarding/
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
Dmirror_gre_bridge_1q.sh68 bridge vlan add dev br1 vid 555 pvid untagged self
77 bridge vlan add dev $swp3 vid 555
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
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
Dbridge_sticky_fdb.sh53 bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky
Dlib.sh456 ip link add name $name link $if_name type vlan id $vid
/tools/testing/selftests/bpf/progs/
Dbpf_flow.c391 struct vlan_hdr *vlan, _vlan; in PROG() local
395 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
396 if (!vlan) in PROG()
399 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
402 keys->nhoff += sizeof(*vlan); in PROG()
403 keys->thoff += sizeof(*vlan); in PROG()
406 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
407 if (!vlan) in PROG()
410 keys->nhoff += sizeof(*vlan); in PROG()
411 keys->thoff += sizeof(*vlan); in PROG()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh211 ip link add link br0 name br0.10 type vlan id 10
216 ip link add link br0 name br0.20 type vlan id 20
237 ip link add link br0 name br0.10 type vlan id 10
240 ip link add link br0 name br0.20 type vlan id 20
263 bridge vlan add vid 10 dev $swp1 pvid untagged
264 bridge vlan add vid 10 dev $swp1 untagged
265 bridge vlan add vid 10 dev $swp1 pvid
266 bridge vlan add vid 10 dev $swp1
287 ip link add link $swp1 name $swp1.1 type vlan id 1
330 bridge vlan add vid 10 dev $swp1
[all …]
Ddevlink_trap_l2_drops.sh167 bridge vlan add vid 1 dev $swp1 untagged master
178 bridge vlan add vid 1 dev $swp1 pvid untagged master
226 bridge vlan add vid $vid dev $swp2 master
240 bridge vlan add vid $vid dev $swp1 master
257 bridge vlan del vid $vid dev $swp1 master
258 bridge vlan del vid $vid dev $swp2 master
270 bridge vlan add vid $vid dev $swp2 master
271 bridge vlan add vid $vid dev $swp1 master
299 bridge vlan del vid $vid dev $swp1 master
300 bridge vlan del vid $vid dev $swp2 master
Dvxlan.sh728 bridge vlan del dev vxlan0 vid $vid
734 bridge vlan add dev vxlan0 vid $vid
740 bridge vlan add dev vxlan0 vid $vid pvid untagged
823 bridge vlan add vid 10 dev vxlan10 pvid untagged
824 bridge vlan add vid 20 dev vxlan20 pvid untagged
835 bridge vlan add vid 10 dev vxlan20 pvid untagged &> /dev/null
846 bridge vlan del vid 20 dev vxlan20 pvid untagged
847 bridge vlan add vid 10 dev vxlan20 pvid untagged
854 bridge vlan del vid 10 dev vxlan20
855 bridge vlan add vid 20 dev vxlan20 pvid untagged
[all …]
Dextack.sh93 bridge vlan add dev vx1 vid 1
99 bridge vlan add dev vx1 vid 1 pvid untagged 2>&1 >/dev/null \
123 bridge vlan del dev $swp1 vid 1
128 bridge vlan add dev $swp1 vid 1 pvid untagged 2>&1 >/dev/null \
Dqos_ets_strict.sh64 ip link set dev $h1.111 type vlan egress-qos-map 0:1
81 ip link set dev $h2.222 type vlan egress-qos-map 0:2
Dqos_mc_aware.sh91 ip link set dev $h2.111 type vlan egress-qos-map 0:1
/tools/testing/selftests/bpf/
Dtest_xdp_vlan.sh179 ip netns exec ns2 ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
/tools/include/uapi/linux/
Dif_link.h715 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */ member
730 __u32 vlan; /* 0 - 4095, 0 disables VLAN filter */ member
/tools/testing/selftests/net/
Drtnetlink.sh79 ip link add link "$devbr" name "$vlandev" type vlan id 1
430 vlan="test-vlan0"
447 ip -netns "$testns" link add link "$vxlan" name "$vlan" type vlan id 1
Dfcnal-test.sh3353 setup_cmd ip li add br0.100 link br0 type vlan id 100
3358 setup_cmd_nsb ip li add vlan100 link ${NSB_DEV} type vlan id 100