From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id EB3471BE71; Fri, 21 Dec 2018 16:43:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2018 07:43:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,381,1539673200"; d="scan'208";a="131911100" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 21 Dec 2018 07:43:44 -0800 Received: from irsmsx112.ger.corp.intel.com ([169.254.1.252]) by IRSMSX103.ger.corp.intel.com ([169.254.3.157]) with mapi id 14.03.0415.000; Fri, 21 Dec 2018 15:43:43 +0000 From: "De Lara Guarch, Pablo" To: "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: AQHUmTcSMQZPX8lNkk6wULwaRtea8KWJVJRQ Date: Fri, 21 Dec 2018 15:43:43 +0000 Message-ID: References: <20181221141105.82292-1-roy.fan.zhang@intel.com> In-Reply-To: <20181221141105.82292-1-roy.fan.zhang@intel.com> 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: Fri, 21 Dec 2018 15:43:47 -0000 > -----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 >=20 > This patch fixes the memory leak during queue pair release. > Originally the operation ring is not freed when releasing queue pair, cau= se > the next queue_pair configure call fail and memory leak. >=20 > 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") >=20 > Cc: stable@dpdk.org >=20 > 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(+) Title should be renamed to "drivers/crypto:". Apart from that, Acked-by: Pablo de Lara