[dpdk-stable] patch 'net/octeontx2: fix RSS flow create' has been queued to stable release 19.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Oct 28 11:45:32 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/30/20. 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 1a45c8d0c3653cd4bccb2bfcdc58ad17845e5e88 Mon Sep 17 00:00:00 2001
From: Kiran Kumar K <kirankumark at marvell.com>
Date: Sat, 10 Oct 2020 12:03:10 +0530
Subject: [PATCH] net/octeontx2: fix RSS flow create

[ upstream commit 617c97d2e2924e640745442080c375c95568a2e6 ]

While creating flow with action type RSS, action type is not being
set to RSS, and action type is being set to unicast. Therefore it breaks
RSS functionality. This patch add changes to program the RSS action
properly.

Fixes: 4092e4845dc1 ("net/octeontx2: add flow operations")

Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
---
 drivers/net/octeontx2/otx2_flow.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/octeontx2/otx2_flow.c b/drivers/net/octeontx2/otx2_flow.c
index f1fb9f9884..c9886c9705 100644
--- a/drivers/net/octeontx2/otx2_flow.c
+++ b/drivers/net/octeontx2/otx2_flow.c
@@ -269,6 +269,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev,
 			if (rc)
 				return rc;
 
+			flow->npc_action &= (~(0xfULL));
+			flow->npc_action |= NIX_RX_ACTIONOP_RSS;
 			flow->npc_action |=
 				((uint64_t)(alg_idx & NIX_RSS_ACT_ALG_MASK) <<
 				 NIX_RSS_ACT_ALG_OFFSET) |
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-10-28 10:35:17.091596886 +0000
+++ 0173-net-octeontx2-fix-RSS-flow-create.patch	2020-10-28 10:35:11.780834087 +0000
@@ -1,15 +1,16 @@
-From 617c97d2e2924e640745442080c375c95568a2e6 Mon Sep 17 00:00:00 2001
+From 1a45c8d0c3653cd4bccb2bfcdc58ad17845e5e88 Mon Sep 17 00:00:00 2001
 From: Kiran Kumar K <kirankumark at marvell.com>
 Date: Sat, 10 Oct 2020 12:03:10 +0530
 Subject: [PATCH] net/octeontx2: fix RSS flow create
 
+[ upstream commit 617c97d2e2924e640745442080c375c95568a2e6 ]
+
 While creating flow with action type RSS, action type is not being
 set to RSS, and action type is being set to unicast. Therefore it breaks
 RSS functionality. This patch add changes to program the RSS action
 properly.
 
 Fixes: 4092e4845dc1 ("net/octeontx2: add flow operations")
-Cc: stable at dpdk.org
 
 Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
 ---
@@ -17,10 +18,10 @@
  1 file changed, 2 insertions(+)
 
 diff --git a/drivers/net/octeontx2/otx2_flow.c b/drivers/net/octeontx2/otx2_flow.c
-index 9b32b2accf..e07cea7093 100644
+index f1fb9f9884..c9886c9705 100644
 --- a/drivers/net/octeontx2/otx2_flow.c
 +++ b/drivers/net/octeontx2/otx2_flow.c
-@@ -272,6 +272,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev,
+@@ -269,6 +269,8 @@ flow_program_rss_action(struct rte_eth_dev *eth_dev,
  			if (rc)
  				return rc;
  


More information about the stable mailing list