From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86058A0613 for ; Fri, 27 Sep 2019 12:15:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE3881BEBD; Fri, 27 Sep 2019 12:15:42 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 71ED81BEBA; Fri, 27 Sep 2019 12:15:40 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 03:15:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,555,1559545200"; d="scan'208";a="180459672" Received: from pgsmsx112.gar.corp.intel.com ([10.108.55.201]) by orsmga007.jf.intel.com with ESMTP; 27 Sep 2019 03:15:38 -0700 Received: from pgsmsx109.gar.corp.intel.com (10.221.44.109) by PGSMSX112.gar.corp.intel.com (10.108.55.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Sep 2019 18:09:57 +0800 Received: from pgsmsx102.gar.corp.intel.com ([169.254.6.203]) by PGSMSX109.gar.corp.intel.com ([169.254.14.150]) with mapi id 14.03.0439.000; Fri, 27 Sep 2019 18:09:57 +0800 From: "Gujjar, Abhinandan S" To: Hemant Agrawal , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] test/event_crypto: fix mempool name Thread-Index: AQHVdQw0qtNxV7ywhE62LvIcIWQ4jKc/TRuQ Date: Fri, 27 Sep 2019 10:09:56 +0000 Message-ID: <5612CB344B05EE4F95FC5B729939F7807954A5E4@PGSMSX102.gar.corp.intel.com> References: <20190927081606.22931-1-hemant.agrawal@nxp.com> In-Reply-To: <20190927081606.22931-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWNmZTFhZmQtNzExNS00ZDg5LWE1M2UtOWVlODE2Mzg2NjVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiekd3V3piSzNtWFh3T0xqTVR1N1NKMzhEK1VKd25tT1o0b1F6MnZzUUx1QnNNNGU2NGJKUXZyYmt2N0ZDTlY3biJ9 dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] test/event_crypto: fix mempool name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Acked-by: abhinandan.gujjar@intel.com > -----Original Message----- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 1:46 PM > To: dev@dpdk.org; Gujjar, Abhinandan S > Cc: stable@dpdk.org; Hemant Agrawal > Subject: [PATCH] test/event_crypto: fix mempool name >=20 > The longer mempool name size is causing error in rte_mempool_create_empty > for dpaa1 >=20 > ret =3D snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT, > name); This patch reduce the size of mempool name string >=20 > Fixes: 24054e3640a2 ("test/crypto: use separate session mempools") > Cc: stable@dpdk.org >=20 > Signed-off-by: Hemant Agrawal > --- > app/test/test_event_crypto_adapter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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"); >=20 > params.session_priv_mpool =3D 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