patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/mvsam: fix input args parsing
@ 2021-07-01  7:00 danat
  2021-07-07 15:59 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: danat @ 2021-07-01  7:00 UTC (permalink / raw)
  To: gakhil; +Cc: dev, danat, lironh, michaelsh, stable

From: Dana Vardi <danat@marvell.com>

This patch fix the input arguments assignment to the correct
parameters in mrvl_pmd_init_params struct.

Fixes: 25b05a1c806 ("crypto/mvsam: parse max number of sessions")
Cc: stable@dpdk.org

Signed-off-by: Dana Vardi <danat@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
---
 drivers/crypto/mvsam/rte_mrvl_pmd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c
index d8e07e9c1..e9c6b071c 100644
--- a/drivers/crypto/mvsam/rte_mrvl_pmd.c
+++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c
@@ -1191,14 +1191,14 @@ mrvl_pmd_parse_input_args(struct mrvl_pmd_init_params *params,
 		ret = rte_kvargs_process(kvlist,
 					 RTE_CRYPTODEV_PMD_NAME_ARG,
 					 &parse_name_arg,
-					 &params->common);
+					 &params->common.name);
 		if (ret < 0)
 			goto free_kvlist;
 
 		ret = rte_kvargs_process(kvlist,
 					 MRVL_PMD_MAX_NB_SESS_ARG,
 					 &parse_integer_arg,
-					 params);
+					 &params->max_nb_sessions);
 		if (ret < 0)
 			goto free_kvlist;
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/mvsam: fix input args parsing
  2021-07-01  7:00 [dpdk-stable] [PATCH] crypto/mvsam: fix input args parsing danat
@ 2021-07-07 15:59 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2021-07-07 15:59 UTC (permalink / raw)
  To: Dana Vardi; +Cc: dev, Dana Vardi, Liron Himi, Michael Shamis, stable

> From: Dana Vardi <danat@marvell.com>
> 
> This patch fix the input arguments assignment to the correct
> parameters in mrvl_pmd_init_params struct.
> 
> Fixes: 25b05a1c806 ("crypto/mvsam: parse max number of sessions")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dana Vardi <danat@marvell.com>
> Reviewed-by: Liron Himi <lironh@marvell.com>
> ---
Applied to dpdk-next-crypto

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01  7:00 [dpdk-stable] [PATCH] crypto/mvsam: fix input args parsing danat
2021-07-07 15:59 ` 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).