/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | uk.c | 71 qp->sq_wrtrk_array[wqe_idx].quanta = IRDMA_QP_WQE_MIN_QUANTA; in irdma_nop_1() 150 * @quanta: size of WR in quanta 155 u16 quanta, u32 total_size, in irdma_qp_get_next_send_wqe() 166 if (quanta <= avail_quanta) { in irdma_qp_get_next_send_wqe() 168 if (quanta > IRDMA_SQ_RING_FREE_QUANTA(qp->sq_ring)) in irdma_qp_get_next_send_wqe() 172 if (quanta + avail_quanta > in irdma_qp_get_next_send_wqe() 186 IRDMA_RING_MOVE_HEAD_BY_COUNT_NOCHECK(qp->sq_ring, quanta); in irdma_qp_get_next_send_wqe() 189 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1 && quanta == 1 && in irdma_qp_get_next_send_wqe() 196 qp->sq_wrtrk_array[*wqe_idx].quanta in irdma_qp_get_next_send_wqe() 154 irdma_qp_get_next_send_wqe(struct irdma_qp_uk *qp, u32 *wqe_idx, u16 quanta, u32 total_size, struct irdma_post_sq_info *info) irdma_qp_get_next_send_wqe() argument 243 u16 quanta; irdma_uk_rdma_write() local 337 u16 quanta; irdma_uk_rdma_read() local 417 u16 quanta; irdma_uk_send() local 663 u16 quanta; irdma_uk_inline_rdma_write() local 731 u16 quanta; irdma_uk_inline_send() local 1568 irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta) irdma_fragcnt_to_quanta_sq() argument [all...] |
H A D | user.h | 306 u16 quanta; member 399 u16 quanta, u32 total_size, 404 int irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta);
|
H A D | utils.c | 2486 sq_ring->tail + qp->sq_wrtrk_array[sq_ring->tail].quanta); in irdma_generate_flush_completions()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ets.c | 44 if (params->quanta[i] && params->weights[i] == 0) in lan966x_ets_add() 52 if (params->quanta[i] == 0) in lan966x_ets_add() 59 if (params->quanta[i] == 0) in lan966x_ets_add()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets_tests.sh | 7 # ets_change_qdisc($op, $dev, $nstrict, $quanta...) -- Add or change qdisc 32 echo -n " quanta" 148 local -a quanta=("$@") 150 local ndwrr=${#quanta[@]} 161 echo ${quanta[$i]} 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
H A D | sch_ets_core.sh | 49 # | | qdisc ets quanta $W0 $W1 $W2 | 109 local quanta=("${@}") 115 $(if ((${#quanta[@]})); then echo quanta ${quanta[@]}; fi) \ 125 local quanta=("${@}") 131 $(if ((${#quanta[@]})); then echo quanta ${quanta[@]}; fi)
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets_tests.sh | 7 # ets_change_qdisc($op, $dev, $nstrict, $quanta...) -- Add or change qdisc 32 echo -n " quanta" 148 local -a quanta=("$@") 150 local ndwrr=${#quanta[@]} 161 echo ${quanta[$i]} 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
H A D | sch_ets_core.sh | 49 # | | qdisc ets quanta $W0 $W1 $W2 | 109 local quanta=("${@}") 115 $(if ((${#quanta[@]})); then echo quanta ${quanta[@]}; fi) \ 125 local quanta=("${@}") 131 $(if ((${#quanta[@]})); then echo quanta ${quanta[@]}; fi)
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_ets.c | 15 * PRIO-like and how many DRR-like, and quanta for the latter. 139 qopt.replace_params.quanta[i] = quantum; in ets_offload_change() 549 unsigned int *quanta, in ets_qdisc_quanta_parse() 567 NL_SET_ERR_MSG_MOD(extack, "ETS quanta has more values than bands"); in ets_qdisc_quanta_parse() 570 err = ets_quantum_parse(sch, attr, &quanta[band++], in ets_qdisc_quanta_parse() 587 unsigned int quanta[TCQ_ETS_MAX_BANDS] = {0}; in ets_qdisc_change() local 636 nbands, nstrict, quanta, extack); in ets_qdisc_change() 640 /* If there are more bands than strict + quanta provided, the remaining in ets_qdisc_change() 644 if (!quanta[i]) in ets_qdisc_change() 645 quanta[ in ets_qdisc_change() 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 [all...] |
H A D | sch_cbq.c | 43 reasonable (I hope) and works when quanta are allowed to be 135 unsigned int quanta[TC_CBQ_MAXPRIO + 1]; member 889 if (q->quanta[prio] == 0) in cbq_normalize_quanta() 899 q->quanta[prio]; in cbq_normalize_quanta() 1083 q->quanta[cl->priority] -= cl->weight; in cbq_rmprio() 1090 q->quanta[cl->priority] += cl->weight; in cbq_addprio()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_ets.c | 15 * PRIO-like and how many DRR-like, and quanta for the latter. 139 qopt.replace_params.quanta[i] = quantum; in ets_offload_change() 541 unsigned int *quanta, in ets_qdisc_quanta_parse() 559 NL_SET_ERR_MSG_MOD(extack, "ETS quanta has more values than bands"); in ets_qdisc_quanta_parse() 562 err = ets_quantum_parse(sch, attr, &quanta[band++], in ets_qdisc_quanta_parse() 579 unsigned int quanta[TCQ_ETS_MAX_BANDS] = {0}; in ets_qdisc_change() local 623 nbands, nstrict, quanta, extack); in ets_qdisc_change() 627 /* If there are more bands than strict + quanta provided, the remaining in ets_qdisc_change() 631 if (!quanta[i]) in ets_qdisc_change() 632 quanta[ in ets_qdisc_change() 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 [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 136 if (params->quanta[i] && params->weights[i] == 0) { in sparx5_tc_setup_qdisc_ets()
|
H A D | sparx5_qos.c | 545 if (params->quanta[i] == 0) in sparx5_tc_ets_add() 552 if (params->quanta[i] == 0) in sparx5_tc_ets_add()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 962 const unsigned int *quanta, in __mlxsw_sp_qdisc_ets_replace() 980 tclass, 0, !!quanta[band], in __mlxsw_sp_qdisc_ets_replace() 1143 p->quanta, p->weights, p->priomap); 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 D | spectrum_qdisc.c | 1323 const unsigned int *quanta, in __mlxsw_sp_qdisc_ets_replace() 1360 tclass_num, 0, !!quanta[band], in __mlxsw_sp_qdisc_ets_replace() 1558 handle, p->bands, p->quanta, 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
|
/kernel/linux/linux-5.10/include/net/ |
H A D | pkt_cls.h | 924 unsigned int quanta[TCQ_ETS_MAX_BANDS]; /* 0 for strict bands. */ member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | pkt_cls.h | 991 unsigned int quanta[TCQ_ETS_MAX_BANDS]; /* 0 for strict bands. */ member
|
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 3377 if (p->quanta[band]) { in ksz_tc_ets_validate()
|