Home
last modified time | relevance | path

Searched refs:flows_cnt (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
H A Dsch_fq_pie.c63 u32 flows_cnt; member
77 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_pie_hash()
90 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_pie_classify()
111 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_pie_classify()
313 q->flows_cnt = nla_get_u32(tb[TCA_FQ_PIE_FLOWS]); in fq_pie_change()
314 if (!q->flows_cnt || q->flows_cnt > 65536) { in fq_pie_change()
391 max_cnt = min_t(int, q->flows_cnt - q->flows_cursor, 2048); in fq_pie_timer()
401 if (q->flows_cursor >= q->flows_cnt) { in fq_pie_timer()
423 q->flows_cnt in fq_pie_init()
[all...]
H A Dsch_fq_codel.c53 struct fq_codel_flow *flows; /* Flows table [flows_cnt] */
54 u32 *backlogs; /* backlog table [flows_cnt] */
55 u32 flows_cnt; /* number of flows */ member
73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
86 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
107 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
154 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_drop()
342 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_reset()
349 memset(q->backlogs, 0, q->flows_cnt * sizeof(u32)); in fq_codel_reset()
383 q->flows_cnt in fq_codel_change()
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_fq_pie.c63 u32 flows_cnt; member
77 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_pie_hash()
90 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_pie_classify()
111 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_pie_classify()
310 q->flows_cnt = nla_get_u32(tb[TCA_FQ_PIE_FLOWS]); in fq_pie_change()
311 if (!q->flows_cnt || q->flows_cnt > 65536) { in fq_pie_change()
389 max_cnt = min_t(int, q->flows_cnt - q->flows_cursor, 2048); in fq_pie_timer()
399 if (q->flows_cursor >= q->flows_cnt) { in fq_pie_timer()
422 q->flows_cnt in fq_pie_init()
[all...]
H A Dsch_fq_codel.c53 struct fq_codel_flow *flows; /* Flows table [flows_cnt] */
54 u32 *backlogs; /* backlog table [flows_cnt] */
55 u32 flows_cnt; /* number of flows */ member
73 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
86 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
107 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
154 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_drop()
342 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_reset()
349 memset(q->backlogs, 0, q->flows_cnt * sizeof(u32)); in fq_codel_reset()
382 q->flows_cnt in fq_codel_change()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dfq_impl.h113 return reciprocal_scale(hash, fq->flows_cnt); in fq_flow_idx()
303 static int fq_init(struct fq *fq, int flows_cnt) in fq_init() argument
310 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
315 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
319 for (i = 0; i < fq->flows_cnt; i++) in fq_init()
330 for (i = 0; i < fq->flows_cnt; i++) in fq_reset()
H A Dfq.h71 u32 flows_cnt; member
/kernel/linux/linux-6.6/include/net/
H A Dfq_impl.h141 return reciprocal_scale(hash, fq->flows_cnt); in fq_flow_idx()
172 for_each_set_bit(i, fq->flows_bitmap, fq->flows_cnt) { in fq_find_fattest_flow()
349 static int fq_init(struct fq *fq, int flows_cnt) in fq_init() argument
356 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
361 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
365 fq->flows_bitmap = bitmap_zalloc(fq->flows_cnt, GFP_KERNEL); in fq_init()
372 for (i = 0; i < fq->flows_cnt; i++) in fq_init()
383 for (i = 0; i < fq->flows_cnt; i++) in fq_reset()
H A Dfq.h74 u32 flows_cnt; member
/kernel/linux/linux-5.10/net/mac80211/
H A Ddebugfs.c99 fq->flows_cnt, in aqm_read()
H A Dtx.c1571 local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), in ieee80211_txq_setup_flows()
1580 for (i = 0; i < fq->flows_cnt; i++) in ieee80211_txq_setup_flows()
H A Dcfg.c4015 txqstats->max_flows = local->fq.flows_cnt; in ieee80211_get_txq_stats()
/kernel/linux/linux-6.6/net/mac80211/
H A Ddebugfs.c99 fq->flows_cnt, in aqm_read()
H A Dtx.c1614 local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), in ieee80211_txq_setup_flows()
1623 for (i = 0; i < fq->flows_cnt; i++) in ieee80211_txq_setup_flows()
H A Dcfg.c4525 txqstats->max_flows = local->fq.flows_cnt; in ieee80211_get_txq_stats()

Completed in 36 milliseconds