[dpdk-stable] patch 'examples/ipsec-secgw: fix parsing of flow queue' has been queued to stable release 20.11.4
Xueming Li
xuemingl at nvidia.com
Wed Nov 10 07:29:13 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/12/21. 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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/8f07dfbc181609e27ea5f4eab74660b345277890
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 8f07dfbc181609e27ea5f4eab74660b345277890 Mon Sep 17 00:00:00 2001
From: Anoob Joseph <anoobj at marvell.com>
Date: Thu, 16 Sep 2021 11:37:51 +0530
Subject: [PATCH] examples/ipsec-secgw: fix parsing of flow queue
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 8131b7eb5041d481c74318bff3cafa8905ac3558 ]
Documentation specifies that flow port & queue is provided as,
<...> port 0 queue 0
But code is expecting the same as,
<...> port 0 0
Fix the above to match documentation.
Fixes: 8e693616fcb2 ("examples/ipsec-secgw: enable flow based distribution")
Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
---
examples/ipsec-secgw/flow.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/ipsec-secgw/flow.c b/examples/ipsec-secgw/flow.c
index 69f8405d15..1a1ec7861c 100644
--- a/examples/ipsec-secgw/flow.c
+++ b/examples/ipsec-secgw/flow.c
@@ -188,7 +188,9 @@ parse_flow_tokens(char **tokens, uint32_t n_tokens,
return;
rule->port = atoi(tokens[ti]);
+ }
+ if (strcmp(tokens[ti], "queue") == 0) {
INCREMENT_TOKEN_INDEX(ti, n_tokens, status);
if (status->status < 0)
return;
--
2.33.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-11-10 14:17:05.140997234 +0800
+++ 0069-examples-ipsec-secgw-fix-parsing-of-flow-queue.patch 2021-11-10 14:17:01.827413112 +0800
@@ -1 +1 @@
-From 8131b7eb5041d481c74318bff3cafa8905ac3558 Mon Sep 17 00:00:00 2001
+From 8f07dfbc181609e27ea5f4eab74660b345277890 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 8131b7eb5041d481c74318bff3cafa8905ac3558 ]
@@ -17 +19,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list