Home
last modified time | relevance | path

Searched refs:quantum (Results 1 – 8 of 8) sorted by relevance

/net/sched/
Dsch_drr.c31 u32 quantum; member
73 u32 quantum; in drr_change_class() local
84 quantum = nla_get_u32(tb[TCA_DRR_QUANTUM]); in drr_change_class()
85 if (quantum == 0) in drr_change_class()
88 quantum = psched_mtu(qdisc_dev(sch)); in drr_change_class()
103 cl->quantum = quantum; in drr_change_class()
114 cl->quantum = quantum; in drr_change_class()
246 if (nla_put_u32(skb, TCA_DRR_QUANTUM, cl->quantum)) in drr_dump_class()
362 cl->deficit = cl->quantum; in drr_enqueue()
403 cl->deficit += cl->quantum; in drr_dequeue()
Dsch_fq.c92 u32 quantum; member
412 f->credit = max_t(u32, f->credit, q->quantum); in fq_enqueue()
487 f->credit += q->quantum; in fq_dequeue()
531 plen = max(qdisc_pkt_len(skb), q->quantum); in fq_dequeue()
736 u32 quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); in fq_change() local
738 if (quantum > 0 && quantum <= (1 << 20)) in fq_change()
739 q->quantum = quantum; in fq_change()
812 q->quantum = 2 * psched_mtu(qdisc_dev(sch)); in fq_init()
848 nla_put_u32(skb, TCA_FQ_QUANTUM, q->quantum) || in fq_dump()
Dsch_htb.c105 int quantum; /* but stored for parent-to-leaf return */ member
891 cl->un.leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
1119 opt.quantum = cl->quantum; in htb_dump_class()
1486 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class() local
1488 do_div(quantum, q->rate2quantum); in htb_change_class()
1489 cl->quantum = min_t(u64, quantum, INT_MAX); in htb_change_class()
1491 if (!hopt->quantum && cl->quantum < 1000) { in htb_change_class()
1494 cl->quantum = 1000; in htb_change_class()
1496 if (!hopt->quantum && cl->quantum > 200000) { in htb_change_class()
1499 cl->quantum = 200000; in htb_change_class()
[all …]
Dsch_hhf.c129 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member
399 bucket->deficit = weight * q->quantum; in hhf_enqueue()
437 bucket->deficit += weight * q->quantum; in hhf_dequeue()
514 u32 new_quantum = q->quantum; in hhf_change()
539 q->quantum = new_quantum; in hhf_change()
580 q->quantum = psched_mtu(qdisc_dev(sch)); in hhf_init()
659 nla_put_u32(skb, TCA_HHF_QUANTUM, q->quantum) || in hhf_dump()
Dsch_sfq.c146 unsigned int quantum; /* Allotment per round: MUST BE >= MTU */ member
651 if (ctl->quantum) { in sfq_change()
652 q->quantum = ctl->quantum; in sfq_change()
653 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_change()
748 q->quantum = psched_mtu(qdisc_dev(sch)); in sfq_init()
749 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_init()
788 opt.v0.quantum = q->quantum; in sfq_dump()
Dsch_fq_codel.c62 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member
216 flow->deficit = q->quantum; in fq_codel_enqueue()
304 flow->deficit += q->quantum; in fq_codel_dequeue()
427 q->quantum = max(256U, nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM])); in fq_codel_change()
470 q->quantum = psched_mtu(qdisc_dev(sch)); in fq_codel_init()
528 q->quantum) || in fq_codel_dump()
Dsch_cbq.c96 long quantum; /* Allotment per WRR round */ member
709 cl->deficit += cl->quantum; in cbq_dequeue_prio()
739 cl->deficit += cl->quantum; in cbq_dequeue_prio()
902 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ in cbq_normalize_quanta()
905 if (cl->quantum <= 0 || in cbq_normalize_quanta()
906 cl->quantum > 32*qdisc_dev(cl->qdisc)->mtu) { in cbq_normalize_quanta()
908 cl->common.classid, cl->quantum); in cbq_normalize_quanta()
909 cl->quantum = qdisc_dev(cl->qdisc)->mtu/2 + 1; in cbq_normalize_quanta()
1056 cl->deficit = cl->quantum; in cbq_reset()
1199 q->link.quantum = q->link.allot; in cbq_init()
[all …]
/net/mac80211/
Ddebugfs.c106 fq->quantum); in aqm_read()
139 else if (sscanf(buf, "fq_quantum %u", &local->fq.quantum) == 1) in aqm_write()