patch 'net/cnxk: fix RSS RETA table update' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Tue Mar 1 11:42:49 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.1

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

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

Thanks.

Kevin

---
>From d9af841e5a2ad902db734c152288eed0933463af Mon Sep 17 00:00:00 2001
From: Rakesh Kudurumalla <rkudurumalla at marvell.com>
Date: Thu, 24 Feb 2022 14:05:28 +0530
Subject: [PATCH] net/cnxk: fix RSS RETA table update

[ upstream commit fe3833ed2222c369f9b60c0be520dee6e875dcdf ]

RSS reta table is corrupted during rte_eth_dev_rss_reta_update().
Fix it by restoring previous table entries before updating.

Fixes: 00242a687de6 ("net/cnxk: support RETA and RSS hash")

Signed-off-by: Rakesh Kudurumalla <rkudurumalla at marvell.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
---
 drivers/net/cnxk/cnxk_ethdev_ops.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/cnxk/cnxk_ethdev_ops.c b/drivers/net/cnxk/cnxk_ethdev_ops.c
index 34e4809650..f1d13c5004 100644
--- a/drivers/net/cnxk/cnxk_ethdev_ops.c
+++ b/drivers/net/cnxk/cnxk_ethdev_ops.c
@@ -748,4 +748,6 @@ cnxk_nix_reta_update(struct rte_eth_dev *eth_dev,
 	}
 
+	roc_nix_rss_reta_get(nix, 0, reta);
+
 	/* Copy RETA table */
 	for (i = 0; i < (int)(dev->nix.reta_sz / RTE_ETH_RETA_GROUP_SIZE); i++) {
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-01 10:41:03.947126607 +0000
+++ 0093-net-cnxk-fix-RSS-RETA-table-update.patch	2022-03-01 10:41:01.461244130 +0000
@@ -1 +1 @@
-From fe3833ed2222c369f9b60c0be520dee6e875dcdf Mon Sep 17 00:00:00 2001
+From d9af841e5a2ad902db734c152288eed0933463af Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fe3833ed2222c369f9b60c0be520dee6e875dcdf ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index b0a16f3c56..f4a0562475 100644
+index 34e4809650..f1d13c5004 100644
@@ -22 +23 @@
-@@ -858,4 +858,6 @@ cnxk_nix_reta_update(struct rte_eth_dev *eth_dev,
+@@ -748,4 +748,6 @@ cnxk_nix_reta_update(struct rte_eth_dev *eth_dev,



More information about the stable mailing list