Home
last modified time | relevance | path

Searched full:deficit (Results 1 – 24 of 24) sorted by relevance

/linux/net/sched/
H A Dsch_drr.c3 * net/sched/sch_drr.c Deficit Round Robin scheduler
28 u32 deficit; member
273 xstats.deficit = cl->deficit; in drr_dump_class_stats()
365 cl->deficit = cl->quantum; in drr_enqueue()
391 if (len <= cl->deficit) { in drr_dequeue()
392 cl->deficit -= len; in drr_dequeue()
406 cl->deficit += cl->quantum; in drr_dequeue()
503 MODULE_DESCRIPTION("Deficit Round Robin scheduler");
H A Dsch_ets.c24 * ones are tried next. Each band is assigned a deficit counter, initialized to
27 * head of the list if the packet size is smaller or equal to the deficit
43 u32 deficit; member
444 cl->deficit = cl->quantum; in ets_qdisc_enqueue()
488 if (len <= cl->deficit) { in ets_qdisc_dequeue()
489 cl->deficit -= len; in ets_qdisc_dequeue()
498 cl->deficit += cl->quantum; in ets_qdisc_dequeue()
664 q->classes[i].deficit = quanta[i]; in ets_qdisc_change()
690 q->classes[i].deficit = 0; in ets_qdisc_change()
H A Dsch_hhf.c22 * The buckets are dequeued by a Weighted Deficit Round Robin (WDRR) scheduler,
90 * - The Deficit Round Robin engine is taken from fq_codel implementation
119 /* Weighted Deficit Round Robin (WDRR) scheduler */
124 int deficit; member
400 bucket->deficit = weight * q->quantum; in hhf_enqueue()
434 if (bucket->deficit <= 0) { in hhf_dequeue()
438 bucket->deficit += weight * q->quantum; in hhf_dequeue()
458 bucket->deficit -= qdisc_pkt_len(skb); in hhf_dequeue()
H A Dsch_fq_pie.c38 * @deficit: number of remaining byte credits
47 s32 deficit; member
193 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
256 if (flow->deficit <= 0) { in fq_pie_qdisc_dequeue()
257 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
280 flow->deficit -= pkt_len; in fq_pie_qdisc_dequeue()
H A Dsch_fq_codel.c46 int deficit; member
213 flow->deficit = q->quantum; in fq_codel_enqueue()
298 if (flow->deficit <= 0) { in fq_codel_dequeue()
299 flow->deficit += q->quantum; in fq_codel_dequeue()
317 flow->deficit -= qdisc_pkt_len(skb); in fq_codel_dequeue()
660 xstats.class_stats.deficit = flow->deficit; in fq_codel_dump_class_stats()
H A Dsch_qfq.c139 int deficit; /* DRR deficit counter. */ member
485 cl->deficit = lmax; in qfq_change_class()
998 cl->deficit -= (int) len; in agg_dequeue()
1002 else if (cl->deficit < qdisc_peek_len(cl->qdisc)) { in agg_dequeue()
1003 cl->deficit += agg->lmax; in agg_dequeue()
1273 == cl && cl->deficit < len) in qfq_enqueue()
1280 cl->deficit = agg->lmax; in qfq_enqueue()
H A Dsch_cake.c19 * equipment and bloated MACs. This operates in deficit mode (as in sch_fq),
131 s32 deficit; member
1910 flow->deficit = cake_get_flow_quantum(b, flow, q->flow_mode); in cake_enqueue()
2097 if (flow->deficit <= 0) { in cake_dequeue()
2113 * correct deficit accounting but we still want in cake_dequeue()
2120 flow->deficit += cake_get_flow_quantum(b, flow, q->flow_mode); in cake_dequeue()
2185 flow->deficit -= len; in cake_dequeue()
2209 flow->deficit -= len; in cake_dequeue()
3060 PUT_STAT_S32(DEFICIT, flow->deficit); in cake_dump_class_stats()
[all...]
H A DKconfig208 tristate "Deficit Round Robin scheduler (DRR)"
210 Say Y here if you want to use the Deficit Round Robin (DRR) packet
H A Dsch_htb.c125 int deficit[TC_HTB_MAXDEPTH]; member
924 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
925 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
926 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
H A Dsch_sfq.c39 Queuing using Deficit Round Robin", Proc. SIGCOMM 95.
/linux/include/net/
H A Dfq.h24 * (deficit round robin) based round robin queuing similar to the one
29 * @deficit: used for DRR++
36 int deficit; member
H A Dfq_impl.h110 if (flow->deficit <= 0) { in fq_tin_dequeue()
111 flow->deficit += fq->quantum; in fq_tin_dequeue()
130 flow->deficit -= skb->len; in fq_tin_dequeue()
229 flow->deficit = fq->quantum; in fq_tin_enqueue()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82598.h10 #define IXGBE_DPMCS_TDPAC 0x00000001 /* 0 Round Robin, 1 DFP - Deficit Fixed Priority */
33 #define IXGBE_PDPMCS_TPPAC 0x00000020 /* 0 Round Robin, 1 for DFP - Deficit Fixed Priority */
H A Dixgbe_dcb_82598.c34 /* Enable Deficit Fixed Priority arbitration*/ in ixgbe_dcb_config_rx_arbiter_82598()
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h562 __u32 deficit; member
741 __s32 deficit; member
/linux/include/uapi/linux/
H A Dpkt_sched.h583 __u32 deficit; member
782 __s32 deficit; member
/linux/mm/
H A Dworkingset.c131 * a deficit in inactive list space (in-cache). If the inactive list
/linux/net/mac80211/
H A Dsta_info.h142 s32 deficit; member
H A Dieee80211_i.h108 /* Keep a station's queues on the active list for deficit accounting in ieee80211_sta_keep_active()
/linux/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst365 distribute all remaining (excess/deficit) budgets in proportion to a defined
/linux/drivers/net/ethernet/ti/
H A Dnetcp_core.c936 /* Calculate the FDQ deficit and refill */ in netcp_rxpool_refill()
/linux/drivers/net/ethernet/sun/
H A Dcassini.h561 * deficit data reset to 0 (useful when congestion requires a
/linux/drivers/atm/
H A Didt77252.c3525 /* Set Maximum Deficit Count for now. */ in init_card()
/linux/kernel/sched/
H A Dfair.c6205 * idle depends on !throttled (for the case of a large deficit), and if in do_sched_cfs_period_timer()
6233 * insufficient to cover the existing bandwidth deficit. (Forcing the in do_sched_cfs_period_timer()