Home
last modified time | relevance | path

Searched refs:pref (Results 1 – 25 of 129) sorted by relevance

123456

/linux/tools/testing/selftests/net/forwarding/
A 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 \
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 \
84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
110 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
118 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
A Dtc_actions.sh62 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
71 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
83 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
92 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
113 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
151 tc filter del dev $swp1 ingress protocol ip pref 3 handle 103 flower
152 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
153 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
[all …]
A Dtc_police.sh130 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
150 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
162 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
174 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
225 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
226 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
227 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
281 tc filter del dev $h3 ingress protocol ip pref 1 handle 101 flower
282 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
322 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
[all …]
A 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
133 tc filter add dev $h2 ingress protocol ip pref 1 handle 1101 \
137 tc filter add dev $h2 ingress protocol ip pref 1 handle 1102 \
154 tc filter del dev $h2 ingress protocol ip pref 1 handle 1102 \
[all …]
A Drouter_multicast.sh266 tc filter del dev $h3 ingress protocol ip pref 1 handle 133 flower
267 tc filter del dev $h2 ingress protocol ip pref 1 handle 122 flower
323 tc filter add dev $h1 ingress protocol ip pref 1 handle 1 flower \
325 tc filter add dev $h2 ingress protocol ip pref 1 handle 1 flower \
327 tc filter add dev $h3 ingress protocol ip pref 1 handle 1 flower \
356 tc filter del dev $rp3 ingress protocol ip pref 1 handle 1 flower
357 tc filter del dev $h3 ingress protocol ip pref 1 handle 1 flower
358 tc filter del dev $h2 ingress protocol ip pref 1 handle 1 flower
359 tc filter del dev $h1 ingress protocol ip pref 1 handle 1 flower
402 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 1 flower
[all …]
A Dlib.sh501 ip -4 rule del pref 0
503 ip -6 rule del pref 0
509 ip -6 rule del pref 32765
511 ip -4 rule del pref 32765
722 local pref=$1; shift
726 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
932 local pref=$1; shift
938 proto ip$vsuf pref $pref \
966 local pref=$1; shift
971 proto 802.1q pref $pref \
[all …]
A Dtc_vlan_modify.sh113 tc filter add dev $swp1 ingress protocol all pref 1 handle 1 \
115 tc filter add dev $swp2 ingress protocol all pref 1 handle 1 \
126 tc filter del dev $swp2 ingress protocol all pref 1 handle 1 flower
127 tc filter del dev $swp1 ingress protocol all pref 1 handle 1 flower
140 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 \
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
A Dpedit_dsfield.sh156 tc filter add $pedit_locus handle 101 pref 1 \
158 tc filter add dev $h2 ingress handle 101 pref 1 prot $match_prot \
163 tc filter del dev $h2 ingress pref 1
164 tc filter del $pedit_locus pref 1
228 tc filter add $locus handle 101 pref 1 \
231 tc filter add dev $h2 ingress handle 101 pref 1 prot ip \
237 tc filter del dev $h2 ingress pref 1
238 tc filter del $locus pref 1
A Dtc_shblocks.sh53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
68 tc filter del block 22 protocol ip pref 1 handle 101 flower
77 tc filter add block 22 protocol ip pref 1 handle 101 flower \
79 tc filter add block 22 protocol ip pref 2 handle 102 flower \
94 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter del block 22 protocol ip pref 2 handle 102 flower
A Drouter.sh179 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
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 \
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 \
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 \
288 tc filter del dev $rp2 egress protocol ipv6 pref 1 handle 101 flower
297 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
312 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
A Dmirror_lib.sh11 pref 1000 $filter \
20 tc filter del dev $swp1 $direction pref 1000
36 local pref=$1; shift
47 local t0=$(tc_rule_stats_get $dev $pref)
51 local t1=$(tc_rule_stats_get $dev $pref)
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dtc_restrictions.sh47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
73 tc filter add block 22 protocol ip pref 1 handle 101 flower \
77 tc filter del block 22 protocol ip pref 1 handle 101 flower
95 tc filter add block 22 protocol ip pref 1 handle 101 flower \
108 tc filter del block 22 protocol ip pref 1 handle 101 flower
113 tc filter add block 22 protocol ip pref 1 handle 101 flower \
123 tc filter add block 22 protocol ip pref 1 handle 101 flower \
130 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
A Dtc_sample.sh250 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
267 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
295 tc filter del dev $rp1 ingress protocol all pref 1 handle 101 matchall
303 tc filter del dev $rp1 ingress protocol all pref 2 handle 102 matchall
570 tc filter del dev $rp1 ingress protocol ip pref 2 handle 102 flower
571 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
585 tc filter add dev $port $bind protocol ip pref 1 handle 101 flower \
603 tc filter del dev $port $bind protocol ip pref 1 handle 101 flower
605 tc filter add dev $port $bind protocol ip pref 1 handle 101 flower \
621 tc filter del dev $port $bind protocol ip pref 1 handle 101 flower
[all …]
A Done_armed_router.sh134 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
138 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 \
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
172 tc filter del dev $swp1 ingress 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 \
213 tc filter del dev $swp2 egress protocol ipv6 pref 2 handle 102 flower
214 tc filter del dev $swp2 egress protocol ipv6 pref 1 handle 101 flower
[all …]
A Dtc_police_occ.sh70 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
76 tc filter del dev $swp1 ingress pref 1 handle 101 flower
80 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \
84 tc filter add dev $swp1 ingress pref 2 handle 102 proto ip \
90 tc filter del dev $swp1 ingress pref 2 handle 102 flower
94 tc filter del dev $swp1 ingress pref 1 handle 101 flower
A Drif_mac_profiles.sh112 tc filter add dev $rp2 egress proto ip pref 1 handle 101 \
118 tc filter add dev $h2 ingress proto ip pref 1 handle 101 \
133 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
134 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
147 tc filter add dev $rp1 egress proto ip pref 1 handle 101 \
151 tc filter add dev $h1 ingress proto ip pref 1 handle 101 \
166 tc filter del dev $h1 ingress protocol ip pref 1 handle 101 flower
167 tc filter del dev $rp1 egress protocol ip pref 1 handle 101 flower
A Ddevlink_trap_acl_drops.sh98 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
101 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 \
114 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
123 tc filter add dev $swp2 egress protocol ip pref 2 handle 102 \
126 tc filter add dev $swp2 egress protocol ip pref 1 handle 101 \
139 tc filter del dev $swp2 egress protocol ip pref 1 handle 101 flower
A Ddevlink_trap_l3_drops.sh174 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
203 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
238 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
272 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
307 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
338 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
390 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
436 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
475 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
500 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A Dtc_flower.sh124 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
132 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
285 tc filter del dev $h2 ingress protocol ip pref $index \
901 pref 2 handle $index flower \
908 pref 1 handle $((++index)) flower \
911 pref 1 handle $((++index)) flower \
914 pref 1 handle $((++index)) flower \
917 pref 1 handle $((++index)) flower \
920 pref 1 handle $((++index)) flower \
937 pref 2 handle $index flower
[all …]
/linux/tools/testing/selftests/drivers/net/ocelot/
A Dtc_flower_chains.sh135 tc filter add dev $eth ingress chain 0 pref 49152 flower \
137 tc filter add dev $eth ingress chain $(IS1 0) pref 49152 \
139 tc filter add dev $eth ingress chain $(IS1 1) pref 49152 \
177 tc filter add dev $eth0 ingress chain $(IS1 1) pref 1 \
182 tc filter add dev $eth0 egress chain $(ES0) pref 1 \
186 tc filter add dev $eth0 ingress chain $(IS1 0) pref 2 \
191 tc filter add dev $eth0 ingress chain $(IS2 0 0) pref 1 \
259 tc filter add dev $eth0 ingress chain $(IS1 2) pref 3 \
280 tc filter del dev $eth0 ingress chain $(IS1 2) pref 3
298 tc filter add dev $eth1 egress chain $(ES0) pref 3 \
[all …]
/linux/Documentation/networking/devlink/
A Dprestera.rst81 - Traps packets that have ACL priority set to 0 (tc pref 0)
84 - Traps packets that have ACL priority set to 1 (tc pref 1)
87 - Traps packets that have ACL priority set to 2 (tc pref 2)
90 - Traps packets that have ACL priority set to 3 (tc pref 3)
93 - Traps packets that have ACL priority set to 4 (tc pref 4)
96 - Traps packets that have ACL priority set to 5 (tc pref 5)
99 - Traps packets that have ACL priority set to 6 (tc pref 6)
102 - Traps packets that have ACL priority set to 7 (tc pref 7)
/linux/drivers/net/ethernet/ibm/ehea/
A Dehea_qmr.h232 void *pref; in hw_qeit_get_inc_valid() local
237 pref = hw_qeit_calc(queue, queue->current_q_offset); in hw_qeit_get_inc_valid()
238 prefetch(pref); in hw_qeit_get_inc_valid()
239 prefetch(pref + 128); in hw_qeit_get_inc_valid()
248 void *pref; in hw_qeit_get_valid() local
251 pref = hw_qeit_calc(queue, queue->current_q_offset); in hw_qeit_get_valid()
252 prefetch(pref); in hw_qeit_get_valid()
253 prefetch(pref + 128); in hw_qeit_get_valid()
254 prefetch(pref + 256); in hw_qeit_get_valid()
/linux/tools/testing/selftests/bpf/
A Dtest_flow_dissector.sh73 tc filter del dev lo ingress pref 1337 2> /dev/null
108 tc filter add dev lo parent ffff: protocol ip pref 1337 flower ip_proto \
140 tc filter del dev lo ingress pref 1337
144 tc filter add dev lo parent ffff: protocol ip pref 1337 flower ip_proto \
154 tc filter del dev lo ingress pref 1337
158 tc filter add dev lo parent ffff: protocol ipv6 pref 1337 flower ip_proto \
/linux/tools/testing/selftests/net/
A Dfib_rule_tests.sh99 pref=$($IP -6 rule show | grep "$1 lookup $TABLE" | cut -d ":" -f 1)
100 $IP -6 rule del pref $pref
168 pref=$($IP rule show | grep "$1 lookup $TABLE" | cut -d ":" -f 1)
169 $IP rule del pref $pref
/linux/net/core/
A Dfib_rules.c56 u32 pref, u32 table, u32 flags) in fib_default_rule_add() argument
66 r->pref = pref; in fib_default_rule_add()
92 if (rule->pref) in fib_default_rule_pref()
93 return rule->pref - 1; in fib_default_rule_pref()
432 if (user_priority && r->pref != rule->pref) in rule_find()
698 if (r->pref != rule->pref) in rule_exists()
803 if (r->pref == rule->target) { in fib_nl_newrule()
813 if (r->pref > rule->pref) in fib_nl_newrule()
830 r->target == rule->pref && in fib_nl_newrule()
934 if (&n->list == &ops->rules_list || n->pref != rule->pref) in fib_nl_delrule()
[all …]

Completed in 41 milliseconds

123456