Home
last modified time | relevance | path

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

12345

/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 \
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 \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
82 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
91 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
93 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 \
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 \
[all …]
Dtc_actions.sh60 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
69 tc filter add dev $swp1 ingress protocol $protocol pref 1 handle 101 \
79 tc filter del dev $swp1 ingress protocol $protocol pref 1 handle 101 \
81 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
90 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
99 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
111 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower
112 tc filter del dev $swp1 ingress protocol ip pref 1 handle 101 flower
125 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \
127 tc filter add dev $swp1 ingress protocol ip pref 3 handle 103 flower \
[all …]
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
156 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
162 tc filter del dev $rp1 ingress protocol ip pref 1 handle 101 flower
168 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
174 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
205 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
210 tc filter add dev $rp1 ingress protocol ip pref 1 handle 101 flower \
217 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 flower \
225 tc filter del dev $rp2 egress protocol ip pref 1 handle 101 flower
[all …]
Drouter_multicast.sh240 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 \
266 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
280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \
282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \
306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower
307 tc filter del dev $h2 ingress protocol ipv6 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 \
[all …]
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
Dlib.sh408 ip -4 rule add pref 32765 table local
409 ip -4 rule del pref 0
410 ip -6 rule add pref 32765 table local
411 ip -6 rule del pref 0
416 ip -6 rule add pref 0 table local
417 ip -6 rule del pref 32765
418 ip -4 rule add pref 0 table local
419 ip -4 rule del pref 32765
630 local pref=$1; shift
634 tc -j -s filter show dev $dev ${dir:-ingress} pref $pref \
[all …]
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
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
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)
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
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh44 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 tc filter del block 22 protocol ip pref 1 handle 101 flower
61 tc filter add block 22 protocol ip pref 1 handle 101 flower \
70 tc filter add block 22 protocol ip pref 1 handle 101 flower \
74 tc filter del block 22 protocol ip pref 1 handle 101 flower
92 tc filter add block 22 protocol ip pref 1 handle 101 flower \
105 tc filter del block 22 protocol ip pref 1 handle 101 flower
110 tc filter add block 22 protocol ip pref 1 handle 101 flower \
120 tc filter add block 22 protocol ip pref 1 handle 101 flower \
127 tc filter add block 22 protocol ip pref 1 handle 101 flower \
[all …]
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
177 tc filter add dev $swp1 ingress protocol ipv6 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
[all …]
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
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
Dvxlan_flooding.sh178 tc filter add dev br0 egress protocol all pref 1 handle 1 \
181 tc filter add dev $h1 egress protocol all pref 1 handle 1 \
183 tc filter add dev $h1 egress protocol all pref 2 handle 2 \
191 tc filter add dev $rp2 ingress protocol ip pref $i handle $i \
203 tc filter del dev $rp2 ingress protocol ip pref $i \
209 tc filter del dev $h1 egress protocol all pref 2 handle 2 matchall
210 tc filter del dev $h1 egress protocol all pref 1 handle 1 flower
212 tc filter del dev br0 egress protocol all pref 1 handle 1 matchall
Ddevlink_trap_l3_drops.sh173 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
202 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
237 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
271 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
306 tc filter add dev $rp2 egress protocol $proto pref 1 handle 101 \
337 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
389 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
435 tc filter add dev $rp2 egress protocol ip pref 1 handle 101 \
474 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
499 tc filter add dev $rp2 egress protocol ipv6 pref 1 handle 101 \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh100 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
109 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
124 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
146 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \
148 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \
157 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower
165 tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \
174 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower
182 tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/
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 \
141 tc filter add dev $eth ingress chain $(IS1 2) pref 49152 \
153 tc filter add dev $eth ingress chain $(IS2 0 0) pref 49152 \
172 tc filter add dev $eth0 ingress chain $(IS1 1) pref 1 \
177 tc filter add dev $eth0 egress chain $(ES0) pref 1 \
181 tc filter add dev $eth0 ingress chain $(IS1 0) pref 2 \
186 tc filter add dev $eth0 ingress chain $(IS2 0 0) pref 1 \
254 tc filter add dev $eth0 ingress chain $(IS1 2) pref 3 \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
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 \
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dfib_rule_tests.sh96 pref=$($IP -6 rule show | grep "$1 lookup $TABLE" | cut -d ":" -f 1)
97 $IP -6 rule del pref $pref
165 pref=$($IP rule show | grep "$1 lookup $TABLE" | cut -d ":" -f 1)
166 $IP rule del pref $pref
/kernel/linux/linux-5.10/include/linux/
Dipv6_route.h14 #define IPV6_DECODE_PREF(pref) ((pref) ^ 2) /* 1:low,2:med,3:high */ argument
/kernel/linux/linux-5.10/net/core/
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()
553 nlrule->pref = nla_get_u32(tb[FRA_PRIORITY]); in fib_nl2rule()
556 nlrule->pref = fib_default_rule_pref(ops); in fib_nl2rule()
623 if (nlrule->target <= nlrule->pref) { in fib_nl2rule()
698 if (r->pref != rule->pref) in rule_exists()
803 if (r->pref == rule->target) { in fib_nl_newrule()
[all …]
/kernel/linux/linux-5.10/lib/fonts/
Dfont_sun8x16.c273 .pref = 10,
275 .pref = -1,

12345