Lines Matching refs:nbands

52 	unsigned int nbands;  member
124 qopt.replace_params.bands = q->nbands; in ets_offload_change()
129 for (i = 0; i < q->nbands; i++) in ets_offload_change()
132 for (i = 0; i < q->nbands; i++) { in ets_offload_change()
279 if (band - 1 >= q->nbands) in ets_class_find()
344 for (i = 0; i < q->nbands; i++) { in ets_qdisc_walk()
413 if (band >= q->nbands) in ets_classify()
509 unsigned int nbands, u8 *priomap, in ets_qdisc_priomap_parse() argument
532 if (band >= nbands) { in ets_qdisc_priomap_parse()
548 unsigned int nbands, unsigned int nstrict, in ets_qdisc_quanta_parse() argument
566 if (band >= nbands) { in ets_qdisc_quanta_parse()
591 unsigned int oldbands = q->nbands; in ets_qdisc_change()
594 unsigned int nbands; in ets_qdisc_change() local
611 nbands = nla_get_u8(tb[TCA_ETS_NBANDS]); in ets_qdisc_change()
612 if (nbands < 1 || nbands > TCQ_ETS_MAX_BANDS) { in ets_qdisc_change()
617 memset(priomap, nbands - 1, sizeof(priomap)); in ets_qdisc_change()
621 if (nstrict > nbands) { in ets_qdisc_change()
629 nbands, priomap, extack); in ets_qdisc_change()
636 nbands, nstrict, quanta, extack); in ets_qdisc_change()
643 for (i = nstrict; i < nbands; i++) { in ets_qdisc_change()
649 for (i = oldbands; i < nbands; i++) { in ets_qdisc_change()
662 q->nbands = nbands; in ets_qdisc_change()
666 for (i = q->nbands; i < oldbands; i++) in ets_qdisc_change()
669 for (i = 0; i < q->nbands; i++) in ets_qdisc_change()
672 for (i = oldbands; i < q->nbands; i++) { in ets_qdisc_change()
681 for (i = q->nbands; i < oldbands; i++) { in ets_qdisc_change()
710 for (band = q->nstrict; band < q->nbands; band++) { in ets_qdisc_reset()
714 for (band = 0; band < q->nbands; band++) in ets_qdisc_reset()
727 for (band = 0; band < q->nbands; band++) in ets_qdisc_destroy()
748 if (nla_put_u8(skb, TCA_ETS_NBANDS, q->nbands)) in ets_qdisc_dump()
755 if (q->nbands > q->nstrict) { in ets_qdisc_dump()
760 for (band = q->nstrict; band < q->nbands; band++) { in ets_qdisc_dump()