[dpdk-stable] patch 'net/ixgbe: fix queue interrupt for X552/557' has been queued to LTS release 17.11.10

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Dec 19 15:32:39 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.10

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/21/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.

Thanks.

Luca Boccassi

---
>From 8db1d443af955f93d3d10f59ad1b25f3dee8b97c Mon Sep 17 00:00:00 2001
From: Junyu Jiang <junyux.jiang at intel.com>
Date: Wed, 4 Sep 2019 03:31:47 +0000
Subject: [PATCH] net/ixgbe: fix queue interrupt for X552/557

[ upstream commit f26f416d4c3ac8b77cd8dd84f72628b37fec7283 ]

Interrupt mode is not working on X552/557 device because
this device doesn't enable the queue interrupt mapping,
this patch fixed the issue.

Fixes: d2e72774e58c ("ixgbe/base: support X550")

Signed-off-by: Junyu Jiang <junyux.jiang at intel.com>
Acked-by: Qiming Yang <qiming.yang at intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index fef2270596..252c2bffc0 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5795,7 +5795,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
 		IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp);
 	} else if ((hw->mac.type == ixgbe_mac_82599EB) ||
 			(hw->mac.type == ixgbe_mac_X540) ||
-			(hw->mac.type == ixgbe_mac_X550)) {
+			(hw->mac.type == ixgbe_mac_X550) ||
+			(hw->mac.type == ixgbe_mac_X550EM_x)) {
 		if (direction == -1) {
 			/* other causes */
 			idx = ((queue & 1) * 8);
@@ -5918,6 +5919,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
 		case ixgbe_mac_82599EB:
 		case ixgbe_mac_X540:
 		case ixgbe_mac_X550:
+		case ixgbe_mac_X550EM_x:
 			ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID);
 			break;
 		default:
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-19 14:32:26.804141086 +0000
+++ 0012-net-ixgbe-fix-queue-interrupt-for-X552-557.patch	2019-12-19 14:32:25.429284420 +0000
@@ -1,14 +1,15 @@
-From f26f416d4c3ac8b77cd8dd84f72628b37fec7283 Mon Sep 17 00:00:00 2001
+From 8db1d443af955f93d3d10f59ad1b25f3dee8b97c Mon Sep 17 00:00:00 2001
 From: Junyu Jiang <junyux.jiang at intel.com>
 Date: Wed, 4 Sep 2019 03:31:47 +0000
 Subject: [PATCH] net/ixgbe: fix queue interrupt for X552/557
 
+[ upstream commit f26f416d4c3ac8b77cd8dd84f72628b37fec7283 ]
+
 Interrupt mode is not working on X552/557 device because
 this device doesn't enable the queue interrupt mapping,
 this patch fixed the issue.
 
 Fixes: d2e72774e58c ("ixgbe/base: support X550")
-Cc: stable at dpdk.org
 
 Signed-off-by: Junyu Jiang <junyux.jiang at intel.com>
 Acked-by: Qiming Yang <qiming.yang at intel.com>
@@ -17,10 +18,10 @@
  1 file changed, 3 insertions(+), 1 deletion(-)
 
 diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
-index f328d7c033..e985053d6b 100644
+index fef2270596..252c2bffc0 100644
 --- a/drivers/net/ixgbe/ixgbe_ethdev.c
 +++ b/drivers/net/ixgbe/ixgbe_ethdev.c
-@@ -5895,7 +5895,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
+@@ -5795,7 +5795,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
  		IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp);
  	} else if ((hw->mac.type == ixgbe_mac_82599EB) ||
  			(hw->mac.type == ixgbe_mac_X540) ||
@@ -30,7 +31,7 @@
  		if (direction == -1) {
  			/* other causes */
  			idx = ((queue & 1) * 8);
-@@ -6025,6 +6026,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
+@@ -5918,6 +5919,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev)
  		case ixgbe_mac_82599EB:
  		case ixgbe_mac_X540:
  		case ixgbe_mac_X550:


More information about the stable mailing list