/linux/net/sched/ |
H A D | sch_drr.c | 3 * 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 D | sch_ets.c | 24 * 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 D | sch_fq_pie.c | 38 * @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 D | sch_hhf.c | 22 * 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 D | sch_fq_codel.c | 46 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 D | sch_qfq.c | 139 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 D | sch_cake.c | 19 * 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 D | Kconfig | 208 tristate "Deficit Round Robin scheduler (DRR)" 210 Say Y here if you want to use the Deficit Round Robin (DRR) packet
|
H A D | sch_htb.c | 125 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 D | sch_sfq.c | 39 Queuing using Deficit Round Robin", Proc. SIGCOMM 95.
|
/linux/include/net/ |
H A D | fq.h | 24 * (deficit round robin) based round robin queuing similar to the one 29 * @deficit: used for DRR++ 36 int deficit; member
|
H A D | fq_impl.h | 110 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 D | ixgbe_dcb_82598.h | 10 #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 D | ixgbe_dcb_82598.c | 34 /* Enable Deficit Fixed Priority arbitration*/ in ixgbe_dcb_config_rx_arbiter_82598()
|
/linux/net/mac80211/ |
H A D | debugfs_sta.c | 206 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 D | tx.c | 4014 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 D | sdio_mcu.c | 33 sdio->sched.deficit = txdwcnt << 2; in mt7663s_mcu_init_sched()
|
H A D | debugfs.c | 543 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7663s_sched_quota_read()
|
/linux/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 562 __u32 deficit; member 741 __s32 deficit; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | debugfs.c | 259 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7921s_sched_quota_read()
|
/linux/include/uapi/linux/ |
H A D | pkt_sched.h | 583 __u32 deficit; member 782 __s32 deficit; member
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio_txrx.c | 188 pse_sz = DIV_ROUND_UP(buf_sz + sdio->sched.deficit, in mt76s_tx_pick_quota()
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | snps,dwmac.yaml | 332 description: Deficit Weighted Round Robin
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | net.rst | 173 queuing disciplines like Hierarchical Token Bucket or Deficit Round Robin
|
/linux/mm/ |
H A D | workingset.c | 131 * a deficit in inactive list space (in-cache). If the inactive list
|