[dpdk-dev] doc: add deprecation note to add parameter in rte_cryptodev_info.sym

Message ID 20170214121114.10590-1-akhil.goyal@nxp.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Akhil Goyal Feb. 14, 2017, 12:11 p.m. UTC
  From: Akhil Goyal <akhil.goyal@nxp.com>

A new parameter is planned to be added in 17.05 release in
rte_cryptodev_info.sym - max_nb_sessions_per_qp.

This will allow applications to know the maximum number of session
which can be attached to queue_pairs of device.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)
  

Comments

Doherty, Declan Feb. 14, 2017, 10:34 a.m. UTC | #1
On 14/02/2017 12:11 PM, akhil.goyal@nxp.com wrote:
> From: Akhil Goyal <akhil.goyal@nxp.com>
>
> A new parameter is planned to be added in 17.05 release in
> rte_cryptodev_info.sym - max_nb_sessions_per_qp.
>
> This will allow applications to know the maximum number of session
> which can be attached to queue_pairs of device.
>
> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
> ---
...
>

Acked-by: Declan Doherty <declan.doherty@intel.com>
  
Fiona Trahe Feb. 14, 2017, 10:49 a.m. UTC | #2
> -----Original Message-----
> From: akhil.goyal@nxp.com [mailto:akhil.goyal@nxp.com]
> Sent: Tuesday, February 14, 2017 12:11 PM
> To: Doherty, Declan <declan.doherty@intel.com>; Trahe, Fiona
> <fiona.trahe@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch@intel.com>
> Cc: thomas.monjalon@6wind.com; dev@dpdk.org;
> hemant.agrawal@nxp.com; Jain, Deepak K <deepak.k.jain@intel.com>; Akhil
> Goyal <akhil.goyal@nxp.com>
> Subject: [PATCH] doc: add deprecation note to add parameter in
> rte_cryptodev_info.sym
> 
> From: Akhil Goyal <akhil.goyal@nxp.com>
> 
> A new parameter is planned to be added in 17.05 release in
> rte_cryptodev_info.sym - max_nb_sessions_per_qp.
> 
> This will allow applications to know the maximum number of session
> which can be attached to queue_pairs of device.
> 
> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>

Acked-by: Fiona Trahe <fiona.trahe@intel.com>
  
De Lara Guarch, Pablo Feb. 14, 2017, 11:19 a.m. UTC | #3
> -----Original Message-----
> From: Trahe, Fiona
> Sent: Tuesday, February 14, 2017 10:49 AM
> To: akhil.goyal@nxp.com; Doherty, Declan; De Lara Guarch, Pablo
> Cc: thomas.monjalon@6wind.com; dev@dpdk.org;
> hemant.agrawal@nxp.com; Jain, Deepak K; Trahe, Fiona
> Subject: RE: [PATCH] doc: add deprecation note to add parameter in
> rte_cryptodev_info.sym
> 
> 
> 
> > -----Original Message-----
> > From: akhil.goyal@nxp.com [mailto:akhil.goyal@nxp.com]
> > Sent: Tuesday, February 14, 2017 12:11 PM
> > To: Doherty, Declan <declan.doherty@intel.com>; Trahe, Fiona
> > <fiona.trahe@intel.com>; De Lara Guarch, Pablo
> > <pablo.de.lara.guarch@intel.com>
> > Cc: thomas.monjalon@6wind.com; dev@dpdk.org;
> > hemant.agrawal@nxp.com; Jain, Deepak K <deepak.k.jain@intel.com>;
> Akhil
> > Goyal <akhil.goyal@nxp.com>
> > Subject: [PATCH] doc: add deprecation note to add parameter in
> > rte_cryptodev_info.sym
> >
> > From: Akhil Goyal <akhil.goyal@nxp.com>
> >
> > A new parameter is planned to be added in 17.05 release in
> > rte_cryptodev_info.sym - max_nb_sessions_per_qp.
> >
> > This will allow applications to know the maximum number of session
> > which can be attached to queue_pairs of device.
> >
> > Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
> 
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
  
Thomas Monjalon Feb. 14, 2017, 8:43 p.m. UTC | #4
Applied
  

Patch

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 97d87fd..487f798 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -56,3 +56,8 @@  Deprecation Notices
   to specify which type of instance to create (single or burst), and
   additional calls for ``rte_distributor_poll_pkt_burst`` and
   ``rte_distributor_return_pkt_burst``, among others.
+
+* cryptodev: A new parameter ``max_nb_sessions_per_qp`` will be added to
+  ``rte_cryptodev_info.sym``. Some drivers may support limited number of
+  sessions per queue_pair. With this new parameter application will know
+  how many sessions can be mapped to each queue_pair of a device.