summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_txq.c
diff options
context:
space:
mode:
authorOlivier Gournet <ogournet@corp.free.fr>2017-11-07 10:59:37 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-11-07 12:52:19 +0100
commita49b617b86fede7ffd311fd03099204998e35529 (patch)
treeccc76304f6876ced0c6e78292560dd00fbf6791d /drivers/net/mlx5/mlx5_txq.c
parentaee4a03fee4f24fe7d46a17f4e75853b86fd36cc (diff)
downloaddpdk-next-eventdev-a49b617b86fede7ffd311fd03099204998e35529.zip
dpdk-next-eventdev-a49b617b86fede7ffd311fd03099204998e35529.tar.gz
dpdk-next-eventdev-a49b617b86fede7ffd311fd03099204998e35529.tar.xz
net/mlx5: fix socket field initialization
Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues") Signed-off-by: Olivier Gournet <ogournet@corp.free.fr> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_txq.c')
-rw-r--r--drivers/net/mlx5/mlx5_txq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c
index fbb2630..9c5860f 100644
--- a/drivers/net/mlx5/mlx5_txq.c
+++ b/drivers/net/mlx5/mlx5_txq.c
@@ -580,6 +580,7 @@ mlx5_priv_txq_new(struct priv *priv, uint16_t idx, uint16_t desc,
assert(desc > MLX5_TX_COMP_THRESH);
tmpl->txq.flags = conf->txq_flags;
tmpl->priv = priv;
+ tmpl->socket = socket;
tmpl->txq.elts_n = log2above(desc);
if (priv->mps == MLX5_MPW_ENHANCED)
tmpl->txq.mpw_hdr_dseg = priv->mpw_hdr_dseg;