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 75866A0353; Thu, 6 Aug 2020 18:19:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D01AA2BF2; Thu, 6 Aug 2020 18:19:22 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3CF022BF1 for ; Thu, 6 Aug 2020 18:19:21 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7E3455C01AA; Thu, 6 Aug 2020 12:19:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 06 Aug 2020 12:19:20 -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=fm1; bh= xoA0Y4rLqW8M+MHNiNyryg+ThJ2RSZz3PM+SpwPTXKQ=; b=WzytjIuWL2Xfk/Sm nh7ZCXv4/SlsQHikDkv/gkfV9ZAK8fty7K1wvevx0XAXfFBiocEU0uF6xVszRlWV uPXLxicN80AHM8pHjsevsXDOAx1l6YUxauzDEFFU6xanDQtV/CieOe1HmpGyMltP s5yaVNFkNzQ8KMvifVIvbWKXtG7kLEWfynsM0tjff2/wy80h1KM2TrlCm0zCdJ7X hZD/3Qt8plXdvX5sMn9Gw/h4OdLUdaa95z0iKikT0/UtbaTwY+zcs5n0G3MHi41G vaF3tSyTwxxGGC2zQfW7hMtsxRh8aOpJfnxoJTs7Q7F6jUc42NOceAfGDdWLCTW7 /2Fg+w== 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=fm3; bh=xoA0Y4rLqW8M+MHNiNyryg+ThJ2RSZz3PM+SpwPTX KQ=; b=mVIh0UACbaXcdELXhWE0qUsvtroO2MIVLu8ZZVcoLyn4nc1CzH+KkerHN tC2wlrktqqQoz1y4aGr+CFqYUeXbuTQrAuLzGJ7uKTKLqPuCttbRbRAVTeM/11OP ooFuuHEDkNWw5oRnVhQtlvRnC+SNwSk4oIx2KU9BgO9s7gLx2eEunHhnpq8HePgh tF1FoL5ZlQz91xHa2dw3L0Ba884ecjDDvr9YdtZLvOohMLbZ+JtdWwMP6KoT89V8 jEyFVsz4AazivReaSDd1Y6vQENkmKPSpKMOYEz/7Fqyg7soFQXToTub3OLKKOTnW reUNxLf80mNOQEkZZZ8sROWdTxd3w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrkedtgddutdduucetufdoteggodetrfdotf 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 E0FDE30600A3; Thu, 6 Aug 2020 12:19:18 -0400 (EDT) From: Thomas Monjalon To: Akhil Goyal Cc: "dev@dpdk.org" , "anoobj@marvell.com" , "Nicolau, Radu" , "Doherty, Declan" , "Zhang, Roy Fan" , "Trahe, Fiona" , "adwivedi@marvell.com" , "hemant.agrawal@nxp.com" , "Ananyev, Konstantin" Date: Thu, 06 Aug 2020 18:19:17 +0200 Message-ID: <6216584.A8hVyRZat7@thomas> In-Reply-To: References: <20200730171330.16144-1-akhil.goyal@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] doc: add deprecation notice for security 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" > > 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 will be 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 > > --- > > +* security: 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 will be modified to take two mempool pointers - one for session > > + and one for private data. > > + > Acked-by: Hemant Agrawal > Acked-by: Anoob Joseph > Acked-by: Konstantin Ananyev Applied