[dpdk-stable] patch 'net/bnxt: fix interrupt rearm logic' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Wed Aug 28 15:42:25 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 09/04/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/191eb5da7db54d6bdfb3ffd3289a998970f6ed07

Thanks.

Kevin Traynor

---
>From 191eb5da7db54d6bdfb3ffd3289a998970f6ed07 Mon Sep 17 00:00:00 2001
From: Rahul Gupta <rahul.gupta at broadcom.com>
Date: Fri, 19 Jul 2019 11:49:03 +0530
Subject: [PATCH] net/bnxt: fix interrupt rearm logic

[ upstream commit c79012a3b019bbfa7aefaa567b2b61bda2f5b44b ]

Rearm will intimate hardware that current interrupts are processed
and it can continue to send more.

Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt")

Signed-off-by: Rahul Gupta <rahul.gupta at broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
 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 efd5f947e..1fbc66271 100644
--- a/drivers/net/bnxt/bnxt_rxq.c
+++ b/drivers/net/bnxt/bnxt_rxq.c
@@ -374,5 +374,5 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id)
 		}
 		cpr = rxq->cp_ring;
-		B_CP_DB_ARM(cpr);
+		B_CP_DB_REARM(cpr, cpr->cp_raw_cons);
 	}
 	return rc;
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-28 14:32:34.776768267 +0100
+++ 0050-net-bnxt-fix-interrupt-rearm-logic.patch	2019-08-28 14:32:31.718955644 +0100
@@ -1 +1 @@
-From c79012a3b019bbfa7aefaa567b2b61bda2f5b44b Mon Sep 17 00:00:00 2001
+From 191eb5da7db54d6bdfb3ffd3289a998970f6ed07 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c79012a3b019bbfa7aefaa567b2b61bda2f5b44b ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index c94cac5a9..e0eb890f8 100644
+index efd5f947e..1fbc66271 100644
@@ -22 +23 @@
-@@ -375,5 +375,5 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id)
+@@ -374,5 +374,5 @@ bnxt_rx_queue_intr_enable_op(struct rte_eth_dev *eth_dev, uint16_t queue_id)


More information about the stable mailing list