From: Shahaf Shuler Date: Tue, 17 Oct 2017 12:04:57 +0000 (+0300) Subject: net/mlx5: fix interrupt management fields assignment X-Git-Tag: spdx-start~1159 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5ea20307181c71a7b947d60ed4e4d424cebc5491;p=dpdk.git 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 --- 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();