* [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue
@ 2021-09-16 6:07 Anoob Joseph
2021-09-16 8:53 ` Akhil Goyal
0 siblings, 1 reply; 4+ messages in thread
From: Anoob Joseph @ 2021-09-16 6:07 UTC (permalink / raw)
To: Akhil Goyal, Radu Nicolau
Cc: Anoob Joseph, Jerin Jacob, Konstantin Ananyev, Archana Muniganti,
Tejasree Kondoj, Hemant Agrawal, Gagandeep Singh, dev, stable
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@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 69f8405..1a1ec78 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.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue
2021-09-16 6:07 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue Anoob Joseph
@ 2021-09-16 8:53 ` Akhil Goyal
2021-09-24 17:36 ` Akhil Goyal
0 siblings, 1 reply; 4+ messages in thread
From: Akhil Goyal @ 2021-09-16 8:53 UTC (permalink / raw)
To: Anoob Joseph, Radu Nicolau
Cc: Anoob Joseph, Jerin Jacob Kollanukkaran, Konstantin Ananyev,
Archana Muniganti, Tejasree Kondoj, Hemant Agrawal,
Gagandeep Singh, dev, stable
> 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@marvell.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue
2021-09-16 8:53 ` Akhil Goyal
@ 2021-09-24 17:36 ` Akhil Goyal
2021-09-24 17:36 ` Akhil Goyal
0 siblings, 1 reply; 4+ messages in thread
From: Akhil Goyal @ 2021-09-24 17:36 UTC (permalink / raw)
To: Akhil Goyal, Anoob Joseph, Radu Nicolau
Cc: Anoob Joseph, Jerin Jacob Kollanukkaran, Konstantin Ananyev,
Archana Muniganti, Tejasree Kondoj, Hemant Agrawal,
Gagandeep Singh, dev, stable
> > 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@marvell.com>
> > ---
> Acked-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue
2021-09-24 17:36 ` Akhil Goyal
@ 2021-09-24 17:36 ` Akhil Goyal
0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2021-09-24 17:36 UTC (permalink / raw)
To: Anoob Joseph, Radu Nicolau
Cc: Anoob Joseph, Jerin Jacob Kollanukkaran, Konstantin Ananyev,
Archana Muniganti, Tejasree Kondoj, Hemant Agrawal,
Gagandeep Singh, dev, stable
> > > 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@marvell.com>
> > > ---
> > Acked-by: Akhil Goyal <gakhil@marvell.com>
> Applied to dpdk-next-crypto
>
Cc: stable@dpdk.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-24 17:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 6:07 [dpdk-dev] [PATCH] examples/ipsec-secgw: fix parsing of flow queue Anoob Joseph
2021-09-16 8:53 ` Akhil Goyal
2021-09-24 17:36 ` Akhil Goyal
2021-09-24 17:36 ` Akhil Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).