net/mlx5: revert fallback to Verbs Tx allocation
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")
Reported-by Pier Damouny <[email protected]>
Signed-off-by Thomas Monjalon <[email protected]>
--- .mailmap | 1 - drivers/net/mlx5/mlx5_trigger.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
.mailmap +0 -1
@@ -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
@@ -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
Quoted 8 lines · Thomas Monjalon
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")Reported-by Pier Damouny <[email protected]>Signed-off-by Thomas Monjalon <[email protected]>
Thomas Monjalon
Applied20/07/2026 14:04, Dariusz Sosnowski:
Quoted 11 lines · Thomas Monjalon
Quoted 8 lines
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")Reported-by Pier Damouny <[email protected]>Signed-off-by Thomas Monjalon <[email protected]>
Applied