From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: announce API changes in crypto library Date: Thu, 11 May 2017 02:51:52 +0200 Message-ID: <20205816.vbkhsEPyOI@xps> References: <1493912243-7584-1-git-send-email-tomaszx.kulasek@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Declan Doherty To: Tomasz Kulasek Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 2F48E1C00 for ; Thu, 11 May 2017 02:51:54 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/05/2017 17:32, Declan Doherty: > On 04/05/2017 4:37 PM, Tomasz Kulasek wrote: > > API changes are planned for 17.08 to made sessions agnostic to the > > underlaying devices, removing coupling with crypto PMDs, so a single > > session can be used on multiple devices. > > > > It requires to change "struct rte_cryptodev_sym_session" to store more > > than one private data for devices, as well as remove redundant dev_id > > and dev_type. > > > > Effected public functions: > > > > - rte_cryptodev_sym_session_pool_create > > - rte_cryptodev_sym_session_create > > - rte_cryptodev_sym_session_free > > > > While session will not be directly associated with device, followed API > > will be changed adding uint8_t dev_id to the argument list: > > > > - rte_cryptodev_queue_pair_attach_sym_session > > - rte_cryptodev_queue_pair_detach_sym_session > > > > Signed-off-by: Tomasz Kulasek > > Acked-by: Declan Doherty Applied, thanks