Searched refs:elts_m (Results 1 – 5 of 5) sorted by relevance
304 mlx4_txq_complete(struct txq *txq, const unsigned int elts_m, in mlx4_txq_complete() argument345 first_txbb = (&(*txq->elts)[elts_tail & elts_m])->eocb; in mlx4_txq_complete()349 (&(*txq->elts)[elts_tail & elts_m])->eocb); in mlx4_txq_complete()885 const unsigned int elts_m = elts_n - 1; in mlx4_tx_burst() local895 mlx4_txq_complete(txq, elts_m, sq); in mlx4_tx_burst()903 elt = &(*txq->elts)[elts_head & elts_m]; in mlx4_tx_burst()908 struct txq_elt *elt_next = &(*txq->elts)[++elts_head & elts_m]; in mlx4_tx_burst()
184 unsigned int elts_m = txq->elts_n - 1; in mlx4_txq_free_elts() local188 struct txq_elt *elt = &(*elts)[elts_tail++ & elts_m]; in mlx4_txq_free_elts()
60 const uint16_t elts_m = elts_n - 1; in txq_free_elts() local72 struct rte_mbuf *elt = (*elts)[elts_tail & elts_m]; in txq_free_elts()78 memset(&(*elts)[elts_tail & elts_m], in txq_free_elts()80 sizeof((*elts)[elts_tail & elts_m])); in txq_free_elts()1128 tmpl->txq.elts_m = desc - 1; in mlx5_txq_new()
1971 part = txq->elts_s - (txq->elts_tail & txq->elts_m); in mlx5_tx_free_elts()1975 mlx5_tx_free_mbuf(&txq->elts[txq->elts_tail & txq->elts_m], in mlx5_tx_free_elts()2007 part = txq->elts_s - (txq->elts_head & txq->elts_m); in mlx5_tx_copy_elts()2011 rte_memcpy((void *)(elts + (txq->elts_head & txq->elts_m)), in mlx5_tx_copy_elts()3077 txq->elts[txq->elts_head++ & txq->elts_m] = loc->mbuf; in mlx5_tx_mseg_build()3103 txq->elts[txq->elts_head++ & txq->elts_m] = loc->mbuf; in mlx5_tx_mseg_build()3376 txq->elts[txq->elts_head++ & txq->elts_m] = loc->mbuf; in mlx5_tx_packet_multi_send()3772 txq->elts[txq->elts_head++ & txq->elts_m] = loc->mbuf; in mlx5_tx_burst_tso()4419 txq->elts[txq->elts_head++ & txq->elts_m] = loc->mbuf; in mlx5_tx_burst_empw_inline()4712 txq->elts[txq->elts_head++ & txq->elts_m] = in mlx5_tx_burst_single_send()[all …]
229 uint16_t elts_m; /* Mask for mbuf elements indices. */ member