Home
last modified time | relevance | path

Searched refs:ingress (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dmirror_gre_changes.sh75 mirror_install $swp1 ingress $tundev "matchall $tcflags"
76 tc filter add dev $h3 ingress pref 77 prot $prot \
85 tc filter del dev $h3 ingress pref 77
86 mirror_uninstall $swp1 ingress
99 mirror_install $swp1 ingress $tundev "matchall $tcflags"
100 fail_test_span_gre_dir $tundev ingress
104 quick_test_span_gre_dir $tundev ingress
105 mirror_uninstall $swp1 ingress
119 mirror_install $swp1 ingress $tundev "matchall $tcflags"
120 fail_test_span_gre_dir $tundev ingress
[all …]
Dmirror_gre_vlan_bridge_1q.sh87 full_test_span_gre_dir_vlan $tundev ingress "$vlan_match" 8 0 "$what"
111 mirror_install $swp1 ingress $tundev "matchall $tcflags"
112 quick_test_span_gre_dir $tundev ingress
117 fail_test_span_gre_dir $tundev ingress
121 quick_test_span_gre_dir $tundev ingress
123 mirror_uninstall $swp1 ingress
145 mirror_install $swp1 ingress $tundev "matchall $tcflags"
146 quick_test_span_gre_dir $tundev ingress
150 fail_test_span_gre_dir $tundev ingress
156 quick_test_span_gre_dir $tundev ingress
[all …]
Dtc_flower.sh40 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
42 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
54 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
55 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
66 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
68 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
80 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
81 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
90 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
92 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
88 tc chain add dev $h2 ingress
97 tc chain add dev $h2 ingress chain 1
[all …]
Dmirror_gre.sh75 tc filter add dev $h3 ingress pref 77 prot $prot \
81 tc filter del dev $h3 ingress pref 77
91 mirror_install $swp1 ingress gt4 "matchall $tcflags"
93 quick_test_span_gre_dir gt4 ingress
96 mirror_uninstall $swp1 ingress
97 fail_test_span_gre_dir gt4 ingress
100 mirror_install $swp1 ingress gt4 "matchall $tcflags"
102 quick_test_span_gre_dir gt4 ingress
105 mirror_uninstall $swp1 ingress
111 full_test_span_gre_dir gt4 ingress 8 0 "mirror to gretap"
[all …]
Dtc_actions.sh56 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
65 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
75 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
94 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
106 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
107 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
120 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
122 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
[all …]
Dmirror_gre_nh.sh78 mirror_install $swp1 ingress gt4 "matchall $tcflags"
84 fail_test_span_gre_dir gt4 ingress
87 quick_test_span_gre_dir gt4 ingress
90 mirror_uninstall $swp1 ingress
98 mirror_install $swp1 ingress gt6 "matchall $tcflags"
99 quick_test_span_gre_dir gt6 ingress
100 mirror_uninstall $swp1 ingress
107 slow_path_trap_install $swp1 ingress
113 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_lib.sh64 tc filter add dev $h3 ingress pref 77 prot 802.1q \
68 tc filter del dev $h3 ingress pref 77
111 mirror_install $swp1 ingress $tundev "matchall $tcflags"
112 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2
116 fail_test_span_gre_dir_ips $tundev ingress $ip1 $ip2
120 quick_test_span_gre_dir_ips $tundev ingress $ip1 $ip2
122 mirror_uninstall $swp1 ingress
Dmirror_gre_neigh.sh69 fail_test_span_gre_dir $tundev ingress
71 quick_test_span_gre_dir $tundev ingress
79 test_span_gre_neigh 192.0.2.130 gt4 ingress "mirror to gretap"
85 test_span_gre_neigh 2001:db8:2::2 gt6 ingress "mirror to ip6gretap"
91 slow_path_trap_install $swp1 ingress
97 slow_path_trap_uninstall $swp1 ingress
Dmirror_vlan.sh75 test_vlan_dir ingress 8 0
99 test_tagged_vlan_dir ingress 8 0
105 slow_path_trap_install $swp1 ingress
107 trap_install $h3 ingress
111 trap_uninstall $h3 ingress
113 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bridge_1q_lag.sh193 trap_install $h3 ingress
194 trap_install $h4 ingress
201 trap_uninstall $h4 ingress
202 trap_uninstall $h3 ingress
223 mirror_install $swp1 ingress gt4 \
242 mirror_uninstall $swp1 ingress
259 slow_path_trap_install $swp1 ingress
265 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_lag_lacp.sh192 trap_install $h3 ingress
193 trap_install $h4 ingress
200 trap_uninstall $h4 ingress
201 trap_uninstall $h3 ingress
220 mirror_install $swp1 ingress gt4 \
236 mirror_uninstall $swp1 ingress
261 slow_path_trap_install $swp1 ingress
267 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bridge_1q.sh90 full_test_span_gre_dir gt4 ingress 8 0 "mirror to gretap"
96 full_test_span_gre_dir gt6 ingress 8 0 "mirror to ip6gretap"
102 slow_path_trap_install $swp1 ingress
108 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bridge_1d.sh96 full_test_span_gre_dir gt4 ingress 8 0 "mirror to gretap"
102 full_test_span_gre_dir gt6 ingress 8 0 "mirror to ip6gretap"
108 slow_path_trap_install $swp1 ingress
114 slow_path_trap_uninstall $swp1 ingress
Dlib.sh493 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
607 tc filter $add_del dev "$tundev" ingress \
640 tc filter $add_del dev "$dev" ingress \
703 tc filter add dev $dev ingress \
822 tc qdisc add dev $host1_if ingress
823 tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \
829 tc -j -s filter show dev $host1_if ingress \
844 tc -j -s filter show dev $host1_if ingress \
869 tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower
870 tc qdisc del dev $host1_if ingress
[all …]
Dmirror_gre_flower.sh99 full_test_span_gre_dir_acl gt4 ingress 8 0 192.0.2.4 "ACL mirror to gretap"
105 full_test_span_gre_dir_acl gt6 ingress 8 0 192.0.2.4 "ACL mirror to ip6gretap"
113 slow_path_trap_install $swp1 ingress
119 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bridge_1d_vlan.sh71 full_test_span_gre_dir_vlan $tundev ingress "$vlan_match" 8 0 "$what"
99 slow_path_trap_install $swp1 ingress
105 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_vlan.sh62 full_test_span_gre_dir gt4 ingress 8 0 "mirror to gretap"
68 slow_path_trap_install $swp1 ingress
74 slow_path_trap_uninstall $swp1 ingress
Dmirror_gre_bound.sh188 full_test_span_gre_dir gt4 ingress 8 0 "mirror to gretap w/ UL"
194 full_test_span_gre_dir gt6 ingress 8 0 "mirror to ip6gretap w/ UL"
202 slow_path_trap_install $swp1 ingress
208 slow_path_trap_uninstall $swp1 ingress
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh48 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
57 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
72 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
80 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
105 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
113 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
122 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
130 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/Linux-v4.19/tools/testing/selftests/drivers/net/mlxsw/
Dmirror_gre.sh121 mirror_install $swp1 ingress $tundev "matchall $tcflags"
122 fail_test_span_gre_dir $tundev ingress
126 quick_test_span_gre_dir $tundev ingress
127 mirror_uninstall $swp1 ingress
141 mirror_install $swp1 ingress $tundev "matchall $tcflags"
142 fail_test_span_gre_dir $tundev ingress
145 quick_test_span_gre_dir $tundev ingress
146 mirror_uninstall $swp1 ingress
159 mirror_install $swp1 ingress $tundev "matchall $tcflags"
161 fail_test_span_gre_dir $tundev ingress
[all …]
Drouter_scale.sh21 tc qdisc add dev $h2 handle ffff: ingress
26 tc qdisc del dev $h2 handle ffff: ingress
126 tc filter add dev $h2 ingress protocol ip pref 1 flower \
150 tc filter del dev $h2 ingress protocol ip pref 1 flower \
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c983 if (!IS_ERR_OR_NULL(vport->ingress.acl)) in esw_vport_enable_ingress_acl()
1007 vport->ingress.acl = acl; in esw_vport_enable_ingress_acl()
1025 vport->ingress.allow_untagged_spoofchk_grp = g; in esw_vport_enable_ingress_acl()
1040 vport->ingress.allow_untagged_only_grp = g; in esw_vport_enable_ingress_acl()
1056 vport->ingress.allow_spoofchk_only_grp = g; in esw_vport_enable_ingress_acl()
1069 vport->ingress.drop_grp = g; in esw_vport_enable_ingress_acl()
1073 if (!IS_ERR_OR_NULL(vport->ingress.allow_spoofchk_only_grp)) in esw_vport_enable_ingress_acl()
1075 vport->ingress.allow_spoofchk_only_grp); in esw_vport_enable_ingress_acl()
1076 if (!IS_ERR_OR_NULL(vport->ingress.allow_untagged_only_grp)) in esw_vport_enable_ingress_acl()
1078 vport->ingress.allow_untagged_only_grp); in esw_vport_enable_ingress_acl()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c45 bool ingress; member
135 if (!binding->ingress) in mlxsw_sp_acl_block_is_egress_bound()
157 binding->mlxsw_sp_port, binding->ingress); in mlxsw_sp_acl_ruleset_bind()
169 binding->mlxsw_sp_port, binding->ingress); in mlxsw_sp_acl_ruleset_unbind()
235 struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) in mlxsw_sp_acl_block_lookup() argument
241 binding->ingress == ingress) in mlxsw_sp_acl_block_lookup()
249 bool ingress) in mlxsw_sp_acl_block_bind() argument
254 if (WARN_ON(mlxsw_sp_acl_block_lookup(block, mlxsw_sp_port, ingress))) in mlxsw_sp_acl_block_bind()
261 binding->ingress = ingress; in mlxsw_sp_acl_block_bind()
280 bool ingress) in mlxsw_sp_acl_block_unbind() argument
[all …]
Dcore_acl_flex_actions.h25 bool ingress, int *p_span_id);
27 bool ingress);
52 bool ingress,

123