From 5ea20307181c71a7b947d60ed4e4d424cebc5491 Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Tue, 17 Oct 2017 15:04:57 +0300 Subject: [PATCH] net/mlx5: fix interrupt management fields assignment Rxq creation was missing assignment for cq fields required for interrupt management. Fixes: 09cb5b581762 ("net/mlx5: separate DPDK from verbs Rx queue objects") Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c index 2beebfdf21..daf05cb091 100644 --- a/drivers/net/mlx5/mlx5_rxq.c +++ b/drivers/net/mlx5/mlx5_rxq.c @@ -730,6 +730,9 @@ mlx5_priv_rxq_ibv_new(struct priv *priv, uint16_t idx) }; rxq_data->cq_db = cq_info.dbrec; rxq_data->cqes = (volatile struct mlx5_cqe (*)[])(uintptr_t)cq_info.buf; + rxq_data->cq_uar = cq_info.cq_uar; + rxq_data->cqn = cq_info.cqn; + rxq_data->cq_arm_sn = 0; /* Update doorbell counter. */ rxq_data->rq_ci = (1 << rxq_data->elts_n) >> rxq_data->sges_n; rte_wmb(); -- 2.20.1