patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] test/event_crypto: fix mempool name
@ 2019-09-27  8:16 Hemant Agrawal
  2019-09-27 10:09 ` Gujjar, Abhinandan S
  0 siblings, 1 reply; 3+ messages in thread
From: Hemant Agrawal @ 2019-09-27  8:16 UTC (permalink / raw)
  To: dev, abhinandan.gujjar; +Cc: stable, Hemant Agrawal

The longer mempool name size is causing error in
rte_mempool_create_empty for dpaa1

ret = snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT, name);
This patch reduce the size of mempool name string

Fixes: 24054e3640a2 ("test/crypto: use separate session mempools")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
 app/test/test_event_crypto_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index 73655020d..cff7ad61f 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -536,7 +536,7 @@ configure_cryptodev(void)
 			"session mempool allocation failed\n");
 
 	params.session_priv_mpool = rte_mempool_create(
-				"CRYPTO_ADAPTER_SESSION_MP_PRIV",
+				"CRYPTO_AD_SESS_MP_PRIV",
 				MAX_NB_SESSIONS,
 				session_size,
 				0, 0, NULL, NULL, NULL,
-- 
2.17.1


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

* Re: [dpdk-stable] [PATCH] test/event_crypto: fix mempool name
  2019-09-27  8:16 [dpdk-stable] [PATCH] test/event_crypto: fix mempool name Hemant Agrawal
@ 2019-09-27 10:09 ` Gujjar, Abhinandan S
  2019-09-30  8:18   ` [dpdk-stable] [dpdk-dev] " Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Gujjar, Abhinandan S @ 2019-09-27 10:09 UTC (permalink / raw)
  To: Hemant Agrawal, dev; +Cc: stable

Acked-by: abhinandan.gujjar@intel.com


> -----Original Message-----
> From: Hemant Agrawal <hemant.agrawal@nxp.com>
> Sent: Friday, September 27, 2019 1:46 PM
> To: dev@dpdk.org; Gujjar, Abhinandan S <abhinandan.gujjar@intel.com>
> Cc: stable@dpdk.org; Hemant Agrawal <hemant.agrawal@nxp.com>
> Subject: [PATCH] test/event_crypto: fix mempool name
> 
> The longer mempool name size is causing error in rte_mempool_create_empty
> for dpaa1
> 
> ret = snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT,
> name); This patch reduce the size of mempool name string
> 
> Fixes: 24054e3640a2 ("test/crypto: use separate session mempools")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> ---
>  app/test/test_event_crypto_adapter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/app/test/test_event_crypto_adapter.c
> b/app/test/test_event_crypto_adapter.c
> index 73655020d..cff7ad61f 100644
> --- a/app/test/test_event_crypto_adapter.c
> +++ b/app/test/test_event_crypto_adapter.c
> @@ -536,7 +536,7 @@ configure_cryptodev(void)
>  			"session mempool allocation failed\n");
> 
>  	params.session_priv_mpool = rte_mempool_create(
> -				"CRYPTO_ADAPTER_SESSION_MP_PRIV",
> +				"CRYPTO_AD_SESS_MP_PRIV",
>  				MAX_NB_SESSIONS,
>  				session_size,
>  				0, 0, NULL, NULL, NULL,
> --
> 2.17.1


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

* Re: [dpdk-stable] [dpdk-dev] [PATCH] test/event_crypto: fix mempool name
  2019-09-27 10:09 ` Gujjar, Abhinandan S
@ 2019-09-30  8:18   ` Jerin Jacob
  0 siblings, 0 replies; 3+ messages in thread
From: Jerin Jacob @ 2019-09-30  8:18 UTC (permalink / raw)
  To: Gujjar, Abhinandan S; +Cc: Hemant Agrawal, dev, stable

On Fri, Sep 27, 2019 at 3:45 PM Gujjar, Abhinandan S
<abhinandan.gujjar@intel.com> wrote:
>
> Acked-by: abhinandan.gujjar@intel.com

Changed to  Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
and Applied to dpdk-next-eventdev/master. Thanks.

>
>
> > -----Original Message-----
> > From: Hemant Agrawal <hemant.agrawal@nxp.com>
> > Sent: Friday, September 27, 2019 1:46 PM
> > To: dev@dpdk.org; Gujjar, Abhinandan S <abhinandan.gujjar@intel.com>
> > Cc: stable@dpdk.org; Hemant Agrawal <hemant.agrawal@nxp.com>
> > Subject: [PATCH] test/event_crypto: fix mempool name
> >
> > The longer mempool name size is causing error in rte_mempool_create_empty
> > for dpaa1
> >
> > ret = snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT,
> > name); This patch reduce the size of mempool name string
> >
> > Fixes: 24054e3640a2 ("test/crypto: use separate session mempools")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> > ---
> >  app/test/test_event_crypto_adapter.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/app/test/test_event_crypto_adapter.c
> > b/app/test/test_event_crypto_adapter.c
> > index 73655020d..cff7ad61f 100644
> > --- a/app/test/test_event_crypto_adapter.c
> > +++ b/app/test/test_event_crypto_adapter.c
> > @@ -536,7 +536,7 @@ configure_cryptodev(void)
> >                       "session mempool allocation failed\n");
> >
> >       params.session_priv_mpool = rte_mempool_create(
> > -                             "CRYPTO_ADAPTER_SESSION_MP_PRIV",
> > +                             "CRYPTO_AD_SESS_MP_PRIV",
> >                               MAX_NB_SESSIONS,
> >                               session_size,
> >                               0, 0, NULL, NULL, NULL,
> > --
> > 2.17.1
>

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

end of thread, other threads:[~2019-09-30  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27  8:16 [dpdk-stable] [PATCH] test/event_crypto: fix mempool name Hemant Agrawal
2019-09-27 10:09 ` Gujjar, Abhinandan S
2019-09-30  8:18   ` [dpdk-stable] [dpdk-dev] " Jerin Jacob

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).