From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 01/10] cryptodev: add opaque userdata pointer into crypto sym session Date: Thu, 10 Jan 2019 00:41:02 +0100 Message-ID: <1590938.LK3aT5LD3e@xps> References: <1546010263-16257-2-git-send-email-konstantin.ananyev@intel.com> <20190103162537.54bd1647@hermes> <2601191342CEEE43887BDE71AB977258010D8FBDA7@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Stephen Hemminger , "akhil.goyal@nxp.com" To: "Ananyev, Konstantin" Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 9A6721B5B3 for ; Thu, 10 Jan 2019 00:41:05 +0100 (CET) In-Reply-To: <2601191342CEEE43887BDE71AB977258010D8FBDA7@irsmsx105.ger.corp.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" 04/01/2019 10:29, Ananyev, Konstantin: > > > -----Original Message----- > > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > > Sent: Friday, January 4, 2019 12:26 AM > > To: Ananyev, Konstantin > > Cc: dev@dpdk.org; akhil.goyal@nxp.com > > Subject: Re: [dpdk-dev] [PATCH v6 01/10] cryptodev: add opaque userdata pointer into crypto sym session > > > > On Thu, 3 Jan 2019 20:16:17 +0000 > > Konstantin Ananyev wrote: > > > > > Add 'uint64_t opaque_data' inside struct rte_cryptodev_sym_session. > > > That allows upper layer to easily associate some user defined > > > data with the session. > > > > > > Signed-off-by: Konstantin Ananyev > > > Acked-by: Fiona Trahe > > > Acked-by: Mohammad Abdul Awal > > > Acked-by: Declan Doherty > > > Acked-by: Akhil Goyal > > > --- > > > lib/librte_cryptodev/rte_cryptodev.h | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h > > > index 4099823f1..009860e7b 100644 > > > --- a/lib/librte_cryptodev/rte_cryptodev.h > > > +++ b/lib/librte_cryptodev/rte_cryptodev.h > > > @@ -954,6 +954,8 @@ rte_cryptodev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, > > > * has a fixed algo, key, op-type, digest_len etc. > > > */ > > > struct rte_cryptodev_sym_session { > > > + uint64_t opaque_data; > > > + /**< Opaque user defined data */ > > > __extension__ void *sess_private_data[0]; > > > /**< Private symmetric session material */ > > > }; > > > > This will cause ABI breakage. > > Yes, it surely would. > That's why we submitted deprecation notice in 18.11 and got 3 acks for it. So you should remove the deprecation notice in this patch, and bump the ABI version, and update the release notes for ABI + version changes.