[PATCH] net/mlx5: revert fallback to Verbs Tx allocation
Thomas Monjalon
thomas at monjalon.net
Mon Jul 20 13:49:29 CEST 2026
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")
Cc: stable at dpdk.org
Reported-by: Pier Damouny <pdamouny at nvidia.com>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
.mailmap | 1 -
drivers/net/mlx5/mlx5_trigger.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.mailmap b/.mailmap
index a610456351..fcb3d1bb3f 100644
--- a/.mailmap
+++ b/.mailmap
@@ -184,7 +184,6 @@ Ayuj Verma <ayverma at marvell.com> <ayuj.verma at caviumnetworks.com>
Balakrishna Bhamidipati <bbhamidipati at marvell.com>
Balasubramanian Manoharan <balasubramanian.manoharan at caviumnetworks.com>
Balazs Nemeth <bnemeth at redhat.com> <balazs.nemeth at intel.com>
-Banoth Saikumar <banoth.saikumar at oracle.com>
Bao-Long Tran <longtb5 at viettel.com.vn>
Baoyuan Li <updoing at sina.com>
Bar Neuman <bneuman at nvidia.com>
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index c2804c5897..25847c8ba2 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -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;
--
2.54.0
More information about the dev
mailing list