From c79012a3b019bbfa7aefaa567b2b61bda2f5b44b Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Fri, 19 Jul 2019 11:49:03 +0530 Subject: [PATCH] net/bnxt: fix interrupt rearm logic Rearm will intimate hardware that current interrupts are processed and it can continue to send more. Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt") Cc: stable@dpdk.org Signed-off-by: Rahul Gupta Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c index c94cac5a9c..e0eb890f80 100644 --- a/drivers/net/bnxt/bnxt_rxq.c +++ b/drivers/net/bnxt/bnxt_rxq.c @@ -374,7 +374,7 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id) return rc; } cpr = rxq->cp_ring; - B_CP_DB_ARM(cpr); + B_CP_DB_REARM(cpr, cpr->cp_raw_cons); } return rc; } -- 2.20.1