patches for DPDK stable branches
 help / color / Atom feed
From: "Gujjar, Abhinandan S" <abhinandan.gujjar@intel.com>
To: Hemant Agrawal <hemant.agrawal@nxp.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH] test/event_crypto: fix mempool name
Date: Fri, 27 Sep 2019 10:09:56 +0000
Message-ID: <5612CB344B05EE4F95FC5B729939F7807954A5E4@PGSMSX102.gar.corp.intel.com> (raw)
In-Reply-To: <20190927081606.22931-1-hemant.agrawal@nxp.com>

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


  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27  8:16 Hemant Agrawal
2019-09-27 10:09 ` Gujjar, Abhinandan S [this message]
2019-09-30  8:18   ` [dpdk-stable] [dpdk-dev] " Jerin Jacob

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5612CB344B05EE4F95FC5B729939F7807954A5E4@PGSMSX102.gar.corp.intel.com \
    --to=abhinandan.gujjar@intel.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox