Home
last modified time | relevance | path

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

/openbmc/linux/net/sched/
H A Dsch_sfq.c133 unsigned int maxflows; /* number of flows in flows array */ member
540 for (i = 0; i < q->maxflows; i++) { in sfq_rehash()
664 q->maxflows = min_t(u32, ctl->flows, SFQ_MAX_FLOWS); in sfq_change()
667 q->maxflows = min_t(u32, q->maxflows, q->divisor); in sfq_change()
685 q->limit = min_t(u32, ctl->limit, q->maxdepth * q->maxflows); in sfq_change()
686 q->maxflows = min_t(u32, q->maxflows, q->limit); in sfq_change()
755 q->maxflows = SFQ_DEFAULT_FLOWS; in sfq_init()
767 q->slots = sfq_alloc(sizeof(q->slots[0]) * q->maxflows); in sfq_init()
776 for (i = 0; i < q->maxflows; i++) { in sfq_init()
799 opt.v0.flows = q->maxflows; in sfq_dump()