All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: announce crypto device type enumeration removal
@ 2017-05-05 11:24 Slawomir Mrozowicz
  2017-05-08  9:50 ` De Lara Guarch, Pablo
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Slawomir Mrozowicz @ 2017-05-05 11:24 UTC (permalink / raw)
  To: declan.doherty; +Cc: dev, Slawomir Mrozowicz

Refer to RFC patch - cryptodev: remove crypto device type enumeration

It is planned to remove device type enumeration rte_cryptodev_type from
library to remove the coupling between crypto PMD and the librte_cryptodev.

In this case following stuctures will be changed: rte_cryptodev_session,
rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.

It is planned to change the function rte_cryptodev_count_devtype().
The function prototype doesn’t clearly show the operation.
>From next release 17.08 the dev_type will be changed to driver_id.
So the function name will change to rte_cryptodev_device_count_by_driver().

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
---
Refer to RFC patch: http://dpdk.org/dev/patchwork/patch/24119/
---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index a3e7c72..313dcdf 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -81,3 +81,11 @@ Deprecation Notices
 
   - ``rte_crpytodev_scheduler_mode_get``, replaced by ``rte_cryptodev_scheduler_mode_get``
   - ``rte_crpytodev_scheduler_mode_set``, replaced by ``rte_cryptodev_scheduler_mode_set``
+
+* cryptodev: The following changes will be done in in 17.08:
+
+  - the device type enumeration ``rte_cryptodev_type`` will be removed
+  - the following structures will be changed: ``rte_cryptodev_session``,
+    ``rte_cryptodev_sym_session``, ``rte_cryptodev_info``, ``rte_cryptodev``
+  - the function ``rte_cryptodev_count_devtype`` will be replaced by
+    ``rte_cryptodev_device_count_by_driver``
\ No newline at end of file
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-05 11:24 [PATCH] doc: announce crypto device type enumeration removal Slawomir Mrozowicz
@ 2017-05-08  9:50 ` De Lara Guarch, Pablo
  2017-05-11  0:48   ` Thomas Monjalon
  2017-05-08 10:33 ` Declan Doherty
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: De Lara Guarch, Pablo @ 2017-05-08  9:50 UTC (permalink / raw)
  To: Mrozowicz, SlawomirX, Doherty, Declan; +Cc: dev, Mrozowicz, SlawomirX



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Slawomir
> Mrozowicz
> Sent: Friday, May 05, 2017 12:24 PM
> To: Doherty, Declan
> Cc: dev@dpdk.org; Mrozowicz, SlawomirX
> Subject: [dpdk-dev] [PATCH] doc: announce crypto device type enumeration
> removal
> 
> Refer to RFC patch - cryptodev: remove crypto device type enumeration
> 
> It is planned to remove device type enumeration rte_cryptodev_type from
> library to remove the coupling between crypto PMD and the
> librte_cryptodev.
> 
> In this case following stuctures will be changed: rte_cryptodev_session,
> rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
> 
> It is planned to change the function rte_cryptodev_count_devtype().
> The function prototype doesn’t clearly show the operation.
> From next release 17.08 the dev_type will be changed to driver_id.
> So the function name will change to
> rte_cryptodev_device_count_by_driver().
> 
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-05 11:24 [PATCH] doc: announce crypto device type enumeration removal Slawomir Mrozowicz
  2017-05-08  9:50 ` De Lara Guarch, Pablo
@ 2017-05-08 10:33 ` Declan Doherty
  2017-05-08 11:05 ` Jerin Jacob
  2017-05-09  8:55 ` Akhil Goyal
  3 siblings, 0 replies; 7+ messages in thread
From: Declan Doherty @ 2017-05-08 10:33 UTC (permalink / raw)
  To: Slawomir Mrozowicz; +Cc: dev

On 05/05/2017 12:24 PM, Slawomir Mrozowicz wrote:
> Refer to RFC patch - cryptodev: remove crypto device type enumeration
>
> It is planned to remove device type enumeration rte_cryptodev_type from
> library to remove the coupling between crypto PMD and the librte_cryptodev.
>
> In this case following stuctures will be changed: rte_cryptodev_session,
> rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
>
> It is planned to change the function rte_cryptodev_count_devtype().
> The function prototype doesn’t clearly show the operation.
> From next release 17.08 the dev_type will be changed to driver_id.
> So the function name will change to rte_cryptodev_device_count_by_driver().
>
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> ---
...
>

Acked-by: Declan Doherty <declan.doherty@intel.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-05 11:24 [PATCH] doc: announce crypto device type enumeration removal Slawomir Mrozowicz
  2017-05-08  9:50 ` De Lara Guarch, Pablo
  2017-05-08 10:33 ` Declan Doherty
@ 2017-05-08 11:05 ` Jerin Jacob
  2017-05-08 13:30   ` Trahe, Fiona
  2017-05-09  8:55 ` Akhil Goyal
  3 siblings, 1 reply; 7+ messages in thread
From: Jerin Jacob @ 2017-05-08 11:05 UTC (permalink / raw)
  To: Slawomir Mrozowicz; +Cc: declan.doherty, dev

-----Original Message-----
> Date: Fri, 5 May 2017 13:24:19 +0200
> From: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> To: declan.doherty@intel.com
> CC: dev@dpdk.org, Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> Subject: [dpdk-dev] [PATCH] doc: announce crypto device type enumeration
>  removal
> X-Mailer: git-send-email 2.9.3
> 
> Refer to RFC patch - cryptodev: remove crypto device type enumeration
> 
> It is planned to remove device type enumeration rte_cryptodev_type from
> library to remove the coupling between crypto PMD and the librte_cryptodev.
> 
> In this case following stuctures will be changed: rte_cryptodev_session,
> rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
> 
> It is planned to change the function rte_cryptodev_count_devtype().
> The function prototype doesn’t clearly show the operation.
> From next release 17.08 the dev_type will be changed to driver_id.
> So the function name will change to rte_cryptodev_device_count_by_driver().
> 
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>

Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-08 11:05 ` Jerin Jacob
@ 2017-05-08 13:30   ` Trahe, Fiona
  0 siblings, 0 replies; 7+ messages in thread
From: Trahe, Fiona @ 2017-05-08 13:30 UTC (permalink / raw)
  To: Jerin Jacob, Mrozowicz, SlawomirX; +Cc: Doherty, Declan, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob
> Sent: Monday, May 8, 2017 12:05 PM
> To: Mrozowicz, SlawomirX <slawomirx.mrozowicz@intel.com>
> Cc: Doherty, Declan <declan.doherty@intel.com>; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] doc: announce crypto device type enumeration
> removal
> 
> -----Original Message-----
> > Date: Fri, 5 May 2017 13:24:19 +0200
> > From: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> > To: declan.doherty@intel.com
> > CC: dev@dpdk.org, Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> > Subject: [dpdk-dev] [PATCH] doc: announce crypto device type enumeration
> >  removal
> > X-Mailer: git-send-email 2.9.3
> >
> > Refer to RFC patch - cryptodev: remove crypto device type enumeration
> >
> > It is planned to remove device type enumeration rte_cryptodev_type from
> > library to remove the coupling between crypto PMD and the librte_cryptodev.
> >
> > In this case following stuctures will be changed: rte_cryptodev_session,
> > rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
> >
> > It is planned to change the function rte_cryptodev_count_devtype().
> > The function prototype doesn’t clearly show the operation.
> > From next release 17.08 the dev_type will be changed to driver_id.
> > So the function name will change to rte_cryptodev_device_count_by_driver().
> >
> > Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> 
> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-05 11:24 [PATCH] doc: announce crypto device type enumeration removal Slawomir Mrozowicz
                   ` (2 preceding siblings ...)
  2017-05-08 11:05 ` Jerin Jacob
@ 2017-05-09  8:55 ` Akhil Goyal
  3 siblings, 0 replies; 7+ messages in thread
From: Akhil Goyal @ 2017-05-09  8:55 UTC (permalink / raw)
  To: Slawomir Mrozowicz, declan.doherty; +Cc: dev

On 5/5/2017 4:54 PM, Slawomir Mrozowicz wrote:
> Refer to RFC patch - cryptodev: remove crypto device type enumeration
>
> It is planned to remove device type enumeration rte_cryptodev_type from
> library to remove the coupling between crypto PMD and the librte_cryptodev.
>
> In this case following stuctures will be changed: rte_cryptodev_session,
> rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
>
> It is planned to change the function rte_cryptodev_count_devtype().
> The function prototype doesn’t clearly show the operation.
> From next release 17.08 the dev_type will be changed to driver_id.
> So the function name will change to rte_cryptodev_device_count_by_driver().
>
> Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> ---
> Refer to RFC patch: http://dpdk.org/dev/patchwork/patch/24119/
> ---
>  doc/guides/rel_notes/deprecation.rst | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index a3e7c72..313dcdf 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -81,3 +81,11 @@ Deprecation Notices
>
>    - ``rte_crpytodev_scheduler_mode_get``, replaced by ``rte_cryptodev_scheduler_mode_get``
>    - ``rte_crpytodev_scheduler_mode_set``, replaced by ``rte_cryptodev_scheduler_mode_set``
> +
> +* cryptodev: The following changes will be done in in 17.08:
> +
> +  - the device type enumeration ``rte_cryptodev_type`` will be removed
> +  - the following structures will be changed: ``rte_cryptodev_session``,
> +    ``rte_cryptodev_sym_session``, ``rte_cryptodev_info``, ``rte_cryptodev``
> +  - the function ``rte_cryptodev_count_devtype`` will be replaced by
> +    ``rte_cryptodev_device_count_by_driver``
> \ No newline at end of file
>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] doc: announce crypto device type enumeration removal
  2017-05-08  9:50 ` De Lara Guarch, Pablo
@ 2017-05-11  0:48   ` Thomas Monjalon
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Monjalon @ 2017-05-11  0:48 UTC (permalink / raw)
  To: Mrozowicz, SlawomirX; +Cc: dev, De Lara Guarch, Pablo, Doherty, Declan

> > Refer to RFC patch - cryptodev: remove crypto device type enumeration
> > 
> > It is planned to remove device type enumeration rte_cryptodev_type from
> > library to remove the coupling between crypto PMD and the
> > librte_cryptodev.
> > 
> > In this case following stuctures will be changed: rte_cryptodev_session,
> > rte_cryptodev_sym_session, rte_cryptodev_info, rte_cryptodev.
> > 
> > It is planned to change the function rte_cryptodev_count_devtype().
> > The function prototype doesn’t clearly show the operation.
> > From next release 17.08 the dev_type will be changed to driver_id.
> > So the function name will change to
> > rte_cryptodev_device_count_by_driver().
> > 
> > Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-11  0:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-05 11:24 [PATCH] doc: announce crypto device type enumeration removal Slawomir Mrozowicz
2017-05-08  9:50 ` De Lara Guarch, Pablo
2017-05-11  0:48   ` Thomas Monjalon
2017-05-08 10:33 ` Declan Doherty
2017-05-08 11:05 ` Jerin Jacob
2017-05-08 13:30   ` Trahe, Fiona
2017-05-09  8:55 ` Akhil Goyal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.