net/mlx5: cleanup unused Tx doorbelling routine
PATCH 1/1 net/mlx5: cleanup unused Tx doorbelling routine
The mlx5_tx_dbrec() was replaced with common mlx5_doorbell_ring() routine and is not needed anymore.
Signed-off-by Viacheslav Ovsiienko <[email protected]>
--- drivers/net/mlx5/mlx5_tx.h | 15 --------------- 1 file changed, 15 deletions(-)
drivers/net/mlx5/mlx5_tx.h +0 -15
@@ -301,21 +301,6 @@ mlx5_tx_bfreg(struct mlx5_txq_data *txq)return &MLX5_PROC_PRIV (txq->port_id)->uar_table[txq->idx]; } -/** -* 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. -*/ -static __rte_always_inline void -mlx5_tx_dbrec (struct mlx5_txq_data *txq,volatile struct mlx5_wqe *wqe) -{ -mlx5_doorbell_ring (mlx5_tx_bfreg (txq), *(volatile uint64_t *)wqe, - txq->wqe_ci, txq->qp_db,1 ); -} -/** * Convert timestamp from mbuf format to linear counter * of Clock Queue completions (24 bits).
Signature · 1 line
2.34.1
Hi,
Quoted 5 lines · Viacheslav Ovsiienko
The
mlx5_tx_dbrec()was replaced with commonmlx5_doorbell_ring()routine and is not needed anymore.Signed-off-by Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh