Home
last modified time | relevance | path

Searched full:ingress (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dtc_flower.sh44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
52 tc_check_packets "dev $h2 ingress" 101 1
55 tc_check_packets "dev $h2 ingress" 102 0
58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
78 tc_check_packets "dev $h2 ingress" 101 1
81 tc_check_packets "dev $h2 ingress" 102 0
[all …]
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
44 tc_check_packets "dev $h2 ingress" 1101 1
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 \
67 tc_check_packets "dev $h2 ingress" 102 1
70 tc_check_packets "dev $h2 ingress" 101 1
73 tc_check_packets "dev $h2 ingress" 1101 1
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
Dmirror_gre_changes.sh75 mirror_install $swp1 ingress $tundev \
77 tc filter add dev $h3 ingress pref 77 prot $prot \
87 tc filter del dev $h3 ingress pref 77
88 mirror_uninstall $swp1 ingress
101 mirror_install $swp1 ingress $tundev "matchall $tcflags"
102 fail_test_span_gre_dir $tundev ingress
106 quick_test_span_gre_dir $tundev ingress
107 mirror_uninstall $swp1 ingress
121 mirror_install $swp1 ingress $tundev "matchall $tcflags"
122 fail_test_span_gre_dir $tundev ingress
[all …]
Dtc_flower_cfm.sh60 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \
62 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \
70 tc_check_packets "dev $h2 ingress" 101 1
73 tc_check_packets "dev $h2 ingress" 102 0
79 tc_check_packets "dev $h2 ingress" 101 1
82 tc_check_packets "dev $h2 ingress" 102 1
85 tc filter del dev $h2 ingress protocol cfm pref 1 handle 101 flower
86 tc filter del dev $h2 ingress protocol cfm pref 1 handle 102 flower
96 tc filter add dev $h2 ingress protocol cfm pref 1 handle 101 \
98 tc filter add dev $h2 ingress protocol cfm pref 1 handle 102 \
[all …]
Dtc_actions.sh65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
71 tc_check_packets "dev $h2 ingress" 101 1
74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc_check_packets "dev $h2 ingress" 101 1
84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
101 tc_check_packets "dev $swp1 ingress" 102 1
104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
110 tc_check_packets "dev $swp1 ingress" 101 1
[all …]
Drouter_multicast.sh50 tc qdisc add dev $h1 ingress
55 tc qdisc del dev $h1 ingress
76 tc qdisc add dev $h2 ingress
81 tc qdisc del dev $h2 ingress
102 tc qdisc add dev $h3 ingress
107 tc qdisc del dev $h3 ingress
132 tc qdisc add dev $rp3 ingress
137 tc qdisc del dev $rp3 ingress
240 tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \
242 tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dtc_flower.sh41 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
43 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
49 tc_check_packets "dev $h2 ingress" 101 1
52 tc_check_packets "dev $h2 ingress" 102 0
55 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
56 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
67 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
75 tc_check_packets "dev $h2 ingress" 101 1
78 tc_check_packets "dev $h2 ingress" 102 0
[all …]
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
44 tc_check_packets "dev $h2 ingress" 1101 1
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 \
67 tc_check_packets "dev $h2 ingress" 102 1
70 tc_check_packets "dev $h2 ingress" 101 1
73 tc_check_packets "dev $h2 ingress" 1101 1
76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
Dmirror_gre_changes.sh75 mirror_install $swp1 ingress $tundev \
77 tc filter add dev $h3 ingress pref 77 prot $prot \
87 tc filter del dev $h3 ingress pref 77
88 mirror_uninstall $swp1 ingress
101 mirror_install $swp1 ingress $tundev "matchall $tcflags"
102 fail_test_span_gre_dir $tundev ingress
106 quick_test_span_gre_dir $tundev ingress
107 mirror_uninstall $swp1 ingress
121 mirror_install $swp1 ingress $tundev "matchall $tcflags"
122 fail_test_span_gre_dir $tundev ingress
[all …]
Drouter_multicast.sh50 tc qdisc add dev $h1 ingress
55 tc qdisc del dev $h1 ingress
76 tc qdisc add dev $h2 ingress
81 tc qdisc del dev $h2 ingress
102 tc qdisc add dev $h3 ingress
107 tc qdisc del dev $h3 ingress
132 tc qdisc add dev $rp3 ingress
137 tc qdisc del dev $rp3 ingress
240 tc filter add dev $h2 ingress protocol ip pref 1 handle 122 flower \
242 tc filter add dev $h3 ingress protocol ip pref 1 handle 133 flower \
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c11 if (vport->ingress.legacy.drop_rule) { in esw_acl_ingress_lgcy_rules_destroy()
12 mlx5_del_flow_rules(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_rules_destroy()
13 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_rules_destroy()
42 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
45 esw_warn(dev, "vport[%d] ingress create untagged spoofchk flow group, err(%d)\n", in esw_acl_ingress_lgcy_groups_create()
49 vport->ingress.legacy.allow_untagged_spoofchk_grp = g; in esw_acl_ingress_lgcy_groups_create()
58 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
61 esw_warn(dev, "vport[%d] ingress create untagged flow group, err(%d)\n", in esw_acl_ingress_lgcy_groups_create()
65 vport->ingress.legacy.allow_untagged_only_grp = g; in esw_acl_ingress_lgcy_groups_create()
75 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
[all …]
Dingress_ofld.c43 if (vport->ingress.offloads.modify_metadata_rule) { in esw_acl_ingress_prio_tag_create()
45 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata; in esw_acl_ingress_prio_tag_create()
48 vport->ingress.allow_rule = mlx5_add_flow_rules(vport->ingress.acl, spec, in esw_acl_ingress_prio_tag_create()
50 if (IS_ERR(vport->ingress.allow_rule)) { in esw_acl_ingress_prio_tag_create()
51 err = PTR_ERR(vport->ingress.allow_rule); in esw_acl_ingress_prio_tag_create()
53 "vport[%d] configure ingress untagged allow rule, err(%d)\n", in esw_acl_ingress_prio_tag_create()
55 vport->ingress.allow_rule = NULL; in esw_acl_ingress_prio_tag_create()
82 vport->ingress.offloads.modify_metadata = in esw_acl_ingress_mod_metadata_create()
85 if (IS_ERR(vport->ingress.offloads.modify_metadata)) { in esw_acl_ingress_mod_metadata_create()
86 err = PTR_ERR(vport->ingress.offloads.modify_metadata); in esw_acl_ingress_mod_metadata_create()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_lgcy.c11 if (vport->ingress.legacy.drop_rule) { in esw_acl_ingress_lgcy_rules_destroy()
12 mlx5_del_flow_rules(vport->ingress.legacy.drop_rule); in esw_acl_ingress_lgcy_rules_destroy()
13 vport->ingress.legacy.drop_rule = NULL; in esw_acl_ingress_lgcy_rules_destroy()
42 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
45 esw_warn(dev, "vport[%d] ingress create untagged spoofchk flow group, err(%d)\n", in esw_acl_ingress_lgcy_groups_create()
49 vport->ingress.legacy.allow_untagged_spoofchk_grp = g; in esw_acl_ingress_lgcy_groups_create()
58 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
61 esw_warn(dev, "vport[%d] ingress create untagged flow group, err(%d)\n", in esw_acl_ingress_lgcy_groups_create()
65 vport->ingress.legacy.allow_untagged_only_grp = g; in esw_acl_ingress_lgcy_groups_create()
75 g = mlx5_create_flow_group(vport->ingress.acl, flow_group_in); in esw_acl_ingress_lgcy_groups_create()
[all …]
Dingress_ofld.c46 if (vport->ingress.offloads.modify_metadata_rule) { in esw_acl_ingress_prio_tag_create()
48 flow_act.modify_hdr = vport->ingress.offloads.modify_metadata; in esw_acl_ingress_prio_tag_create()
51 vport->ingress.allow_rule = mlx5_add_flow_rules(vport->ingress.acl, spec, in esw_acl_ingress_prio_tag_create()
53 if (IS_ERR(vport->ingress.allow_rule)) { in esw_acl_ingress_prio_tag_create()
54 err = PTR_ERR(vport->ingress.allow_rule); in esw_acl_ingress_prio_tag_create()
56 "vport[%d] configure ingress untagged allow rule, err(%d)\n", in esw_acl_ingress_prio_tag_create()
58 vport->ingress.allow_rule = NULL; in esw_acl_ingress_prio_tag_create()
85 vport->ingress.offloads.modify_metadata = in esw_acl_ingress_mod_metadata_create()
88 if (IS_ERR(vport->ingress.offloads.modify_metadata)) { in esw_acl_ingress_mod_metadata_create()
89 err = PTR_ERR(vport->ingress.offloads.modify_metadata); in esw_acl_ingress_mod_metadata_create()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dingress.json4 "name": "Add ingress qdisc",
7 "ingress"
12 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress",
15 "matchPattern": "qdisc ingress ffff:",
18 "$TC qdisc del dev $DUMMY ingress",
24 "name": "Add ingress qdisc with unsupported argument",
27 "ingress"
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress foorbar",
35 "matchPattern": "qdisc ingress ffff:",
43 "name": "Add duplicate ingress qdisc",
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/filters/
Du32.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32…
17 "verifyCmd": "$TC filter show dev $DEV1 ingress",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
39 "verifyCmd": "$TC filter show dev $DEV1 ingress",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress",
58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti…
[all …]
Dtests.json14 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok"
16 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall",
18 "verifyCmd": "$TC filter show dev $DEV1 ingress",
33 "$TC qdisc add dev $DEV2 ingress"
35 …"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress handle 0xffffffff flower acti…
37 "verifyCmd": "$TC filter show dev $DEV2 ingress",
41 "$TC qdisc del dev $DEV2 ingress"
55 "$TC qdisc add dev $DEV2 ingress",
64 "$TC qdisc del dev $DEV2 ingress",
79 "$TC qdisc add dev $DEV2 ingress",
[all …]
Dfw.json13 "$TC qdisc add dev $DEV1 ingress"
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
43 "$TC qdisc del dev $DEV1 ingress"
162 "$TC qdisc add dev $DEV1 ingress"
170 "$TC qdisc del dev $DEV1 ingress"
182 "$TC qdisc add dev $DEV1 ingress",
192 "$TC qdisc del dev $DEV1 ingress",
205 "$TC qdisc add dev $DEV1 ingress"
213 "$TC qdisc del dev $DEV1 ingress"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/
Du32.json13 "$TC qdisc add dev $DEV1 ingress"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32…
17 "verifyCmd": "$TC filter show dev $DEV1 ingress",
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.…
39 "verifyCmd": "$TC filter show dev $DEV1 ingress",
43 "$TC qdisc del dev $DEV1 ingress"
57 "$TC qdisc add dev $DEV1 ingress",
58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti…
[all …]
Dtests.json14 "$TC filter add dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall action ok"
16 … "cmdUnderTest": "$TC filter get dev $DEV1 protocol all pref 1 ingress handle 0x1234 matchall",
18 "verifyCmd": "$TC filter show dev $DEV1 ingress",
33 "$TC qdisc add dev $DEV2 ingress"
35 …"cmdUnderTest": "$TC filter add dev $DEV2 protocol ip pref 1 ingress handle 0xffffffff flower acti…
37 "verifyCmd": "$TC filter show dev $DEV2 ingress",
41 "$TC qdisc del dev $DEV2 ingress"
55 "$TC qdisc add dev $DEV2 ingress",
64 "$TC qdisc del dev $DEV2 ingress",
79 "$TC qdisc add dev $DEV2 ingress",
[all …]
Dfw.json13 "$TC qdisc add dev $DEV1 ingress"
21 "$TC qdisc del dev $DEV1 ingress"
35 "$TC qdisc add dev $DEV1 ingress"
43 "$TC qdisc del dev $DEV1 ingress"
162 "$TC qdisc add dev $DEV1 ingress"
170 "$TC qdisc del dev $DEV1 ingress"
182 "$TC qdisc add dev $DEV1 ingress",
192 "$TC qdisc del dev $DEV1 ingress",
205 "$TC qdisc add dev $DEV1 ingress"
213 "$TC qdisc del dev $DEV1 ingress"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dingress.json4 "name": "Add ingress qdisc",
7 "ingress"
12 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress",
15 "matchPattern": "qdisc ingress ffff:",
18 "$TC qdisc del dev $DUMMY ingress",
24 "name": "Add ingress qdisc with unsupported argument",
27 "ingress"
32 "cmdUnderTest": "$TC qdisc add dev $DUMMY ingress foorbar",
35 "matchPattern": "qdisc ingress ffff:",
43 "name": "Add duplicate ingress qdisc",
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
107 tc_check_packets "dev $h2 ingress" 101 1
110 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
116 tc_check_packets "dev $h2 ingress" 101 2
122 tc_check_packets "dev $h2 ingress" 102 1
125 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
130 tc_check_packets "dev $h2 ingress" 102 2
133 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
147 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
149 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh101 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
107 tc_check_packets "dev $h2 ingress" 101 1
110 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
116 tc_check_packets "dev $h2 ingress" 101 2
122 tc_check_packets "dev $h2 ingress" 102 1
125 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
130 tc_check_packets "dev $h2 ingress" 102 2
133 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
147 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
149 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
Dtc_actions.sh65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
71 tc_check_packets "dev $h2 ingress" 101 1
74 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc_check_packets "dev $h2 ingress" 101 1
84 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
101 tc_check_packets "dev $swp1 ingress" 102 1
104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
110 tc_check_packets "dev $swp1 ingress" 101 1
[all …]

12345678910>>...38