Home
last modified time | relevance | path

Searched refs:egress (Results 26 - 50 of 194) sorted by relevance

12345678

/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d_ipv6.sh345 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
351 tc filter add dev $swp1 egress protocol ip pref 1 handle 101 \
360 tc_check_at_least_x_packets "dev $rp1 egress" 101 10 100
363 tc_check_at_least_x_packets "dev $swp1 egress" 101 10 100
368 tc filter del dev $swp1 egress
369 tc filter del dev $rp1 egress
402 tc filter add dev $rp1 egress protocol ipv6 pref 1 handle 101 \
408 tc filter add dev $swp1 egress protocol ipv6 pref 1 handle 101 \
416 tc_check_at_least_x_packets "dev $rp1 egress" 101 100
419 tc_check_at_least_x_packets "dev $swp1 egress" 10
[all...]
H A Drouter.sh197 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
203 tc_check_packets "dev $rp2 egress" 101 5
208 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
244 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
252 tc_check_packets "dev $rp2 egress" 101 5
258 tc filter del dev $rp2 egress protocol $proto pref 1 handle 101 flower
275 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
281 tc_check_packets "dev $rp2 egress" 101 5
286 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
295 tc filter add dev $rp2 egress protoco
[all...]
H A Dmirror_gre_bridge_1d.sh4 # Test for "tc action mirred egress mirror" when the underlay route points at a
100 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
108 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap"
114 slow_path_trap_install $swp1 egress
118 slow_path_trap_uninstall $swp1 egress
H A Dmirror_gre_flower.sh102 full_test_span_gre_dir_acl gt4 egress 0 8 192.0.2.3 "ACL mirror to gretap"
108 full_test_span_gre_dir_acl gt6 egress 0 8 192.0.2.3 "ACL mirror to ip6gretap"
114 slow_path_trap_install $swp1 egress
118 slow_path_trap_uninstall $swp1 egress
H A Dtc_police.sh169 # Rule to police traffic destined to $h2 on egress of $rp2
170 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
176 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
217 # Rule to police a different flow destined to $h2 on egress of $rp2
219 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
227 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
254 action mirred egress mirror dev $rp3
294 police_mirror_common_test $rp2 egress "police tx and mirror"
341 # Rule to police traffic destined to $h2 on egress of $rp2
342 tc filter add dev $rp2 egress protoco
[all...]
H A Dmirror_gre_vlan.sh7 # Test for "tc action mirred egress mirror" that mirrors to a gretap netdevice
63 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
69 slow_path_trap_install $swp1 egress
73 slow_path_trap_uninstall $swp1 egress
H A Dmirror_gre_bound.sh190 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap w/ UL"
196 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap w/ UL"
204 slow_path_trap_install $swp1 egress
208 slow_path_trap_uninstall $swp1 egress
H A Dtc_mpls_l2vpn.sh18 # | -redirect to $mpls1 (egress) |
24 # | | -redirect to $edge1 (egress) |
34 # | -redirect to $edge2 (egress) |
40 # | | -redirect to $mpls2 (egress) |
86 action mirred egress redirect dev $mpls1
95 action mirred egress redirect dev $edge1
115 action mirred egress redirect dev $mpls2
124 action mirred egress redirect dev $edge2
H A Dtc_vlan_modify.sh140 tc filter add dev $swp1 egress protocol all pref 1 handle 1 \
142 tc filter add dev $swp2 egress protocol all pref 1 handle 1 \
151 log_test "VLAN modify at egress"
153 tc filter del dev $swp2 egress protocol all pref 1 handle 1 flower
154 tc filter del dev $swp1 egress protocol all pref 1 handle 1 flower
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Done_armed_router.sh138 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 flower \
142 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 flower \
158 tc_check_packets "dev $swp2 egress" 101 0
165 tc_check_packets "dev $swp2 egress" 102 10
170 tc filter del dev $swp2 egress protocol ip pref 2 handle 102 flower
171 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
181 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \
185 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \
201 tc_check_packets "dev $swp2 egress" 101 0
208 tc_check_packets "dev $swp2 egress" 10
[all...]
H A Dqos_pfc.sh143 devlink_tc_bind_pool_th_save $swp2 1 egress
144 devlink_tc_bind_pool_th_save $swp3 1 egress
156 # PFC pools. As per the writ, the size of egress PFC pool should be
185 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
188 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $_10MB
202 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
205 devlink_tc_bind_pool_th_set $swp3 1 egress 5 $_10MB
311 devlink_tc_bind_pool_th_restore $swp3 1 egress
324 devlink_tc_bind_pool_th_restore $swp2 1 egress
H A Ddevlink_trap_l3_drops.sh173 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
202 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
237 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
271 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
306 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
337 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
389 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
435 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
474 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
499 tc filter add dev $rp2 egress protoco
[all...]
H A Ddevlink_trap_acl_drops.sh98 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
123 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 \
126 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
139 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Done_armed_router.sh139 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 flower \
143 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 flower \
159 tc_check_packets "dev $swp2 egress" 101 0
166 tc_check_packets "dev $swp2 egress" 102 10
171 tc filter del dev $swp2 egress protocol ip pref 2 handle 102 flower
172 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
182 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \
186 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \
202 tc_check_packets "dev $swp2 egress" 101 0
209 tc_check_packets "dev $swp2 egress" 10
[all...]
H A Dqos_pfc.sh142 devlink_tc_bind_pool_th_save $swp2 1 egress
143 devlink_tc_bind_pool_th_save $swp3 1 egress
155 # PFC pools. As per the writ, the size of egress PFC pool should be
184 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
187 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $_10MB
201 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
204 devlink_tc_bind_pool_th_set $swp3 1 egress 5 $_10MB
310 devlink_tc_bind_pool_th_restore $swp3 1 egress
323 devlink_tc_bind_pool_th_restore $swp2 1 egress
H A Ddevlink_trap_l3_drops.sh174 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
203 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
238 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
272 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
307 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
338 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
390 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
436 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
475 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
500 tc filter add dev $rp2 egress protoco
[all...]
H A Dqos_max_descriptors.sh10 # firmware to allow infinite size of egress descriptor pool, and does not use a
74 ip link set dev $h1.111 type vlan egress-qos-map 0:1
110 devlink_tc_bind_pool_th_save $swp2 1 egress
134 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
137 devlink_tc_bind_pool_th_set $swp2 1 egress 6 $MAX_POOL_SIZE
176 devlink_tc_bind_pool_th_restore $swp2 1 egress
260 check_err $? "Drops seen on egress port: $d0 -> $d1 ($((d1 - d0)))"
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Drouter.sh179 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
185 tc_check_packets "dev $rp2 egress" 101 5
190 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
226 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
234 tc_check_packets "dev $rp2 egress" 101 5
240 tc filter del dev $rp2 egress protocol $proto pref 1 handle 101 flower
257 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
263 tc_check_packets "dev $rp2 egress" 101 5
268 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
277 tc filter add dev $rp2 egress protoco
[all...]
H A Dtc_actions.sh71 action mirred egress $action dev $swp2
83 log_test "mirred egress $classifier $action ($tcflags)"
128 $tcflags dst_ip 192.0.2.2 action mirred egress redirect \
162 tc filter add dev $h1 protocol ip pref 100 handle 100 egress flower \
170 tc filter add dev $h1 protocol ip pref 101 handle 101 egress flower \
186 tc_check_packets "dev $h1 egress" 101 10
190 local overlimits=$(tc_rule_stats_get ${h1} 101 egress .overlimits)
194 tc filter del dev $h1 egress protocol ip pref 100 handle 100 flower
195 tc filter del dev $h1 egress protocol ip pref 101 handle 101 flower
H A Dmirror_gre_flower.sh102 full_test_span_gre_dir_acl gt4 egress 0 8 192.0.2.3 "ACL mirror to gretap"
108 full_test_span_gre_dir_acl gt6 egress 0 8 192.0.2.3 "ACL mirror to ip6gretap"
114 slow_path_trap_install $swp1 egress
118 slow_path_trap_uninstall $swp1 egress
H A Dmirror_gre_vlan.sh7 # Test for "tc action mirred egress mirror" that mirrors to a gretap netdevice
63 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
69 slow_path_trap_install $swp1 egress
73 slow_path_trap_uninstall $swp1 egress
H A Dtc_vlan_modify.sh140 tc filter add dev $swp1 egress protocol all pref 1 handle 1 \
142 tc filter add dev $swp2 egress protocol all pref 1 handle 1 \
151 log_test "VLAN modify at egress"
153 tc filter del dev $swp2 egress protocol all pref 1 handle 1 flower
154 tc filter del dev $swp1 egress protocol all pref 1 handle 1 flower
H A Dmirror_gre_bound.sh189 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap w/ UL"
195 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap w/ UL"
203 slow_path_trap_install $swp1 egress
207 slow_path_trap_uninstall $swp1 egress
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c166 tc_port_matchall->egress.hwtc = e->idx; in cxgb4_matchall_alloc_tc()
167 tc_port_matchall->egress.cookie = cls->cookie; in cxgb4_matchall_alloc_tc()
168 tc_port_matchall->egress.state = CXGB4_MATCHALL_STATE_ENABLED; in cxgb4_matchall_alloc_tc()
184 cxgb4_sched_class_free(dev, tc_port_matchall->egress.hwtc); in cxgb4_matchall_free_tc()
186 tc_port_matchall->egress.hwtc = SCHED_CLS_NONE; in cxgb4_matchall_free_tc()
187 tc_port_matchall->egress.cookie = 0; in cxgb4_matchall_free_tc()
188 tc_port_matchall->egress.state = CXGB4_MATCHALL_STATE_DISABLED; in cxgb4_matchall_free_tc()
383 if (tc_port_matchall->egress.state == CXGB4_MATCHALL_STATE_ENABLED) { in cxgb4_tc_matchall_replace()
417 if (cls_matchall->cookie != tc_port_matchall->egress.cookie) in cxgb4_tc_matchall_destroy()
473 if (tc_port_matchall->egress in cxgb4_matchall_disable_offload()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c214 tc_port_matchall->egress.hwtc = e->idx; in cxgb4_matchall_alloc_tc()
215 tc_port_matchall->egress.cookie = cls->cookie; in cxgb4_matchall_alloc_tc()
216 tc_port_matchall->egress.state = CXGB4_MATCHALL_STATE_ENABLED; in cxgb4_matchall_alloc_tc()
232 cxgb4_sched_class_free(dev, tc_port_matchall->egress.hwtc); in cxgb4_matchall_free_tc()
234 tc_port_matchall->egress.hwtc = SCHED_CLS_NONE; in cxgb4_matchall_free_tc()
235 tc_port_matchall->egress.cookie = 0; in cxgb4_matchall_free_tc()
236 tc_port_matchall->egress.state = CXGB4_MATCHALL_STATE_DISABLED; in cxgb4_matchall_free_tc()
431 if (tc_port_matchall->egress.state == CXGB4_MATCHALL_STATE_ENABLED) { in cxgb4_tc_matchall_replace()
465 if (cls_matchall->cookie != tc_port_matchall->egress.cookie) in cxgb4_tc_matchall_destroy()
521 if (tc_port_matchall->egress in cxgb4_matchall_disable_offload()
[all...]

Completed in 12 milliseconds

12345678