]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_rxq.c
net/mlx5: fix socket field initialization
[dpdk.git] / drivers / net / mlx5 / mlx5_rxq.c
index 18c13b3c76b00692b7fea4b63ce7d1d35dd688f0..6b29aaee6e40d58f36fe2ae9ba95c012ef50432f 100644 (file)
@@ -894,6 +894,7 @@ mlx5_priv_rxq_new(struct priv *priv, uint16_t idx, uint16_t desc,
                                 0, socket);
        if (!tmpl)
                return NULL;
+       tmpl->socket = socket;
        if (priv->dev->data->dev_conf.intr_conf.rxq)
                tmpl->irq = 1;
        /* Enable scattered packets support for this queue if necessary. */