Home
last modified time | relevance | path

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

/Linux-v5.4/net/sched/
Dsch_fq_codel.c56 u32 flows_cnt; /* number of flows */ member
74 return reciprocal_scale(skb_get_hash(skb), q->flows_cnt); in fq_codel_hash()
87 TC_H_MIN(skb->priority) <= q->flows_cnt) in fq_codel_classify()
108 if (TC_H_MIN(res.classid) <= q->flows_cnt) in fq_codel_classify()
155 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_drop()
343 for (i = 0; i < q->flows_cnt; i++) { in fq_codel_reset()
350 memset(q->backlogs, 0, q->flows_cnt * sizeof(u32)); in fq_codel_reset()
385 q->flows_cnt = nla_get_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_change()
386 if (!q->flows_cnt || in fq_codel_change()
387 q->flows_cnt > 65536) in fq_codel_change()
[all …]
/Linux-v5.4/include/net/
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()
316 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
320 for (i = 0; i < fq->flows_cnt; i++) in fq_init()
331 for (i = 0; i < fq->flows_cnt; i++) in fq_reset()
Dfq.h71 u32 flows_cnt; member
/Linux-v5.4/net/mac80211/
Ddebugfs.c97 fq->flows_cnt, in aqm_read()
Dtx.c1557 local->cvars = kcalloc(fq->flows_cnt, sizeof(local->cvars[0]), in ieee80211_txq_setup_flows()
1566 for (i = 0; i < fq->flows_cnt; i++) in ieee80211_txq_setup_flows()
Dcfg.c3904 txqstats->max_flows = local->fq.flows_cnt; in ieee80211_get_txq_stats()