From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B104E1B1FE; Tue, 8 Jan 2019 23:44:55 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2019 14:44:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,455,1539673200"; d="scan'208";a="125338457" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga001.jf.intel.com with ESMTP; 08 Jan 2019 14:44:53 -0800 Received: from irsmsx112.ger.corp.intel.com ([169.254.1.84]) by IRSMSX101.ger.corp.intel.com ([169.254.1.213]) with mapi id 14.03.0415.000; Tue, 8 Jan 2019 22:44:52 +0000 From: "De Lara Guarch, Pablo" To: "De Lara Guarch, Pablo" , "Zhang, Roy Fan" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Trahe, Fiona" , "stable@dpdk.org" Thread-Topic: [PATCH] cryptodev: fix PMD memory leak Thread-Index: AQHUmTcSMQZPX8lNkk6wULwaRtea8KWJVJRQgBy/+JA= Date: Tue, 8 Jan 2019 22:44:51 +0000 Message-ID: References: <20181221141105.82292-1-roy.fan.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzIyMWY0MWYtYTYxNC00YjBkLWIwYzUtYjkxNDlhNTNkODMzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZVhrVko4QnJlR3JkXC9uYWFsZ2dMbW9ZUzhibWErdElqMmk4R2FDWHNXNzBhRlpxdFNHOE42TW8zNWdCSk53YzAifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] cryptodev: fix PMD memory leak 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: , X-List-Received-Date: Tue, 08 Jan 2019 22:44:56 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of De Lara Guarch, > Pablo > Sent: Friday, December 21, 2018 3:44 PM > To: Zhang, Roy Fan ; dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; > stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] cryptodev: fix PMD memory leak >=20 >=20 >=20 > > -----Original Message----- > > From: Zhang, Roy Fan > > Sent: Friday, December 21, 2018 2:11 PM > > To: dev@dpdk.org > > Cc: akhil.goyal@nxp.com; De Lara Guarch, Pablo > > ; Trahe, Fiona > > ; stable@dpdk.org > > Subject: [PATCH] cryptodev: fix PMD memory leak > > > > This patch fixes the memory leak during queue pair release. > > Originally the operation ring is not freed when releasing queue pair, > > cause the next queue_pair configure call fail and memory leak. > > > > Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto > > operations") > > Fixes: cf7685d68f00 ("crypto/zuc: add driver for ZUC library") > > Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL > > library") > > Fixes: 3aafc423cf4d ("snow3g: add driver for SNOW 3G library") > > > > Cc: stable@dpdk.org > > > > Signed-off-by: Fan Zhang > > --- > > drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 5 +++++ > > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 5 +++++ > > drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 5 +++++ > > drivers/crypto/zuc/rte_zuc_pmd_ops.c | 5 +++++ > > 4 files changed, 20 insertions(+) >=20 > Title should be renamed to "drivers/crypto:". >=20 > Apart from that, >=20 > Acked-by: Pablo de Lara Applied to dpdk-next-crypto. Thanks, Pablo