Home
last modified time | relevance | path

Searched refs:swp1 (Results 51 – 75 of 129) sorted by relevance

123456

/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_mc_aware.sh120 ip link set dev $swp1 up
121 mtu_set $swp1 10000
140 ip link set dev $swp1 master br1
151 devlink_port_pool_th_save $swp1 0
152 devlink_port_pool_th_set $swp1 0 5
153 devlink_tc_bind_pool_th_save $swp1 0 ingress
154 devlink_tc_bind_pool_th_set $swp1 0 ingress 0 5
173 devlink_port_pool_th_restore $swp1 0
190 mtu_restore $swp1
191 ip link set dev $swp1 down
[all …]
H A Drif_bridge.sh21 swp1=${NETIFS[p1]}
26 ip link set dev lag1 address $(mac_get $swp1)
39 ip link set dev $swp1 master lag1
40 ip link set dev $swp1 up
53 ip link set dev $swp1 nomaster
54 ip link set dev $swp1 down
147 ip link set dev $swp1 nomaster
163 ip link set dev $swp1 down
164 ip link set dev $swp1 master lag1
165 ip link set dev $swp1 up
[all …]
H A Dingress_rif_conf_1d.sh100 ip link set dev $swp1 up
138 ip link set dev $swp1 down
144 swp1=${NETIFS[p2]}
201 vlan_create $swp1 10
202 ip link set dev $swp1.10 master br0
221 ip link set dev $swp1.10 nomaster
222 vlan_destroy $swp1 10
233 vlan_create $swp1 10
234 ip link set dev $swp1.10 master br0
251 ip link set dev $swp1.10 nomaster
[all …]
H A Dsch_ets.sh31 devlink_port_pool_th_save $swp1 0
32 devlink_port_pool_th_set $swp1 0 12
33 devlink_tc_bind_pool_th_save $swp1 0 ingress
34 devlink_tc_bind_pool_th_set $swp1 0 ingress 0 12
56 devlink_tc_bind_pool_th_restore $swp1 0 ingress
57 devlink_port_pool_th_restore $swp1 0
H A 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 …]
H A Done_armed_router.sh86 ip link add name br0 address $(mac_get $swp1) \
90 ip link set dev $swp1 master br0
91 ip link set dev $swp1 up
95 tc qdisc add dev $swp1 clsact
108 tc qdisc del dev $swp1 clsact
112 ip link set dev $swp1 down
113 ip link set dev $swp1 nomaster
152 tc_check_packets "dev $swp1 ingress" 101 10
173 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
195 tc_check_packets "dev $swp1 ingress" 101 10
[all …]
H A Dingress_rif_conf_1q.sh95 ip link set dev $swp1 up
133 ip link set dev $swp1 down
139 swp1=${NETIFS[p2]}
197 ip link set dev $swp1 master br0
198 bridge vlan add vid 10 dev $swp1
217 bridge vlan del vid 10 dev $swp1
218 ip link set dev $swp1 nomaster
234 ip link set dev $swp1 master br0
235 bridge vlan add vid 10 dev $swp1
250 bridge vlan del vid 10 dev $swp1
[all …]
H A Dqos_dscp_router.sh99 simple_if_init $swp1 192.0.2.2/28
100 __simple_if_init $swp2 v$swp1 192.0.2.17/28
102 tc qdisc add dev $swp1 clsact
105 dcb app add dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
112 dcb app del dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
115 tc qdisc del dev $swp1 clsact
118 simple_if_fini $swp1 192.0.2.2/28
124 swp1=${NETIFS[p2]}
240 tc filter add dev $swp1 ingress handle 101 pref 1 prot ip flower \
246 tc filter del dev $swp1 ingress pref 1
H A Ddevlink_trap_acl_drops.sh41 ip link set dev $swp1 master br0
45 ip link set dev $swp1 up
48 tc qdisc add dev $swp1 clsact
55 tc qdisc del dev $swp1 clsact
58 ip link set dev $swp1 down
66 swp1=${NETIFS[p2]}
101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 \
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A 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
H A 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
247 mirror_uninstall $swp1 ingress
297 mirror_uninstall $swp1 ingress
324 slow_path_trap_install $swp1 ingress
325 slow_path_trap_install $swp1 egress
329 slow_path_trap_uninstall $swp1 egress
[all …]
H A 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\
H A Drouter_bridge_vlan_upper.sh69 ip link add name br1 address $(mac_get $swp1) \
73 ip link set dev $swp1 master br1
75 ip link set dev $swp1 up
80 bridge vlan add dev $swp1 vid 555
93 bridge vlan del dev $swp1 vid 555
98 ip link set dev $swp1 down nomaster
107 swp1=${NETIFS[p2]}
151 ip link set dev $swp1 nomaster
155 ip link set dev $swp1 master br1
158 bridge vlan add dev $swp1 vid 555
H A Dmirror_gre_bound.sh104 ip link set dev $swp1 master br1
105 ip link set dev $swp1 up
110 tc qdisc add dev $swp1 clsact
147 tc qdisc del dev $swp1 clsact
149 ip link set dev $swp1 down
157 swp1=${NETIFS[p2]}
203 slow_path_trap_install $swp1 ingress
204 slow_path_trap_install $swp1 egress
208 slow_path_trap_uninstall $swp1 egress
209 slow_path_trap_uninstall $swp1 ingress
H A Dbridge_igmp.sh65 ip link set dev $swp1 up
72 ip link set dev $swp1 down
80 swp1=${NETIFS[p2]}
216 v3cleanup $swp1 $TEST_GROUP
237 v3cleanup $swp1 $TEST_GROUP
258 v3cleanup $swp1 $TEST_GROUP
272 v3cleanup $swp1 $TEST_GROUP
319 v3cleanup $swp1 $TEST_GROUP
342 v3cleanup $swp1 $TEST_GROUP
365 v3cleanup $swp1 $TEST_GROUP
[all …]
H A 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
H A Dsch_ets_core.sh213 ip link set dev $swp1 up
214 mtu_set $swp1 9900
220 vlan_create $swp1 1$i
221 ip link set dev $swp1.1$i type vlan ingress 0:0 1:1 2:2
226 ip link set dev $swp1.1$i master br1$i
230 ip link set dev $swp1.1$i up
244 vlan_destroy $swp1 1$i
250 mtu_restore $swp1
251 ip link set dev $swp1 down
257 swp1=${NETIFS[p2]}
H A Dskbedit_priority.sh60 ip link set dev $swp1 master br1
61 ip link set dev $swp1 up
65 tc qdisc add dev $swp1 clsact
75 tc qdisc del dev $swp1 clsact
79 ip link set dev $swp1 down
80 ip link set dev $swp1 nomaster
87 swp1=${NETIFS[p2]}
150 test_skbedit_priority_one "dev $swp1 ingress" \
H A Drouter_bridge_pvid_vlan_upper.sh64 ip link add name br1 address $(mac_get $swp1) \
69 ip link set dev $swp1 master br1
70 ip link set dev $swp1 up
76 bridge vlan add dev $swp1 vid 10
81 bridge vlan del dev $swp1 vid 10
87 ip link set dev $swp1 down
88 ip link set dev $swp1 nomaster
97 swp1=${NETIFS[p2]}
H A 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
H A Dbridge_vlan_mcast.sh42 ip link set dev $swp1 master br0
46 ip link set dev $swp1 up
49 tc qdisc add dev $swp1 clsact
63 tc qdisc del dev $swp1 clsact
66 ip link set dev $swp1 down
74 swp1=${NETIFS[p2]}
240 vlmc_check_query igmp 2 $swp1 1 1
245 vlmc_check_query mld 1 $swp1 1 1
275 vlmc_check_query igmp 3 $swp1 1 1
285 vlmc_check_query mld 2 $swp1 1 1
[all …]
H A Drouter_bridge_vlan_upper_pvid.sh69 ip link add name br1 address $(mac_get $swp1) \
73 ip link set dev $swp1 master br1
74 ip link set dev $swp1 up
80 bridge vlan add dev $swp1 vid 10
87 bridge vlan del dev $swp1 vid 10
93 ip link set dev $swp1 down
94 ip link set dev $swp1 nomaster
102 swp1=${NETIFS[p2]}
H A 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
H A 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)
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_vlan_mcast.sh42 ip link set dev $swp1 master br0
46 ip link set dev $swp1 up
49 tc qdisc add dev $swp1 clsact
63 tc qdisc del dev $swp1 clsact
66 ip link set dev $swp1 down
74 swp1=${NETIFS[p2]}
240 vlmc_check_query igmp 2 $swp1 1 1
245 vlmc_check_query mld 1 $swp1 1 1
275 vlmc_check_query igmp 3 $swp1 1 1
285 vlmc_check_query mld 2 $swp1 1 1
[all …]

123456