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: [email protected]

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(-)

diff --git a/.mailmap b/.mailmap
index a610456351..fcb3d1bb3f 100644
--- a/.mailmap
+++ b/.mailmap
@@ -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]>
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

Reply via email to