Home
last modified time | relevance | path

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

12

/linux/net/sched/
H A Dsch_drr.c3 * net/sched/sch_drr.c Deficit Round Robin scheduler
28 u32 deficit; member
267 xstats.deficit = cl->deficit; in drr_dump_class_stats()
361 cl->deficit = cl->quantum; in drr_enqueue()
387 if (len <= cl->deficit) { in drr_dequeue()
388 cl->deficit -= len; in drr_dequeue()
402 cl->deficit += cl->quantum; in drr_dequeue()
499 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
439 cl->deficit = cl->quantum; in ets_qdisc_enqueue()
483 if (len <= cl->deficit) { in ets_qdisc_dequeue()
484 cl->deficit -= len; in ets_qdisc_dequeue()
493 cl->deficit += cl->quantum; in ets_qdisc_dequeue()
653 q->classes[i].deficit = quanta[i]; in ets_qdisc_change()
680 q->classes[i].deficit = 0; in ets_qdisc_change()
H A Dsch_fq_pie.c38 * @deficit: number of remaining byte credits
47 s32 deficit; member
190 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
254 if (flow->deficit <= 0) { in fq_pie_qdisc_dequeue()
255 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
278 flow->deficit -= pkt_len; in fq_pie_qdisc_dequeue()
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_codel.c46 int deficit; member
212 flow->deficit = q->quantum; in fq_codel_enqueue()
297 if (flow->deficit <= 0) { in fq_codel_dequeue()
298 flow->deficit += q->quantum; in fq_codel_dequeue()
316 flow->deficit -= qdisc_pkt_len(skb); in fq_codel_dequeue()
656 xstats.class_stats.deficit = flow->deficit; in fq_codel_dump_class_stats()
H A Dsch_qfq.c139 int deficit; /* DRR deficit counter. */ member
479 cl->deficit = lmax; in qfq_change_class()
985 cl->deficit -= (int) len; in agg_dequeue()
989 else if (cl->deficit < qdisc_pkt_len(cl->qdisc->ops->peek(cl->qdisc))) { in agg_dequeue()
990 cl->deficit += agg->lmax; in agg_dequeue()
1262 == cl && cl->deficit < len) in qfq_enqueue()
1269 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
1861 flow->deficit = (b->flow_quantum * in cake_enqueue()
2048 if (flow->deficit <= 0) { in cake_dequeue()
2067 * correct deficit accounting but we still want in cake_dequeue()
2085 flow->deficit += (b->flow_quantum * quantum_div[host_load] + in cake_dequeue()
2158 flow->deficit -= len; in cake_dequeue()
2182 flow->deficit -= len; in cake_dequeue()
3031 PUT_STAT_S32(DEFICIT, flow->deficit); in cake_dump_class_stats()
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
921 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
922 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
923 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/net/mac80211/
H A Ddebugfs_sta.c206 s32 deficit[IEEE80211_NUM_ACS]; in sta_airtime_read() local
217 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
223 "Deficit: VO: %d us VI: %d us BE: %d us BK: %d us\n", in sta_airtime_read()
225 deficit[0], deficit[1], deficit[2], deficit[3]); in sta_airtime_read()
243 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
H A Dtx.c4014 return air_info->deficit - atomic_read(&air_info->aql_tx_pending); in ieee80211_sta_deficit()
4077 s32 deficit = ieee80211_sta_deficit(sta, txqi->txq.ac); in ieee80211_next_txq() local
4082 if (deficit < 0) in ieee80211_next_txq()
4083 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq()
4086 if (deficit < 0 || !aql_check) { in ieee80211_next_txq()
4122 * deficit. A station that already has a negative deficit will in __ieee80211_schedule_txq()
4227 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
4232 if (sta->airtime[ac].deficit >= 0) in ieee80211_txq_may_transmit()
4235 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dsdio_mcu.c33 sdio->sched.deficit = txdwcnt << 2; in mt7663s_mcu_init_sched()
H A Ddebugfs.c543 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7663s_sched_quota_read()
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h562 __u32 deficit; member
741 __s32 deficit; member
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Ddebugfs.c259 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7921s_sched_quota_read()
/linux/include/uapi/linux/
H A Dpkt_sched.h583 __u32 deficit; member
782 __s32 deficit; member
/linux/drivers/net/wireless/mediatek/mt76/
H A Dsdio_txrx.c188 pse_sz = DIV_ROUND_UP(buf_sz + sdio->sched.deficit, in mt76s_tx_pick_quota()
/linux/Documentation/devicetree/bindings/net/
H A Dsnps,dwmac.yaml332 description: Deficit Weighted Round Robin
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst173 queuing disciplines like Hierarchical Token Bucket or Deficit Round Robin
/linux/mm/
H A Dworkingset.c131 * a deficit in inactive list space (in-cache). If the inactive list

12