Home
last modified time | relevance | path

Searched full:egress (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_lgcy.c12 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_rule)) { in esw_acl_egress_lgcy_rules_destroy()
13 mlx5_del_flow_rules(vport->egress.legacy.drop_rule); in esw_acl_egress_lgcy_rules_destroy()
14 vport->egress.legacy.drop_rule = NULL; in esw_acl_egress_lgcy_rules_destroy()
39 drop_grp = mlx5_create_flow_group(vport->egress.acl, flow_group_in); in esw_acl_egress_lgcy_groups_create()
42 esw_warn(dev, "Failed to create E-Switch vport[%d] egress drop flow group, err(%d)\n", in esw_acl_egress_lgcy_groups_create()
47 vport->egress.legacy.drop_grp = drop_grp; in esw_acl_egress_lgcy_groups_create()
60 if (!IS_ERR_OR_NULL(vport->egress.legacy.drop_grp)) { in esw_acl_egress_lgcy_groups_destroy()
61 mlx5_destroy_flow_group(vport->egress.legacy.drop_grp); in esw_acl_egress_lgcy_groups_destroy()
62 vport->egress.legacy.drop_grp = NULL; in esw_acl_egress_lgcy_groups_destroy()
74 /* The egress acl table contains 2 rules: in esw_acl_egress_lgcy_setup()
[all …]
Dhelper.c26 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress"); in esw_acl_table_create()
40 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress", err); in esw_acl_table_create()
54 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create()
68 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create()
69 mlx5_add_flow_rules(vport->egress.acl, spec, in esw_egress_acl_vlan_create()
71 if (IS_ERR(vport->egress.allowed_vlan)) { in esw_egress_acl_vlan_create()
72 err = PTR_ERR(vport->egress.allowed_vlan); in esw_egress_acl_vlan_create()
74 "vport[%d] configure egress vlan rule failed, err(%d)\n", in esw_egress_acl_vlan_create()
76 vport->egress.allowed_vlan = NULL; in esw_egress_acl_vlan_create()
85 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
[all …]
Degress_ofld.c11 if (!vport->egress.offloads.fwd_rule) in esw_acl_egress_ofld_fwd2vport_destroy()
14 mlx5_del_flow_rules(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_destroy()
15 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_destroy()
25 esw_debug(esw->dev, "vport(%d) configure egress acl rule fwd2vport(%d)\n", in esw_acl_egress_ofld_fwd2vport_create()
28 /* Delete the old egress forward-to-vport rule if any */ in esw_acl_egress_ofld_fwd2vport_create()
33 vport->egress.offloads.fwd_rule = in esw_acl_egress_ofld_fwd2vport_create()
34 mlx5_add_flow_rules(vport->egress.acl, NULL, in esw_acl_egress_ofld_fwd2vport_create()
36 if (IS_ERR(vport->egress.offloads.fwd_rule)) { in esw_acl_egress_ofld_fwd2vport_create()
37 err = PTR_ERR(vport->egress.offloads.fwd_rule); in esw_acl_egress_ofld_fwd2vport_create()
41 vport->egress.offloads.fwd_rule = NULL; in esw_acl_egress_ofld_fwd2vport_create()
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh54 check_fail $? "Incorrect success to create another clsact with egress shared block"
59 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem…
68 check_err $? "Failed to create another clsact with egress shared block"
72 check_err $? "Failed to add drop rule to egress bound shared block"
87 # egress-bound block.
94 action mirred egress redirect dev $swp2
103 check_fail $? "Incorrect success to create another clsact with egress shared block"
108 …check_err $? "Failed to create another clsact with egress shared block after blocker redirect rule…
112 action mirred egress redirect dev $swp2
118 check_err $? "Failed to create another clsact with egress shared block"
[all …]
Dsch_ets.sh26 # Set the ingress quota high and use the three egress TCs to limit the
36 devlink_tc_bind_pool_th_save $swp2 7 egress
37 devlink_tc_bind_pool_th_set $swp2 7 egress 4 5
38 devlink_tc_bind_pool_th_save $swp2 6 egress
39 devlink_tc_bind_pool_th_set $swp2 6 egress 4 5
40 devlink_tc_bind_pool_th_save $swp2 5 egress
41 devlink_tc_bind_pool_th_set $swp2 5 egress 4 5
51 devlink_tc_bind_pool_th_restore $swp2 5 egress
52 devlink_tc_bind_pool_th_restore $swp2 6 egress
53 devlink_tc_bind_pool_th_restore $swp2 7 egress
Ddevlink_trap_l2_drops.sh101 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
127 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
144 tc_check_packets "dev $swp2 egress" 101 0
187 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
205 tc_check_packets "dev $swp2 egress" 101 0
230 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
248 tc_check_packets "dev $swp2 egress" 101 0
293 # Disable unicast flooding on both ports, so that packets cannot egress
300 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
317 tc_check_packets "dev $swp2 egress" 101 0
[all …]
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" 102 10
[all …]
Dqos_ets_strict.sh6 # other with PCP of 2. Both streams converge at one egress port, where they are
64 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
148 # Make sure that ingress quotas are smaller than egress so that there is
165 devlink_tc_bind_pool_th_save $swp3 1 egress
166 devlink_tc_bind_pool_th_set $swp3 1 egress 4 7
167 devlink_tc_bind_pool_th_save $swp3 2 egress
168 devlink_tc_bind_pool_th_set $swp3 2 egress 4 7
176 devlink_tc_bind_pool_th_restore $swp3 2 egress
177 devlink_tc_bind_pool_th_restore $swp3 1 egress
[all …]
/Linux-v5.10/tools/testing/selftests/net/forwarding/
Dmirror_gre.sh7 # Test for "tc action mirred egress mirror" when the device to mirror to is a
71 egress) local src_mac=$(mac_get $h2); local dst_mac=$(mac_get $h1)
93 mirror_install $swp1 egress gt6 "matchall $tcflags"
95 quick_test_span_gre_dir gt6 egress
99 quick_test_span_gre_dir gt6 egress
102 mirror_uninstall $swp1 egress
104 fail_test_span_gre_dir gt6 egress
113 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
119 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap"
125 test_span_gre_mac gt4 egress "mirror to gretap"
[all …]
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 protocol ipv6 pref 1 handle 101 \
[all …]
Dtc_flower_router.sh88 tc filter add dev $rp3 egress protocol ip pref 1 handle 101 flower \
90 tc filter add dev $rp3 egress protocol ip pref 2 handle 102 flower \
96 tc_check_packets "dev $rp3 egress" 102 1
99 tc_check_packets "dev $rp3 egress" 101 1
105 tc_check_packets "dev $rp3 egress" 101 2
108 tc_check_packets "dev $rp3 egress" 102 1
111 tc filter del dev $rp3 egress protocol ip pref 2 handle 102 flower
112 tc filter del dev $rp3 egress protocol ip pref 1 handle 101 flower
114 log_test "indev egress match ($tcflags)"
Dmirror_vlan.sh7 # Test for "tc action mirred egress mirror" that mirrors to a vlan device.
76 test_vlan_dir egress 0 8
100 test_tagged_vlan_dir egress 0 8
106 slow_path_trap_install $swp1 egress
112 slow_path_trap_uninstall $swp1 egress
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
Dpedit_dsfield.sh5 # egress of $swp2, the traffic is acted upon by a pedit action. An ingress
181 do_test_ip_dsfield "dev $swp2 egress"
200 do_test_ip_dscp "dev $swp2 egress"
219 do_test_ip_ecn "dev $swp2 egress"
242 do_test_ip_dscp_ecn "dev $swp2 egress"
261 do_test_ip6_dsfield "dev $swp2 egress"
280 do_test_ip6_dscp "dev $swp2 egress"
299 do_test_ip6_ecn "dev $swp2 egress"
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
/Linux-v5.10/tools/testing/selftests/tc-testing/tc-tests/actions/
Dnat.json331 "name": "Add nat action on egress with default control action",
344 "cmdUnderTest": "$TC actions add action nat egress 10.10.10.1 20.20.20.1",
347 "matchPattern": "action order [0-9]+: nat egress 10.10.10.1/32 20.20.20.1 pass",
355 "name": "Add nat action on egress with pipe control action",
368 "cmdUnderTest": "$TC actions add action nat egress 10.10.10.1 20.20.20.1 pipe",
371 "matchPattern": "action order [0-9]+: nat egress 10.10.10.1/32 20.20.20.1 pipe",
379 "name": "Add nat action on egress with continue control action",
392 "cmdUnderTest": "$TC actions add action nat egress 10.10.10.1 20.20.20.1 continue",
395 "matchPattern": "action order [0-9]+: nat egress 10.10.10.1/32 20.20.20.1 continue",
403 "name": "Add nat action on egress with reclassify control action",
[all …]
Dmirred.json4 "name": "Add mirred mirror to egress action",
17 "cmdUnderTest": "$TC actions add action mirred egress mirror index 1 dev lo",
20 "matchPattern": "action order [0-9]*: mirred \\(Egress Mirror to device lo\\).*index 1 ref",
28 "name": "Add mirred redirect to egress action",
41 "cmdUnderTest": "$TC actions add action mirred egress redirect index 2 dev lo action pipe",
44 … "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref",
65 "$TC actions add action mirred egress mirror index 1 dev lo",
66 "$TC actions add action mirred egress redirect index 2 dev lo"
116 "cmdUnderTest": "$TC actions add action mirred egress remirror index 20 dev lo",
119 "matchPattern": "action order [0-9]*: mirred \\(Egress.*to device lo\\).*index 20 ref",
[all …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.h48 /*! Read the raw table data from the specified row of the Egress CTL
58 * specified row of the Egress CTL Filter table.
66 /*! Read the raw table data from the specified row of the Egress
76 * specified row of the Egress Packet Classifier table.
84 /*! Read the raw table data from the specified row of the Egress SC
94 * specified row of the Egress SC Lookup table.
102 /*! Read the raw table data from the specified row of the Egress SA
112 * specified row of the Egress SA Lookup table.
120 /*! Read the raw table data from the specified row of the Egress SA
130 * specified row of the Egress SA Key Lookup table.
[all …]
DMSS_Egress_registers.h51 /* 0x0 : Egress MAC Control FIlter (CTLF) LUT
52 * 0x1 : Egress Classification LUT
53 * 0x2 : Egress SC/SA LUT
54 * 0x3 : Egress SMIB
/Linux-v5.10/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dfifo.json4 "name": "Add bfifo qdisc with system default parameters on egress",
25 "name": "Add pfifo qdisc with system default parameters on egress",
46 … "name": "Add bfifo qdisc with system default parameters on egress with handle of maximum value",
66 "name": "Add bfifo qdisc on egress with queue size of 3000 bytes",
86 "name": "Add pfifo qdisc on egress with queue size of 3000 packets",
106 …"name": "Add bfifo qdisc with system default parameters on egress with invalid handle exceeding ma…
125 "name": "Add bfifo qdisc on egress with unsupported argument",
144 "name": "Add pfifo qdisc on egress with unsupported argument",
163 "name": "Replace bfifo qdisc on egress with new queue size",
185 "name": "Replace pfifo qdisc on egress with new queue size",
[all …]
Dprio.json4 "name": "Add prio qdisc on egress",
24 "name": "Add prio qdisc on egress with handle of maximum value",
43 "name": "Add prio qdisc on egress with invalid handle exceeding maximum value",
62 "name": "Add prio qdisc on egress with unsupported argument",
81 "name": "Add prio qdisc on egress with 4 bands and new priomap",
101 "name": "Add prio qdisc on egress with 4 bands and priomap exceeding TC_PRIO_MAX entries",
120 "name": "Add prio qdisc on egress with 4 bands and priomap's values exceeding bands number",
139 "name": "Add prio qdisc on egress with invalid bands value (< 2)",
158 "name": "Add prio qdisc on egress with invalid bands value exceeding TCQ_PRIO_BANDS",
177 "name": "Replace default prio qdisc on egress with 8 bands and new priomap",
[all …]
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.c26 "Egress MATCHALL offload needs at least 1 policing action"); in cxgb4_matchall_egress_validate()
30 "Egress MATCHALL offload only supports 1 policing action"); in cxgb4_matchall_egress_validate()
34 "Egress MATCHALL offload not supported with shared blocks"); in cxgb4_matchall_egress_validate()
60 "Only policing action supported with Egress MATCHALL offload"); in cxgb4_matchall_egress_validate()
166 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()
[all …]
/Linux-v5.10/samples/bpf/
Dtc_l2_redirect.sh97 if [[ $dir == "egress" ]]; then
99 $TC filter add dev ve2 egress bpf da obj $REDIRECT_BPF sec l2_to_iptun_ingress_redirect
110 if [[ $dir == "egress" ]]; then
111 # test direct egress to ve2 (i.e. not forwarding from
133 if [[ $dir == "egress" ]]; then
136 $TC filter add dev ve2 egress bpf da obj $REDIRECT_BPF sec l2_to_ip6tun_ingress_redirect
148 if [[ $dir == "egress" ]]; then
149 # test direct egress to ve2 (i.e. not forwarding from
162 test_dirs="ingress egress"
/Linux-v5.10/arch/alpha/lib/
Dmemmove.S48 ble $18,$egress
89 beq $18,$egress
105 br $egress
115 ble $18,$egress
158 beq $18,$egress
176 $egress:
/Linux-v5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c4 * RMNET Data ingress/egress handler
171 /* Ingress / Egress Entry Points */
175 * egress device listed in the logical endpoint configuration.
210 /* Modifies packet as per logical endpoint configuration and egress data format
211 * for egress device configured in logical endpoint. Packet is then transmitted
212 * on the egress device.

12345678910>>...14