From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: [PATCH] doc: announce API changes in crypto library Date: Fri, 5 May 2017 16:32:54 +0100 Message-ID: References: <1493912243-7584-1-git-send-email-tomaszx.kulasek@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Tomasz Kulasek , dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E3C4137B0 for ; Fri, 5 May 2017 17:32:56 +0200 (CEST) In-Reply-To: <1493912243-7584-1-git-send-email-tomaszx.kulasek@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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