Home
last modified time | relevance | path

Searched refs:flows_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/sched/
Dsch_fq_codel.c55 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 = nla_get_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_change()
383 if (!q->flows_cnt || in fq_codel_change()
384 q->flows_cnt > 65536) in fq_codel_change()
[all …]
Dsch_fq_pie.c63 u32 flows_cnt; member
76 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_pie_hash()
89 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_pie_classify()
110 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_pie_classify()
303 q->flows_cnt = nla_get_u32(tb[TCA_FQ_PIE_FLOWS]); in fq_pie_change()
304 if (!q->flows_cnt || q->flows_cnt > 65536) { in fq_pie_change()
379 for (idx = 0; idx < q->flows_cnt; idx++) in fq_pie_timer()
403 q->flows_cnt = 1024; in fq_pie_init()
421 q->flows = kvcalloc(q->flows_cnt, sizeof(struct fq_pie_flow), in fq_pie_init()
427 for (idx = 0; idx < q->flows_cnt; idx++) { in fq_pie_init()
[all …]
/linux-6.1.9/include/net/
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()
345 static int fq_init(struct fq *fq, int flows_cnt) in fq_init() argument
352 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
357 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
361 fq->flows_bitmap = bitmap_zalloc(fq->flows_cnt, GFP_KERNEL); in fq_init()
368 for (i = 0; i < fq->flows_cnt; i++) in fq_init()
379 for (i = 0; i < fq->flows_cnt; i++) in fq_reset()
Dfq.h74 u32 flows_cnt; member
/linux-6.1.9/net/mac80211/
Ddebugfs.c99 fq->flows_cnt, in aqm_read()
Dtx.c1632 local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), in ieee80211_txq_setup_flows()
1641 for (i = 0; i < fq->flows_cnt; i++) in ieee80211_txq_setup_flows()
Dcfg.c4374 txqstats->max_flows = local->fq.flows_cnt; in ieee80211_get_txq_stats()