Skip to contentSkip to conversation

net/mlx5: revert fallback to Verbs Tx allocation

PATCH In review Thomas Monjalon 2 participants 3 messages Jul 20 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5: revert fallback to Verbs Tx allocation

On Windows, DevX CQ creation was failing because
of a different allocation fallback behaviour.

Fixes 4abc12b9331c ("net/mlx5: fall back to Verbs Tx allocation without DevX")
---
 .mailmap                        | 1 -
 drivers/net/mlx5/mlx5_trigger.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
.mailmap +0 -1
index a610456351..fcb3d1bb3f 100644
@@ -184,7 +184,6 @@ Ayuj Verma <[email protected]> <[email protected]>
 Balakrishna Bhamidipati <[email protected]>
 Balasubramanian Manoharan <[email protected]>
 Balazs Nemeth <[email protected]> <[email protected]>
-Banoth Saikumar <[email protected]>
 Bao-Long Tran <[email protected]>
 Baoyuan Li <[email protected]>
 Bar Neuman <[email protected]>
drivers/net/mlx5/mlx5_trigger.c +1 -1
index c2804c5897..25847c8ba2 100644
@@ -1201,7 +1201,7 @@ static int mlx5_dev_allocate_consec_tx_mem(struct rte_eth_dev *dev)
 	void *umem_buf = NULL;
 
 	/* Legacy per queue allocation, do nothing here. */
-	if (priv->sh->config.txq_mem_algn == 0 || !mlx5_devx_obj_ops_en(priv->sh))
+	if (priv->sh->config.txq_mem_algn == 0)
 		return 0;
 	alignment = (size_t)1 << priv->sh->config.txq_mem_algn;
 	total_size = priv->consec_tx_mem.sq_total_size + priv->consec_tx_mem.cq_total_size;
Signature · 1 line
2.54.0