Home
last modified time | relevance | path

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

/drivers/infiniband/hw/irdma/
Duk.c72 qp->sq_wrtrk_array[wqe_idx].quanta = IRDMA_QP_WQE_MIN_QUANTA; in irdma_nop_1()
164 void irdma_qp_push_wqe(struct irdma_qp_uk *qp, __le64 *wqe, u16 quanta, in irdma_qp_push_wqe() argument
177 memcpy(push, wqe, quanta * IRDMA_QP_WQE_MIN_SIZE); in irdma_qp_push_wqe()
191 u16 quanta, u32 total_size, in irdma_qp_get_next_send_wqe() argument
203 if (quanta <= avail_quanta) { in irdma_qp_get_next_send_wqe()
205 if (quanta > IRDMA_SQ_RING_FREE_QUANTA(qp->sq_ring)) in irdma_qp_get_next_send_wqe()
209 if (quanta + avail_quanta > in irdma_qp_get_next_send_wqe()
227 IRDMA_RING_MOVE_HEAD_BY_COUNT_NOCHECK(qp->sq_ring, quanta); in irdma_qp_get_next_send_wqe()
230 if (qp->uk_attrs->hw_rev == IRDMA_GEN_1 && quanta == 1 && in irdma_qp_get_next_send_wqe()
237 qp->sq_wrtrk_array[*wqe_idx].quanta = quanta; in irdma_qp_get_next_send_wqe()
[all …]
Duser.h329 u16 quanta; member
423 u16 quanta, u32 total_size,
429 enum irdma_status_code irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta);
437 void irdma_qp_push_wqe(struct irdma_qp_uk *qp, __le64 *wqe, u16 quanta,
Dutils.c2652 sq_ring->tail + qp->sq_wrtrk_array[sq_ring->tail].quanta); in irdma_generate_flush_completions()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c1073 const unsigned int *quanta, in __mlxsw_sp_qdisc_ets_replace() argument
1091 tclass, 0, !!quanta[band], in __mlxsw_sp_qdisc_ets_replace()
1270 handle, p->bands, p->quanta, in mlxsw_sp_qdisc_ets_replace()