Home
last modified time | relevance | path

Searched full:quantum (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.14.4/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dfq_codel.json17 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms …
38 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i…
59 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms …
80 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 2ms …
101 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms …
109 "name": "Create FQ_CODEL with quantum setting",
119 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq_codel quantum 9000",
122 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum 9000 target …
143 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms …
164 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms …
[all …]
Dsfq.json17 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum.*depth 127 divisor 1024",
67 "name": "Create SFQ with quantum setting",
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfq quantum 9000",
80 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 9000b depth 127 divisor 1024",
101 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 divisor 512",
143 … "matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 64 divisor 1024",
164 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
185 …"matchPattern": "qdisc sfq 1: root refcnt [0-9]+ limit 127p quantum 1514b depth 127 headdrop divis…
Dets.json475 "matchPattern": "class ets 1:1 root quantum 4000",
496 "matchPattern": "class ets 1:2 root quantum 3000",
517 "matchPattern": "class ets 1:3 root quantum 2000",
906 "name": "Change ETS band quantum",
917 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:1 ets quantum 1500",
927 "name": "Change ETS band without quantum",
948 "name": "Change quantum of a strict ETS band",
959 "cmdUnderTest": "$TC class change dev $DUMMY classid 1:2 ets quantum 1500",
969 "name": "Change ETS strict band without quantum",
Dhhf.json46 "name": "Create HHF with quantum setting",
56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root hhf quantum 9000",
59 …"matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*quantum 9000b hh_limit 2048 reset_timeout 40ms a…
Dfq.json67 "name": "Create FQ with quantum setting",
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root fq quantum 9000",
80 … "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 10000p flow_limit 100p.*quantum 9000b",
Dhtb.json220 "name": "Create HTB with class quantum setting",
231 … "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20Kbit quantum 2048",
/linux-6.14.4/net/sched/
Dsch_ets.c25 * "quantum" of that band. ETS maintains a list of active bandwidth-sharing
28 * counter. If the counter is too small, it is increased by "quantum" and the
42 u32 quantum; member
78 unsigned int *quantum, in ets_quantum_parse() argument
81 *quantum = nla_get_u32(attr); in ets_quantum_parse()
82 if (!*quantum) { in ets_quantum_parse()
83 NL_SET_ERR_MSG(extack, "ETS quantum cannot be zero"); in ets_quantum_parse()
115 unsigned int quantum; in ets_offload_change() local
132 q_sum += q->classes[i].quantum; in ets_offload_change()
135 quantum = q->classes[i].quantum; in ets_offload_change()
[all …]
Dsch_drr.c27 u32 quantum; member
61 u32 quantum; in drr_change_class() local
75 quantum = nla_get_u32(tb[TCA_DRR_QUANTUM]); in drr_change_class()
76 if (quantum == 0) { in drr_change_class()
77 NL_SET_ERR_MSG(extack, "Specified DRR quantum cannot be zero"); in drr_change_class()
81 quantum = psched_mtu(qdisc_dev(sch)); in drr_change_class()
97 cl->quantum = quantum; in drr_change_class()
109 cl->quantum = quantum; in drr_change_class()
248 if (nla_put_u32(skb, TCA_DRR_QUANTUM, cl->quantum)) in drr_dump_class()
361 cl->deficit = cl->quantum; in drr_enqueue()
[all …]
Dsch_sfq.c135 unsigned int quantum; /* Allotment per round: MUST BE >= MTU */ member
451 /* We could use a bigger initial quantum for new flows */ in sfq_enqueue()
452 slot->allot = q->quantum; in sfq_enqueue()
489 slot->allot += q->quantum; in sfq_dequeue()
591 slot->allot = q->quantum; in sfq_rehash()
635 unsigned int quantum; in sfq_change() local
652 if ((int)ctl->quantum < 0) { in sfq_change()
653 NL_SET_ERR_MSG_MOD(extack, "invalid quantum"); in sfq_change()
673 quantum = q->quantum; in sfq_change()
677 if (ctl->quantum) in sfq_change()
[all …]
Dsch_fq.c106 int quantum; /* based on band nr : 576KB, 192KB, 64KB */ member
115 u32 quantum; member
417 * initial quantum in fq_classify()
586 f->credit = max_t(u32, f->credit, q->quantum); in fq_enqueue()
681 pband->credit = min(pband->credit + pband->quantum, in fq_dequeue()
682 pband->quantum); in fq_dequeue()
696 f->credit += q->quantum; in fq_dequeue()
752 plen = max(plen, q->quantum); in fq_dequeue()
987 WRITE_ONCE(q->band_flows[i].quantum, weights[i]); in fq_load_weights()
1048 u32 quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); in fq_change() local
[all …]
Dsch_fq_codel.c56 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member
213 flow->deficit = q->quantum; in fq_codel_enqueue()
299 flow->deficit += q->quantum; in fq_codel_dequeue()
371 u32 quantum = 0; in fq_codel_change() local
387 quantum = max(256U, nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM])); in fq_codel_change()
388 if (quantum > FQ_CODEL_QUANTUM_MAX) { in fq_codel_change()
389 NL_SET_ERR_MSG(extack, "Invalid quantum"); in fq_codel_change()
431 if (quantum) in fq_codel_change()
432 WRITE_ONCE(q->quantum, quantum); in fq_codel_change()
478 q->quantum = psched_mtu(qdisc_dev(sch)); in fq_codel_init()
[all …]
Dsch_htb.c101 int quantum; /* but stored for parent-to-leaf return */ member
923 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
1266 opt.quantum = cl->quantum; in htb_dump_class()
1898 .quantum = hopt->quantum, in htb_change_class()
1920 .quantum = hopt->quantum, in htb_change_class()
2003 .quantum = hopt->quantum, in htb_change_class()
2027 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class() local
2029 do_div(quantum, q->rate2quantum); in htb_change_class()
2030 cl->quantum = min_t(u64, quantum, INT_MAX); in htb_change_class()
2032 if (!hopt->quantum && cl->quantum < 1000) { in htb_change_class()
[all …]
Dsch_fq_pie.c66 u32 quantum; member
193 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
257 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
345 WRITE_ONCE(q->quantum, nla_get_u32(tb[TCA_FQ_PIE_QUANTUM])); in fq_pie_change()
428 q->quantum = psched_mtu(qdisc_dev(sch)); in fq_pie_init()
491 nla_put_u32(skb, TCA_FQ_PIE_QUANTUM, READ_ONCE(q->quantum)) || in fq_pie_dump()
Dsch_hhf.c130 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member
400 bucket->deficit = weight * q->quantum; in hhf_enqueue()
438 bucket->deficit += weight * q->quantum; in hhf_dequeue()
516 u32 new_quantum = q->quantum; in hhf_change()
539 WRITE_ONCE(q->quantum, new_quantum); in hhf_change()
585 q->quantum = psched_mtu(qdisc_dev(sch)); in hhf_init()
665 nla_put_u32(skb, TCA_HHF_QUANTUM, READ_ONCE(q->quantum)) || in hhf_dump()
Dsch_cake.c2321 u32 quantum = 256; in cake_config_precedence() local
2334 b->tin_quantum = max_t(u16, 1U, quantum); in cake_config_precedence()
2340 quantum *= 7; in cake_config_precedence()
2341 quantum >>= 3; in cake_config_precedence()
2410 u32 quantum = 256; in cake_config_diffserv8() local
2426 b->tin_quantum = max_t(u16, 1U, quantum); in cake_config_diffserv8()
2432 quantum *= 7; in cake_config_diffserv8()
2433 quantum >>= 3; in cake_config_diffserv8()
2454 u32 quantum = 1024; in cake_config_diffserv4() local
2473 q->tins[0].tin_quantum = quantum; in cake_config_diffserv4()
[all …]
Dsch_blackhole.c7 * Note: Quantum tunneling is not supported.
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos.c71 static int otx2_qos_quantum_to_dwrr_weight(struct otx2_nic *pfvf, u32 quantum) in otx2_qos_quantum_to_dwrr_weight() argument
75 weight = quantum / pfvf->hw.dwrr_mtu; in otx2_qos_quantum_to_dwrr_weight()
76 if (quantum % pfvf->hw.dwrr_mtu) in otx2_qos_quantum_to_dwrr_weight()
88 u32 quantum; in otx2_config_sched_shaping() local
97 /* configure prio/quantum */ in otx2_config_sched_shaping()
105 /* configure priority/quantum */ in otx2_config_sched_shaping()
110 quantum = node->quantum ? in otx2_config_sched_shaping()
111 node->quantum : pfvf->tx_max_pktlen; in otx2_config_sched_shaping()
112 rr_weight = otx2_qos_quantum_to_dwrr_weight(pfvf, quantum); in otx2_config_sched_shaping()
477 txschq_node->quantum = 0; in otx2_qos_alloc_txschq_node()
[all …]
/linux-6.14.4/arch/loongarch/include/asm/
Dthread_info.h77 #define TIF_USEDFPU 8 /* FPU was used by this task this quantum (SMP) */
78 #define TIF_USEDSIMD 9 /* SIMD has been used this quantum */
88 #define TIF_USEDLBT 19 /* LBT was used by this task this quantum (SMP) */
/linux-6.14.4/tools/testing/selftests/net/packetdrill/
Dtcp_slow_start_slow-start-fq-ack-per-2pkt.pkt40 // So FQ will allow following packet to be sent a bit earlier (quantum/2)
41 // (FQ commit allows an application/cwnd limited flow to get at most quantum/2 extra credit)
/linux-6.14.4/tools/testing/selftests/net/forwarding/
Dsch_ets_tests.sh12 # that band's quantum.
190 tc class change dev $put classid 10:2 ets quantum 8000
/linux-6.14.4/include/net/
Dfq_impl.h111 flow->deficit += fq->quantum; in fq_tin_dequeue()
229 flow->deficit = fq->quantum; in fq_tin_enqueue()
357 fq->quantum = 300; in fq_init()
/linux-6.14.4/tools/include/uapi/linux/
Dpkt_sched.h213 unsigned quantum; /* Bytes per round allocated to flow */ member
394 __u32 quantum; member
400 __u32 rate2quantum; /* bps->quantum divisor */
768 TCA_FQ_QUANTUM, /* RR quantum */
770 TCA_FQ_INITIAL_QUANTUM, /* RR quantum for new flow */
/linux-6.14.4/arch/mips/include/asm/
Dthread_info.h118 #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */
130 #define TIF_USEDMSA 29 /* MSA has been used this quantum */
/linux-6.14.4/Documentation/networking/device_drivers/ethernet/marvell/
Docteontx2.rst337 4. Create tc classes with same priorities and different quantum::
339 # tc class add dev <interface> parent 1: classid 1:1 htb rate 10Gbit prio 2 quantum 409600
341 # tc class add dev <interface> parent 1: classid 1:2 htb rate 10Gbit prio 2 quantum 188416
343 # tc class add dev <interface> parent 1: classid 1:3 htb rate 10Gbit prio 2 quantum 32768
/linux-6.14.4/drivers/gpu/drm/xe/abi/
Dguc_klvs_abi.h205 * This config sets the VFs-execution-quantum in milliseconds.
221 * :0: infinite exec quantum (default)
222 * :100000: maximum exec quantum (100000ms == 100s)

1234