From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2017 08:32:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,293,1491289200"; d="scan'208";a="964871649" Received: from dwdohert-mobl1.ger.corp.intel.com (HELO [163.33.228.86]) ([163.33.228.86]) by orsmga003.jf.intel.com with ESMTP; 05 May 2017 08:32:55 -0700 To: Tomasz Kulasek , dev@dpdk.org References: <1493912243-7584-1-git-send-email-tomaszx.kulasek@intel.com> From: Declan Doherty Message-ID: Date: Fri, 5 May 2017 16:32:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1493912243-7584-1-git-send-email-tomaszx.kulasek@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] doc: announce API changes in crypto library 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, 05 May 2017 15:32:57 -0000 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