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 3E965A04DC; Mon, 19 Oct 2020 09:51:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ABC5ABCC6; Mon, 19 Oct 2020 09:51:48 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 681FEAD75 for ; Mon, 19 Oct 2020 09:51:47 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id DA8745C0063; Mon, 19 Oct 2020 03:51:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 19 Oct 2020 03:51:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= A7jFbyLdamBrJ99OfauXwV/jxpOBL0uW1teaKEe5JIc=; b=GQSn2V7+in8YJFeu /58KrAV/BZphiprsNrdlcmbilmsMS7ny1+z15blGDfLkMaRe/k7gLCXkkagGuZQt XVbKlrb+ncjCWe3Yu8IyKRUgBGGYpEDKqqVDg5EyF+HVh3RTCuYybD94JzT1WiPf nCZojA9YK8Tb/a5VPRFis18sE0nycxpJlTQgh3PVzHjQuun7RzB64T45n1FvkbeO 8qEYrBsoiODRllGEDkRQshUtwSkjxGDkzw5DqD2zTO1xLZ4iWDm+2/rJYzfYsieX Z0+iwt5KeDGA0AZFXGkM0ysFEQ+zpIY2pP8xUK+yGVWEN2mRDDgEiPLIkE3lADMg eQo02w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=A7jFbyLdamBrJ99OfauXwV/jxpOBL0uW1teaKEe5J Ic=; b=o9kI7IyAETG4G+pX3WjxYJC4fRNgML7uLzx02xvIZ/q11cRZ8vB3T3UZ+ Txz/9hKaR0M4i+EKmVG7q3QNTazIdB8YHcTAsRE5GhHMnPEX9eEdW0GtvrpdmNv7 5uNYc5WsKQ7Qg38G1iqEKW1O4p+HQ4ck+lT47F0MRRbXfAaa8VJvHCywq5sZ5IjJ n647CcvI8x6pr79lIYTnxUILs32rxyfmYdl+mA4oe5L2gEFjR3J4FOjiR0V6gdeS hp0hboWNGQqKD5YokPHBaQSA1jbqSZ7AfocTKmXpcAtJ/ERKquVNh9USBCgHPMPX 75Z7l+EPtiH4dnK4drQoW9d6af6XQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjedtgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A91CF328005E; Mon, 19 Oct 2020 03:51:43 -0400 (EDT) From: Thomas Monjalon To: Akhil Goyal Cc: dev@dpdk.org, mdr@ashroe.eu, anoobj@marvell.com, hemant.agrawal@nxp.com, konstantin.ananyev@intel.com, declan.doherty@intel.com, radu.nicolau@intel.com, david.coyle@intel.com, Lukasz Wojciechowski Date: Mon, 19 Oct 2020 09:51:41 +0200 Message-ID: <5453886.vVAbQJRO4u@thomas> In-Reply-To: <857b9ccb-48fe-5653-6396-7ad2ec10d3db@partner.samsung.com> References: <20201017115010.17477-1-akhil.goyal@nxp.com> <20201018094041.3848-1-akhil.goyal@nxp.com> <857b9ccb-48fe-5653-6396-7ad2ec10d3db@partner.samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5] security: update session create API 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" 18/10/2020 13:03, Lukasz Wojciechowski: > W dniu 18.10.2020 o 11:40, Akhil Goyal pisze: > > The API ``rte_security_session_create`` takes only single > > mempool for session and session private data. So the > > application need to create mempool for twice the number of > > sessions needed and will also lead to wastage of memory as > > session private data need more memory compared to session. > > Hence the API is modified to take two mempool pointers > > - one for session and one for private data. > > This is very similar to crypto based session create APIs. > > > > Signed-off-by: Akhil Goyal > Reviewed-by: Lukasz Wojciechowski > Tested-by: Lukasz Wojciechowski Applied, thanks