Home
last modified time | relevance | path

Searched refs:swp1 (Results 1 – 25 of 49) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh40 swp1=${NETIFS[p1]}
43 ip link set dev $swp1 up
52 ip link set dev $swp1 down
57 local swp1_mac=$(mac_get $swp1)
64 ip addr flush dev $swp1
68 ip addr add dev $swp1 192.0.2.1/28
71 ip link set dev $swp1 addr 00:11:22:33:44:55
98 ip addr del dev $swp1 192.0.2.1/28
101 ip link set dev $swp1 addr $swp1_mac
111 ip link set dev $swp1 master vrf-test
[all …]
Dqos_ets_strict.sh112 ip link set dev $swp1 up
113 mtu_set $swp1 10000
135 vlan_create $swp1 111
141 ip link set dev $swp1.111 master br111
153 devlink_port_pool_th_set $swp1 0 6
154 devlink_tc_bind_pool_th_set $swp1 1 ingress 0 6
173 devlink_tc_bind_pool_th_restore $swp1 1 ingress
174 devlink_port_pool_th_restore $swp1 0
185 vlan_destroy $swp1 111
195 mtu_restore $swp1
[all …]
Dmirror_gre.sh74 swp1=${NETIFS[p2]}
121 mirror_install $swp1 ingress $tundev "matchall $tcflags"
127 mirror_uninstall $swp1 ingress
141 mirror_install $swp1 ingress $tundev "matchall $tcflags"
146 mirror_uninstall $swp1 ingress
159 mirror_install $swp1 ingress $tundev "matchall $tcflags"
165 mirror_uninstall $swp1 ingress
180 slow_path_trap_install $swp1 ingress
181 slow_path_trap_install $swp1 egress
185 slow_path_trap_uninstall $swp1 egress
[all …]
Dqos_mc_aware.sh120 ip link set dev $swp1 up
121 mtu_set $swp1 10000
138 ip link set dev $swp1 master br1
148 devlink_port_pool_th_set $swp1 0 5
149 devlink_tc_bind_pool_th_set $swp1 0 ingress 0 5
164 devlink_tc_bind_pool_th_restore $swp1 0 ingress
165 devlink_port_pool_th_restore $swp1 0
182 mtu_restore $swp1
183 ip link set dev $swp1 down
189 swp1=${NETIFS[p2]}
[all …]
Done_armed_router.sh89 ip link set dev $swp1 master br0
90 ip link set dev $swp1 up
94 tc qdisc add dev $swp1 clsact
107 tc qdisc del dev $swp1 clsact
111 ip link set dev $swp1 down
112 ip link set dev $swp1 nomaster
134 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
151 tc_check_packets "dev $swp1 ingress" 101 10
172 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
177 tc filter add dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower \
[all …]
Ddevlink_trap_l2_drops.sh47 ip link set dev $swp1 master br0
51 ip link set dev $swp1 up
62 ip link set dev $swp1 down
70 swp1=${NETIFS[p2]}
127 bridge vlan add vid 1 dev $swp1 untagged master
138 bridge vlan add vid 1 dev $swp1 pvid untagged master
200 bridge vlan add vid $vid dev $swp1 master
217 bridge vlan del vid $vid dev $swp1 master
231 bridge vlan add vid $vid dev $swp1 master
232 ip link set dev $swp1 type bridge_slave state $state
[all …]
Dextack.sh18 swp1=${NETIFS[p1]}
21 ip link set dev $swp1 up
30 ip link set dev $swp1 down
45 ip link set dev $swp1 master br1
96 ip link set dev $swp1 master br1
120 ip link set dev $swp1 master br1
123 bridge vlan del dev $swp1 vid 1
128 bridge vlan add dev $swp1 vid 1 pvid untagged 2>&1 >/dev/null \
Dqos_dscp_bridge.sh79 ip link set dev $swp1 master br1
80 ip link set dev $swp1 up
84 lldptool -T -i $swp1 -V APP $(dscp_map 10) >/dev/null
86 lldpad_app_wait_set $swp1
93 lldptool -T -i $swp1 -V APP -d $(dscp_map 10) >/dev/null
97 ip link set dev $swp1 nomaster
104 swp1=${NETIFS[p2]}
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_actions.sh36 simple_if_init $swp1 192.0.2.2/24
37 tc qdisc add dev $swp1 clsact
46 tc qdisc del dev $swp1 clsact
47 simple_if_fini $swp1 192.0.2.2/24
65 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
75 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
85 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
91 tc_check_packets "dev $swp1 ingress" 102 1
94 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
100 tc_check_packets "dev $swp1 ingress" 101 1
[all …]
Dmirror_gre_changes.sh28 swp1=${NETIFS[p2]}
75 mirror_install $swp1 ingress $tundev "matchall $tcflags"
87 mirror_uninstall $swp1 ingress
100 mirror_install $swp1 ingress $tundev "matchall $tcflags"
106 mirror_uninstall $swp1 ingress
120 mirror_install $swp1 ingress $tundev "matchall $tcflags"
130 mirror_uninstall $swp1 ingress
146 mirror_install $swp1 ingress $tundev "matchall $tcflags"
151 mirror_uninstall $swp1 ingress
167 mirror_install $swp1 ingress $tundev "matchall $tcflags"
[all …]
Dmirror_gre.sh30 swp1=${NETIFS[p2]}
74 mirror_install $swp1 $direction $tundev "matchall $tcflags"
82 mirror_uninstall $swp1 $direction
91 mirror_install $swp1 ingress gt4 "matchall $tcflags"
92 mirror_install $swp1 egress gt6 "matchall $tcflags"
96 mirror_uninstall $swp1 ingress
100 mirror_install $swp1 ingress gt4 "matchall $tcflags"
101 mirror_uninstall $swp1 egress
105 mirror_uninstall $swp1 ingress
135 slow_path_trap_install $swp1 ingress
[all …]
Dbridge_vlan_aware.sh35 ip link set dev $swp1 master br0
39 ip link set dev $swp1 up
46 ip link set dev $swp1 down
54 swp1=${NETIFS[p2]}
91 learning_test "br0" $swp1 $h1 $h2
103 log_info "Add and delete a VLAN on bridge port $swp1"
105 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
122 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
[all …]
Dmirror_gre_bridge_1q_lag.sh132 ip link set dev $swp1 up
133 tc qdisc add dev $swp1 clsact
134 vlan_create $swp1 333 "" 192.0.2.2/28
135 vlan_create $swp1 555 "" 192.0.2.17/28
167 vlan_destroy $swp1 555
168 vlan_destroy $swp1 333
169 tc qdisc del dev $swp1 clsact
170 ip link set dev $swp1 down
176 swp1=${NETIFS[p2]}
227 tc filter add dev $swp1 ingress pref 999 \
[all …]
Dmirror_vlan.sh22 swp1=${NETIFS[p2]}
39 bridge vlan add dev $swp1 vid 111
66 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
68 mirror_uninstall $swp1 $direction
87 mirror_install $swp1 $direction $swp3.555 "matchall $tcflags"
92 mirror_uninstall $swp1 $direction
105 slow_path_trap_install $swp1 ingress
106 slow_path_trap_install $swp1 egress
112 slow_path_trap_uninstall $swp1 egress
113 slow_path_trap_uninstall $swp1 ingress
Dtc_vlan_modify.sh41 ip link set dev $swp1 master br0
45 ip link set dev $swp1 up
48 bridge vlan add dev $swp1 vid 85
52 bridge vlan add dev $swp1 vid 65
54 tc qdisc add dev $swp1 clsact
61 tc qdisc del dev $swp1 clsact
63 bridge vlan del vid 65 dev $swp1
67 bridge vlan del vid 85 dev $swp1
70 ip link set dev $swp1 down
78 swp1=${NETIFS[p2]}
[all …]
Dmirror_gre_lag_lacp.sh141 ip link set dev $swp1 up
142 tc qdisc add dev $swp1 clsact
143 vlan_create $swp1 333 "" 192.0.2.2/28
144 vlan_create $swp1 555 "" 192.0.2.17/28
167 vlan_destroy $swp1 555
168 vlan_destroy $swp1 333
169 tc qdisc del dev $swp1 clsact
170 ip link set dev $swp1 down
176 swp1=${NETIFS[p2]}
220 mirror_install $swp1 ingress gt4 \
[all …]
Dmirror_gre_vlan_bridge_1q.sh78 swp1=${NETIFS[p2]}
156 mirror_install $swp1 ingress $tundev "matchall $tcflags"
168 mirror_uninstall $swp1 ingress
190 mirror_install $swp1 ingress $tundev "matchall $tcflags"
203 mirror_uninstall $swp1 ingress
225 mirror_install $swp1 ingress $tundev "matchall $tcflags"
246 mirror_uninstall $swp1 ingress
269 mirror_install $swp1 ingress $tundev "matchall $tcflags"
296 mirror_uninstall $swp1 ingress
323 slow_path_trap_install $swp1 ingress
[all …]
Dmirror_gre_nh.sh24 swp1=${NETIFS[p2]}
78 mirror_install $swp1 ingress gt4 "matchall $tcflags"
90 mirror_uninstall $swp1 ingress
98 mirror_install $swp1 ingress gt6 "matchall $tcflags"
100 mirror_uninstall $swp1 ingress
107 slow_path_trap_install $swp1 ingress
108 slow_path_trap_install $swp1 egress
112 slow_path_trap_uninstall $swp1 egress
113 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bound.sh103 ip link set dev $swp1 master br1
104 ip link set dev $swp1 up
109 tc qdisc add dev $swp1 clsact
146 tc qdisc del dev $swp1 clsact
148 ip link set dev $swp1 down
156 swp1=${NETIFS[p2]}
202 slow_path_trap_install $swp1 ingress
203 slow_path_trap_install $swp1 egress
207 slow_path_trap_uninstall $swp1 egress
208 slow_path_trap_uninstall $swp1 ingress
Dbridge_sticky_fdb.sh13 ip link set dev $swp1 master br0
18 ip link set dev $swp1 up
27 ip link set dev $swp1 down
36 swp1=${NETIFS[p2]}
51 bridge fdb add $TEST_MAC dev $swp1 master static sticky
53 bridge fdb del $TEST_MAC dev $swp1 vlan 1 master static sticky
55 bridge -j fdb show br br0 brport $swp1\
Dmirror_gre_neigh.sh26 swp1=${NETIFS[p2]}
68 mirror_install $swp1 $direction $tundev "matchall $tcflags"
72 mirror_uninstall $swp1 $direction
91 slow_path_trap_install $swp1 ingress
92 slow_path_trap_install $swp1 egress
96 slow_path_trap_uninstall $swp1 egress
97 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_flower.sh27 swp1=${NETIFS[p2]}
86 mirror_install $swp1 $direction $tundev \
91 mirror_uninstall $swp1 $direction
113 slow_path_trap_install $swp1 ingress
114 slow_path_trap_install $swp1 egress
118 slow_path_trap_uninstall $swp1 egress
119 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_lib.sh38 mirror_install $swp1 $direction $tundev "matchall $tcflags"
41 mirror_uninstall $swp1 $direction
59 mirror_install $swp1 $direction $tundev "matchall $tcflags"
70 mirror_uninstall $swp1 $direction
111 mirror_install $swp1 ingress $tundev "matchall $tcflags"
122 mirror_uninstall $swp1 ingress
Dtc_shblocks.sh33 simple_if_init $swp1 192.0.2.2/24
34 tc qdisc add dev $swp1 ingress_block 22 egress_block 23 clsact
45 tc qdisc del dev $swp1 clsact
46 simple_if_fini $swp1 192.0.2.2/24
78 $tcflags indev $swp1 dst_mac $swmac action drop
103 swp1=${NETIFS[p2]}
111 swmac=$(mac_get $swp1)
/external/linux-kselftest/tools/testing/selftests/net/
Dip6_gre_headroom.sh9 ip link add h1 type veth peer name swp1
24 ip link set dev swp1 up
25 tc qdisc add dev swp1 clsact
42 ip link del dev swp1
52 tc filter add dev swp1 ingress pref 1000 matchall skip_hw \
55 tc filter del dev swp1 ingress pref 1000

12