Home
last modified time | relevance | path

Searched refs:egress (Results 1 - 25 of 194) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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 ac in esw_acl_egress_lgcy_setup()
[all...]
H A 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 in esw_acl_egress_vlan_destroy()
[all...]
H A 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 in esw_acl_egress_ofld_fwd2vport_create()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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()
75 /* The egress ac in esw_acl_egress_lgcy_setup()
[all...]
H A Dhelper.c28 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress"); in esw_acl_table_create()
44 ns == MLX5_FLOW_NAMESPACE_ESW_INGRESS ? "ingress" : "egress", err); in esw_acl_table_create()
58 if (vport->egress.allowed_vlan) in esw_egress_acl_vlan_create()
72 vport->egress.allowed_vlan = in esw_egress_acl_vlan_create()
73 mlx5_add_flow_rules(vport->egress.acl, spec, in esw_egress_acl_vlan_create()
75 if (IS_ERR(vport->egress.allowed_vlan)) { in esw_egress_acl_vlan_create()
76 err = PTR_ERR(vport->egress.allowed_vlan); in esw_egress_acl_vlan_create()
78 "vport[%d] configure egress vlan rule failed, err(%d)\n", in esw_egress_acl_vlan_create()
80 vport->egress.allowed_vlan = NULL; in esw_egress_acl_vlan_create()
89 if (!IS_ERR_OR_NULL(vport->egress in esw_acl_egress_vlan_destroy()
[all...]
H A 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()
21 xa_load(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy()
27 xa_erase(&vport->egress.offloads.bounce_rules, rule_index); in esw_acl_egress_ofld_bounce_rule_destroy()
35 xa_for_each(&vport->egress.offloads.bounce_rules, i, bounce_rule) { in esw_acl_egress_ofld_bounce_rules_destroy()
37 xa_erase(&vport->egress.offloads.bounce_rules, i); in esw_acl_egress_ofld_bounce_rules_destroy()
48 esw_debug(esw->dev, "vport(%d) configure egress acl rule fwd2vport(%d)\n", in esw_acl_egress_ofld_fwd2vport_create()
51 /* Delete the old egress forward-to-vport rule if any */ in esw_acl_egress_ofld_fwd2vport_create()
56 vport->egress in esw_acl_egress_ofld_fwd2vport_create()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A 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
[all...]
H A 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 removed"
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 removed"
112 action mirred egress redirect dev $swp2
118 check_err $? "Failed to create another clsact with egress share
[all...]
H A 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...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_ets.sh27 # Set the ingress quota high and use the three egress TCs to limit the
37 devlink_tc_bind_pool_th_save $swp2 7 egress
38 devlink_tc_bind_pool_th_set $swp2 7 egress 4 5
39 devlink_tc_bind_pool_th_save $swp2 6 egress
40 devlink_tc_bind_pool_th_set $swp2 6 egress 4 5
41 devlink_tc_bind_pool_th_save $swp2 5 egress
42 devlink_tc_bind_pool_th_set $swp2 5 egress 4 5
52 devlink_tc_bind_pool_th_restore $swp2 5 egress
53 devlink_tc_bind_pool_th_restore $swp2 6 egress
54 devlink_tc_bind_pool_th_restore $swp2 7 egress
[all...]
H A 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
153 # Make sure that ingress quotas are smaller than egress so that there is
170 devlink_tc_bind_pool_th_save $swp3 1 egress
171 devlink_tc_bind_pool_th_set $swp3 1 egress 4 7
172 devlink_tc_bind_pool_th_save $swp3 2 egress
173 devlink_tc_bind_pool_th_set $swp3 2 egress 4 7
181 devlink_tc_bind_pool_th_restore $swp3 2 egress
182 devlink_tc_bind_pool_th_restore $swp3 1 egress
[all...]
H A 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 removed"
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 removed"
115 action mirred egress redirect dev $swp2
121 check_err $? "Failed to create another clsact with egress share
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A 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 "mirro
[all...]
H A Dmirror_gre_neigh.sh80 test_span_gre_neigh 192.0.2.130 gt4 egress "mirror to gretap"
86 test_span_gre_neigh 2001:db8:2::2 gt6 egress "mirror to ip6gretap"
92 slow_path_trap_install $swp1 egress
96 slow_path_trap_uninstall $swp1 egress
H A 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
H A Dmirror_gre_bridge_1q.sh4 # Test for "tc action mirred egress mirror" when the underlay route points at a
94 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
100 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap"
106 slow_path_trap_install $swp1 egress
110 slow_path_trap_uninstall $swp1 egress
H A Dmirror_gre_bridge_1d.sh4 # Test for "tc action mirred egress mirror" when the underlay route points at a
97 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
103 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap"
109 slow_path_trap_install $swp1 egress
113 slow_path_trap_uninstall $swp1 egress
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A 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 "mirro
[all...]
H A Dtc_flower_l2_miss.sh80 tc filter add dev $swp2 egress protocol ipv4 handle 101 pref 1 \
84 tc filter add dev $swp2 egress protocol ipv4 handle 102 pref 1 \
91 tc_check_packets "dev $swp2 egress" 101 1
94 tc_check_packets "dev $swp2 egress" 102 0
102 tc_check_packets "dev $swp2 egress" 101 1
105 tc_check_packets "dev $swp2 egress" 102 1
113 tc_check_packets "dev $swp2 egress" 101 2
116 tc_check_packets "dev $swp2 egress" 102 1
119 tc filter del dev $swp2 egress protocol ipv4 pref 1 handle 102 flower
120 tc filter del dev $swp2 egress protoco
[all...]
H A Dmirror_gre_bridge_1q.sh4 # Test for "tc action mirred egress mirror" when the underlay route points at a
96 full_test_span_gre_dir gt4 egress 0 8 "mirror to gretap"
104 full_test_span_gre_dir gt6 egress 0 8 "mirror to ip6gretap"
110 slow_path_trap_install $swp1 egress
114 slow_path_trap_uninstall $swp1 egress
H A Dmirror_gre_neigh.sh80 test_span_gre_neigh 192.0.2.130 gt4 egress "mirror to gretap"
86 test_span_gre_neigh 2001:db8:2::2 gt6 egress "mirror to ip6gretap"
92 slow_path_trap_install $swp1 egress
96 slow_path_trap_uninstall $swp1 egress
H A 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
/kernel/linux/linux-5.10/arch/alpha/lib/
H A Dmemmove.S48 ble $18,$egress
89 beq $18,$egress
105 br $egress
115 ble $18,$egress
158 beq $18,$egress
176 $egress:
/kernel/linux/linux-6.6/arch/alpha/lib/
H A Dmemmove.S48 ble $18,$egress
89 beq $18,$egress
105 br $egress
115 ble $18,$egress
158 beq $18,$egress
176 $egress:
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dbareudp.sh404 action mirred egress redirect dev bareudp_ns1
408 action mirred egress redirect dev bareudp_ns2
417 action mirred egress redirect dev bareudp_ns1
421 action mirred egress redirect dev bareudp_ns2
433 action mirred egress redirect dev bareudp_ns1
437 action mirred egress redirect dev bareudp_ns2
454 action mirred egress redirect dev bareudp_ns1
458 action mirred egress redirect dev bareudp_ns2
467 action mirred egress redirect dev bareudp_ns1
471 action mirred egress redirec
[all...]

Completed in 9 milliseconds

12345678