Searched refs:nstrict (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | sch_ets_tests.sh | 18 local nstrict=0 23 : $((nstrict++)) 28 if ((nstrict)); then 29 echo -n " strict $nstrict" 31 if ((nstrict < nbands)); then 33 for ((i = nstrict; i < nbands; i++)); do 147 local nstrict=$1; shift 151 local nbands=$((nstrict + ndwrr)) 157 for ((i = 0; i < nstrict; i++)); do 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
| /linux/net/sched/ |
| H A D | sch_ets.c | 53 unsigned int nstrict; member 205 return band < q->nstrict; in ets_class_is_strict() 472 for (band = 0; band < q->nstrict; band++) { in ets_qdisc_dequeue() 547 unsigned int nbands, unsigned int nstrict, 552 int band = nstrict; in ets_qdisc_quanta_parse() 592 unsigned int nstrict = 0; in ets_qdisc_change() 614 nstrict = nla_get_u8(tb[TCA_ETS_NSTRICT]); in ets_qdisc_change() 615 if (nstrict > nbands) { in ets_qdisc_change() 630 nbands, nstrict, quanta, extack); in ets_qdisc_change() 637 for (i = nstrict; in ets_qdisc_change() 549 ets_qdisc_quanta_parse(struct Qdisc * sch,struct nlattr * quanta_attr,unsigned int nbands,unsigned int nstrict,unsigned int * quanta,struct netlink_ext_ack * extack) ets_qdisc_quanta_parse() argument 594 unsigned int nstrict = 0; ets_qdisc_change() local 750 u8 nbands, nstrict; ets_qdisc_dump() local [all...] |
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 2441 int i, nstrict = 0; in airoha_qdma_set_tx_ets_sched() local 2448 nstrict++; in airoha_qdma_set_tx_ets_sched() 2452 if (nstrict == AIROHA_NUM_QOS_QUEUES - 1) in airoha_qdma_set_tx_ets_sched() 2459 for (i = 0; i < nstrict; i++) { in airoha_qdma_set_tx_ets_sched() 2464 for (i = 0; i < p->bands - nstrict; i++) { in airoha_qdma_set_tx_ets_sched() 2465 if (p->priomap[i] != nstrict + i) in airoha_qdma_set_tx_ets_sched() 2468 w[i] = p->weights[nstrict + i]; in airoha_qdma_set_tx_ets_sched() 2471 if (!nstrict) in airoha_qdma_set_tx_ets_sched() 2473 else if (nstrict < AIROHA_NUM_QOS_QUEUES - 1) in airoha_qdma_set_tx_ets_sched() 2474 mode = nstrict + 1; in airoha_qdma_set_tx_ets_sched()
|