Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v6.1/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 …]
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()
20 if (!vport->egress.offloads.bounce_rule) in esw_acl_egress_ofld_bounce_rule_destroy()
23 mlx5_del_flow_rules(vport->egress.offloads.bounce_rule); in esw_acl_egress_ofld_bounce_rule_destroy()
24 vport->egress.offloads.bounce_rule = NULL; in esw_acl_egress_ofld_bounce_rule_destroy()
34 esw_debug(esw->dev, "vport(%d) configure egress acl rule fwd2vport(%d)\n", in esw_acl_egress_ofld_fwd2vport_create()
37 /* Delete the old egress forward-to-vport rule if any */ in esw_acl_egress_ofld_fwd2vport_create()
42 vport->egress.offloads.fwd_rule = in esw_acl_egress_ofld_fwd2vport_create()
43 mlx5_add_flow_rules(vport->egress.acl, NULL, in esw_acl_egress_ofld_fwd2vport_create()
[all …]
Dhelper.c28 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress"); in esw_acl_table_create()
43 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress", err); in esw_acl_table_create()
57 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create()
71 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create()
72 mlx5_add_flow_rules(vport->egress.acl, spec, in esw_egress_acl_vlan_create()
74 if (IS_ERR(vport->egress.allowed_vlan)) { in esw_egress_acl_vlan_create()
75 err = PTR_ERR(vport->egress.allowed_vlan); in esw_egress_acl_vlan_create()
77 "vport[%d] configure egress vlan rule failed, err(%d)\n", in esw_egress_acl_vlan_create()
79 vport->egress.allowed_vlan = NULL; in esw_egress_acl_vlan_create()
88 if (!IS_ERR_OR_NULL(vport->egress.allowed_vlan)) { in esw_acl_egress_vlan_destroy()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh57 check_fail $? "Incorrect success to create another clsact with egress shared block"
62 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem…
71 check_err $? "Failed to create another clsact with egress shared block"
75 check_err $? "Failed to add drop rule to egress bound shared block"
90 # egress-bound block.
97 action mirred egress redirect dev $swp2
106 check_fail $? "Incorrect success to create another clsact with egress shared block"
111 …check_err $? "Failed to create another clsact with egress shared block after blocker redirect rule…
115 action mirred egress redirect dev $swp2
121 check_err $? "Failed to create another clsact with egress shared block"
[all …]
Dsch_ets.sh28 # Set the ingress quota high and use the three egress TCs to limit the
38 devlink_tc_bind_pool_th_save $swp2 7 egress
39 devlink_tc_bind_pool_th_set $swp2 7 egress 4 5
40 devlink_tc_bind_pool_th_save $swp2 6 egress
41 devlink_tc_bind_pool_th_set $swp2 6 egress 4 5
42 devlink_tc_bind_pool_th_save $swp2 5 egress
43 devlink_tc_bind_pool_th_set $swp2 5 egress 4 5
53 devlink_tc_bind_pool_th_restore $swp2 5 egress
54 devlink_tc_bind_pool_th_restore $swp2 6 egress
55 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
149 # Make sure that ingress quotas are smaller than egress so that there is
166 devlink_tc_bind_pool_th_save $swp3 1 egress
167 devlink_tc_bind_pool_th_set $swp3 1 egress 4 7
168 devlink_tc_bind_pool_th_save $swp3 2 egress
169 devlink_tc_bind_pool_th_set $swp3 2 egress 4 7
177 devlink_tc_bind_pool_th_restore $swp3 2 egress
178 devlink_tc_bind_pool_th_restore $swp3 1 egress
[all …]
/Linux-v6.1/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 …]
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)"
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 protocol ipv6 pref 1 handle 101 \
[all …]
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
/Linux-v6.1/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-v6.1/tools/perf/pmu-events/arch/x86/knightslanding/
Duncore-other.json1312 "BriefDescription": "CMS Horizontal Egress Bypass. AD ring",
1321 "BriefDescription": "CMS Horizontal Egress Bypass. AK ring",
1330 "BriefDescription": "CMS Horizontal Egress Bypass. BL ring",
1339 "BriefDescription": "CMS Horizontal Egress Bypass. IV ring",
1348 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Full AD",
1357 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Full AK",
1366 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Full BL",
1375 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Full IV",
1384 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Not Empty AD",
1393 "BriefDescription": "Cycles CMS Horizontal Egress Queue is Not Empty AK",
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/jaketown/
Duncore-cache.json436 "BriefDescription": "Probe Queue Retries; No Egress Credits",
474 "BriefDescription": "Ingress Request Queue Rejects; No Egress Credits",
511 "BriefDescription": "ISMQ Retries; No Egress Credits",
787 "BriefDescription": "Egress Allocations; AD - Cachebo",
792 …"PublicDescription": "Number of allocations into the Cbo Egress. The Egress is used to queue up r…
797 "BriefDescription": "Egress Allocations; AD - Corebo",
802 …"PublicDescription": "Number of allocations into the Cbo Egress. The Egress is used to queue up r…
807 "BriefDescription": "Egress Allocations; AK - Cachebo",
812 …"PublicDescription": "Number of allocations into the Cbo Egress. The Egress is used to queue up r…
817 "BriefDescription": "Egress Allocations; AK - Corebo",
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/testing/selftests/net/
Dtest_ingress_egress_chaining.sh5 # and chains a single egress rule to test ingress chaining to egress.
54 echo "Add tc filter ingress->egress forwarding $veth1 <-> $veth2"
58 action mirred egress redirect dev $veth1
60 action mirred egress redirect dev $veth2
62 echo "Add tc filter egress->ingress forwarding $peer1 -> $veth1, bypassing the veth pipe"
64 tc filter add dev $peer1 egress prio 20 proto ip flower \
/Linux-v6.1/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-v6.1/tools/perf/pmu-events/arch/x86/broadwellde/
Duncore-other.json470 "BriefDescription": "No AD Egress Credit Stalls",
475 …is not possible to issue a request to the R2PCIe because there are no AD Egress Credits available.…
479 "BriefDescription": "No BL Egress Credit Stalls",
484 …n it is not possible to issue data to the R2PCIe because there are no BL Egress Credits available.…
936 …"PublicDescription": "Number of cycles Egress is stalled waiting for an Sbo credit to become avail…
946 …"PublicDescription": "Number of cycles Egress is stalled waiting for an Sbo credit to become avail…
956 …"PublicDescription": "Number of cycles Egress is stalled waiting for an Sbo credit to become avail…
966 …"PublicDescription": "Number of cycles Egress is stalled waiting for an Sbo credit to become avail…
971 "BriefDescription": "Egress Cycles Full; AD",
975 …cDescription": "Counts the number of cycles when the R2PCIe Egress buffer is full.; AD Egress Queu…
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/haswellx/
Duncore-interconnect.json29 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress Credits",
47 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Invalid",
65 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss",
83 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss, Invalid",
854 "BriefDescription": "Stalls Sending to R3QPI on VN0; Egress Credits",
1157 "BriefDescription": "R3QPI Egress Credit Occupancy - HOM; for VN0",
1167 "BriefDescription": "R3QPI Egress Credit Occupancy - HOM; for VN1",
1177 "BriefDescription": "R3QPI Egress Credit Occupancy - AD HOM; for VN0",
1187 "BriefDescription": "R3QPI Egress Credit Occupancy - AD HOM; for VN1",
1197 "BriefDescription": "R3QPI Egress Credit Occupancy - AD NDR; for VN0",
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellx/
Duncore-interconnect.json29 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress Credits",
47 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Invalid",
65 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss",
83 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss, Invalid",
861 "BriefDescription": "R3QPI Egress Credit Occupancy - HOM; for VN0",
871 "BriefDescription": "R3QPI Egress Credit Occupancy - HOM; for VN1",
881 "BriefDescription": "R3QPI Egress Credit Occupancy - AD HOM; for VN0",
891 "BriefDescription": "R3QPI Egress Credit Occupancy - AD HOM; for VN1",
901 "BriefDescription": "R3QPI Egress Credit Occupancy - AD NDR; for VN0",
911 "BriefDescription": "R3QPI Egress Credit Occupancy - AD NDR; for VN1",
[all …]
/Linux-v6.1/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-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.c66 "Egress MATCHALL offload needs at least 1 policing action"); in cxgb4_matchall_egress_validate()
70 "Egress MATCHALL offload only supports 1 policing action"); in cxgb4_matchall_egress_validate()
74 "Egress MATCHALL offload not supported with shared blocks"); in cxgb4_matchall_egress_validate()
104 "Only policing action supported with Egress MATCHALL offload"); in cxgb4_matchall_egress_validate()
214 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()
[all …]

12345678910>>...18