MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_tx_dbrec

Function mlx5_tx_dbrec

dpdk/drivers/net/mlx5/mlx5_tx.h:308–313  ·  view source on GitHub ↗

* Ring TX queue doorbell and flush the update by write memory barrier. * * @param txq * Pointer to TX queue structure. * @param wqe * Pointer to the last WQE posted in the NIC. */

Source from the content-addressed store, hash-verified

306 * Pointer to the last WQE posted in the NIC.
307 */
308static __rte_always_inline void
309mlx5_tx_dbrec(struct mlx5_txq_data *txq, volatile struct mlx5_wqe *wqe)
310{
311 mlx5_doorbell_ring(mlx5_tx_bfreg(txq), *(volatile uint64_t *)wqe,
312 txq->wqe_ci, txq->qp_db, 1);
313}
314
315/**
316 * Convert timestamp from mbuf format to linear counter

Callers

nothing calls this directly

Calls 2

mlx5_doorbell_ringFunction · 0.85
mlx5_tx_bfregFunction · 0.85

Tested by

no test coverage detected