net/sfc: add pattern parsing stub to MAE backend
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index 77aeac8..74a537b 100644 (file)
@@ -947,10 +947,8 @@ mlx5_alloc_shared_dev_ctx(const struct mlx5_dev_spawn_data *spawn,
                goto error;
        }
        if (sh->devx) {
-               uint32_t lcore = (uint32_t)rte_lcore_to_cpu_id(-1);
-
                /* Query the EQN for this core. */
-               err = mlx5_glue->devx_query_eqn(sh->ctx, lcore, &sh->eqn);
+               err = mlx5_glue->devx_query_eqn(sh->ctx, 0, &sh->eqn);
                if (err) {
                        rte_errno = errno;
                        DRV_LOG(ERR, "Failed to query event queue number %d.",