Home
last modified time | relevance | path

Searched refs:nbands (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
H A Dsch_ets.c52 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()
532 if (band >= nbands) { in ets_qdisc_priomap_parse()
548 unsigned int nbands, unsigne in ets_qdisc_quanta_parse()
508 ets_qdisc_priomap_parse(struct nlattr *priomap_attr, unsigned int nbands, u8 *priomap, struct netlink_ext_ack *extack) ets_qdisc_priomap_parse() argument
547 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 nbands; ets_qdisc_change() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_ets.c52 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()
343 for (i = 0; i < q->nbands; i++) { in ets_qdisc_walk()
405 if (band >= q->nbands) in ets_classify()
501 unsigned int nbands, u8 *priomap, in ets_qdisc_priomap_parse()
524 if (band >= nbands) { in ets_qdisc_priomap_parse()
540 unsigned int nbands, unsigne in ets_qdisc_quanta_parse()
500 ets_qdisc_priomap_parse(struct nlattr *priomap_attr, unsigned int nbands, u8 *priomap, struct netlink_ext_ack *extack) ets_qdisc_priomap_parse() argument
539 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
586 unsigned int nbands; ets_qdisc_change() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh17 local nbands=${#WS[@]}
21 for ((i = 0; i < nbands; i++)); do
27 echo -n "ets bands $nbands"
31 if ((nstrict < nbands)); then
33 for ((i = nstrict; i < nbands; i++)); do
151 local nbands=$((nstrict + ndwrr))
152 local nstreams=$(if ((nbands > 3)); then echo 3; else echo $nbands; fi)
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dsch_ets_tests.sh17 local nbands=${#WS[@]}
21 for ((i = 0; i < nbands; i++)); do
27 echo -n "ets bands $nbands"
31 if ((nstrict < nbands)); then
33 for ((i = nstrict; i < nbands; i++)); do
151 local nbands=$((nstrict + ndwrr))
152 local nstreams=$(if ((nbands > 3)); then echo 3; else echo $nbands; fi)
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c941 __mlxsw_sp_qdisc_ets_check_params(unsigned int nbands) in __mlxsw_sp_qdisc_ets_check_params() argument
943 if (nbands > IEEE_8021QAZ_MAX_TCS) in __mlxsw_sp_qdisc_ets_check_params()
961 unsigned int nbands, in __mlxsw_sp_qdisc_ets_replace()
972 for (band = 0; band < nbands; band++) { in __mlxsw_sp_qdisc_ets_replace()
960 __mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, unsigned int nbands, const unsigned int *quanta, const unsigned int *weights, const u8 *priomap) __mlxsw_sp_qdisc_ets_replace() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1277 __mlxsw_sp_qdisc_ets_check_params(unsigned int nbands) in __mlxsw_sp_qdisc_ets_check_params() argument
1279 if (nbands > IEEE_8021QAZ_MAX_TCS) in __mlxsw_sp_qdisc_ets_check_params()
1322 u32 handle, unsigned int nbands, in __mlxsw_sp_qdisc_ets_replace()
1348 for (band = 0; band < nbands; band++) { in __mlxsw_sp_qdisc_ets_replace()
1320 __mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 handle, unsigned int nbands, const unsigned int *quanta, const unsigned int *weights, const u8 *priomap) __mlxsw_sp_qdisc_ets_replace() argument

Completed in 11 milliseconds