public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH] net/mlx5: cleanup unused Tx doorbelling routine
@ 2026-03-23 10:14 Viacheslav Ovsiienko
  2026-03-24 12:57 ` Raslan Darawsheh
  0 siblings, 1 reply; 2+ messages in thread
From: Viacheslav Ovsiienko @ 2026-03-23 10:14 UTC (permalink / raw)
  To: dev; +Cc: rasland, matan, suanmingm, dsosnowski

The mlx5_tx_dbrec() was replaced with common mlx5_doorbell_ring()
routine and is not needed anymore.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
 drivers/net/mlx5/mlx5_tx.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_tx.h b/drivers/net/mlx5/mlx5_tx.h
index 48dbb2d867..016dba0b03 100644
--- a/drivers/net/mlx5/mlx5_tx.h
+++ b/drivers/net/mlx5/mlx5_tx.h
@@ -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).
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-24 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23 10:14 [PATCH] net/mlx5: cleanup unused Tx doorbelling routine Viacheslav Ovsiienko
2026-03-24 12:57 ` Raslan Darawsheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox