DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: "Verma, Shally" <Shally.Verma@cavium.com>,
	"Doherty, Declan" <declan.doherty@intel.com>,
	"akhil.goyal@nxp.com" <akhil.goyal@nxp.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v4 6/6] cryptodev: rename get session size API
Date: Mon, 21 May 2018 12:14:50 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8976CD0FEBD@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <CY4PR0701MB363437C8A370CFCFE3BA4693F0950@CY4PR0701MB3634.namprd07.prod.outlook.com>



> -----Original Message-----
> From: Verma, Shally [mailto:Shally.Verma@cavium.com]
> Sent: Monday, May 21, 2018 1:05 PM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Doherty, Declan
> <declan.doherty@intel.com>; akhil.goyal@nxp.com
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v4 6/6] cryptodev: rename get session size API
> 
> 
> 
> >-----Original Message-----
> >From: Pablo de Lara [mailto:pablo.de.lara.guarch@intel.com]
> >Sent: 21 May 2018 16:37
> >To: declan.doherty@intel.com; akhil.goyal@nxp.com; Verma, Shally
> ><Shally.Verma@cavium.com>
> >Cc: dev@dpdk.org; Pablo de Lara <pablo.de.lara.guarch@intel.com>
> >Subject: [PATCH v4 6/6] cryptodev: rename get session size API
> >
> >rte_cryptodev_get_header_session_size() and
> >rte_cryptodev_get_private_session_size() functions are targetting
> >symmetric sessions.
> >
> >With the future addition of asymmetric operations, these functions need
> >to be renamed from *_session_* to *_sym_session_* to be symmetric
> >specific.
> >
> >Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> >---
> //snip
> 
> >diff --git a/lib/librte_cryptodev/rte_cryptodev.h
> >b/lib/librte_cryptodev/rte_cryptodev.h
> >index db367a1f8..e02b474d7 100644
> >--- a/lib/librte_cryptodev/rte_cryptodev.h
> >+++ b/lib/librte_cryptodev/rte_cryptodev.h
> >@@ -969,15 +969,18 @@ rte_cryptodev_sym_session_clear(uint8_t dev_id,
> > 			struct rte_cryptodev_sym_session *sess);
> >
> > /**
> >+ * deprecated
> >  * Get the size of the header session, for all registered drivers.
> >  *
> >  * @return
> >  *   Size of the header session.
> >  */
> >+__rte_deprecated
> > unsigned int
> > rte_cryptodev_get_header_session_size(void);
> >
> > /**
> >+ * @deprecated
> >  * Get the size of the private session data for a device.
> >  *
> >  * @param	dev_id		The device identifier.
> >@@ -986,9 +989,33 @@ rte_cryptodev_get_header_session_size(void);
> >  *   - Size of the private data, if successful
> >  *   - 0 if device is invalid or does not have private session
> >  */
> >+__rte_deprecated
> > unsigned int
> > rte_cryptodev_get_private_session_size(uint8_t dev_id);
> >
> >+/**
> >+ * Get the size of the header session, for all registered drivers.
> >+ *
> >+ * @return
> >+ *   Size of the symmetric eader session.
> >+ */
> >+unsigned int
> >+rte_cryptodev_get_header_sym_session_size(void);
> >+
> [Shally] To keep consistency in naming convention, we can rename API to
> rte_cryptodev_sym_get_header_session_size  and
> rte_cryptodev_sym_get_private_session_size

Agree. Will send a v7 with the change.

Thanks!
Pablo

> 
> Thanks
> Shally

  reply	other threads:[~2018-05-21 12:14 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-26  9:03 [dpdk-dev] [PATCH] doc: announce ABI change for crypto info struct Pablo de Lara
2018-01-26 10:44 ` Trahe, Fiona
2018-01-26 11:08   ` De Lara Guarch, Pablo
2018-01-29  9:26     ` Akhil Goyal
2018-01-30  7:55       ` Verma, Shally
2018-01-30 11:21         ` De Lara Guarch, Pablo
2018-01-30 11:53           ` Verma, Shally
2018-02-02  9:07             ` De Lara Guarch, Pablo
2018-02-02 10:52               ` Verma, Shally
2018-01-30 11:37 ` Akhil Goyal
2018-01-30 12:14 ` [dpdk-dev] [PATCH v2 0/3] Cryptodev API/ABI deprecation notices Pablo de Lara
2018-01-30 12:14   ` [dpdk-dev] [PATCH v2 1/3] doc: announce ABI change for crypto info struct Pablo de Lara
2018-01-30 12:14   ` [dpdk-dev] [PATCH v2 2/3] doc: announce deprecation for attach/detach crypto session Pablo de Lara
2018-01-30 12:14   ` [dpdk-dev] [PATCH v2 3/3] doc: announce deprecation in crypto queue pair start/stop Pablo de Lara
2018-02-13 11:45   ` [dpdk-dev] [PATCH v2 0/3] Cryptodev API/ABI deprecation notices De Lara Guarch, Pablo
2018-05-17  9:00 ` [dpdk-dev] [PATCH v3 0/4] " Pablo de Lara
2018-05-17  9:00   ` [dpdk-dev] [PATCH v3 1/4] doc: announce ABI change for crypto sym info struct Pablo de Lara
2018-05-18 11:42     ` Akhil Goyal
2018-05-17  9:00   ` [dpdk-dev] [PATCH v3 2/4] doc: announce ABI change for crypto " Pablo de Lara
2018-05-17 11:18     ` Trahe, Fiona
2018-05-18 11:41     ` Akhil Goyal
2018-05-17  9:00   ` [dpdk-dev] [PATCH v3 3/4] doc: announce deprecation for attach/detach crypto session Pablo de Lara
2018-05-17 11:16     ` Trahe, Fiona
2018-05-18 11:44       ` Akhil Goyal
2018-05-17  9:00   ` [dpdk-dev] [PATCH v3 4/4] doc: announce deprecation in crypto queue pair start/stop Pablo de Lara
2018-05-17 11:32     ` Trahe, Fiona
2018-05-21 11:06 ` [dpdk-dev] [PATCH v4 0/6] Cryptodev API/ABI deprecation notices Pablo de Lara
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 1/6] doc: announce ABI change for crypto sym info struct Pablo de Lara
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 2/6] doc: announce ABI change for crypto " Pablo de Lara
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 3/6] doc: announce deprecation for attach/detach crypto session Pablo de Lara
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 4/6] doc: announce deprecation in crypto queue pair start/stop Pablo de Lara
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 5/6] doc: announce deprecation in crypto feature flags Pablo de Lara
2018-05-21 11:52     ` Akhil Goyal
2018-05-21 11:06   ` [dpdk-dev] [PATCH v4 6/6] cryptodev: rename get session size API Pablo de Lara
2018-05-21 11:41     ` Akhil Goyal
2018-05-21 12:05     ` Verma, Shally
2018-05-21 12:14       ` De Lara Guarch, Pablo [this message]
2018-05-21 13:08 ` [dpdk-dev] [PATCH v5 0/6] Cryptodev API/ABI deprecation notices Pablo de Lara
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 1/6] doc: announce ABI change for crypto sym info struct Pablo de Lara
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 2/6] doc: announce ABI change for crypto " Pablo de Lara
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 3/6] doc: announce deprecation for attach/detach crypto session Pablo de Lara
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 4/6] doc: announce deprecation in crypto queue pair start/stop Pablo de Lara
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 5/6] doc: announce deprecation in crypto feature flags Pablo de Lara
2018-05-21 17:27     ` Trahe, Fiona
2018-05-21 13:08   ` [dpdk-dev] [PATCH v5 6/6] cryptodev: rename get session size API Pablo de Lara
2018-05-22  5:35     ` Verma, Shally
2018-05-22  9:33     ` Trahe, Fiona
2018-05-22 17:34     ` Thomas Monjalon
2018-05-22 14:30   ` [dpdk-dev] [PATCH v5 0/6] Cryptodev API/ABI deprecation notices Jain, Deepak K
2018-05-22 14:35     ` De Lara Guarch, Pablo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E115CCD9D858EF4F90C690B0DCB4D8976CD0FEBD@IRSMSX108.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=Shally.Verma@cavium.com \
    --cc=akhil.goyal@nxp.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).