DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: announce API changes for device objects
@ 2016-04-07 15:33 David Marchand
  2016-04-07 15:46 ` Jan Viktorin
  2016-04-07 17:27 ` Jan Viktorin
  0 siblings, 2 replies; 9+ messages in thread
From: David Marchand @ 2016-04-07 15:33 UTC (permalink / raw)
  To: dev; +Cc: viktorin, olivier.matz, thomas.monjalon

Following discussions with Jan, here is a deprecation notice to prepare for
hotplug and rte_device changes to come in 16.07.

Signed-off-by: David Marchand <david.marchand@6wind.com>
---
 doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 98d5529..d749e5d 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -8,6 +8,18 @@ API and ABI deprecation notices are to be posted here.
 Deprecation Notices
 -------------------
 
+* The ethdev hotplug API is going to be moved to EAL with a notification
+  mechanism added to crypto and ethdev libraries so that hotplug is now
+  available to both of them. This API will be stripped of the device arguments
+  so that it only cares about hotplugging.
+
+* Structures embodying pci and vdev devices are going to be reworked to
+  integrate new common rte_device / rte_driver objects (see
+  http://dpdk.org/ml/archives/dev/2016-January/031390.html).
+  ethdev and crypto libraries will then only handle those objects so that they
+  do not need to care about the kind of devices that are being used, making it
+  easier to add new buses later.
+
 * The EAL function pci_config_space_set is deprecated in release 16.04
   and will be removed from 16.07.
   Macros CONFIG_RTE_PCI_CONFIG, CONFIG_RTE_PCI_EXTENDED_TAG and
-- 
1.9.1

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 15:33 [dpdk-dev] [PATCH] doc: announce API changes for device objects David Marchand
@ 2016-04-07 15:46 ` Jan Viktorin
  2016-04-07 17:00   ` David Marchand
  2016-04-07 17:27 ` Jan Viktorin
  1 sibling, 1 reply; 9+ messages in thread
From: Jan Viktorin @ 2016-04-07 15:46 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, olivier.matz, thomas.monjalon

On Thu,  7 Apr 2016 17:33:17 +0200
David Marchand <david.marchand@6wind.com> wrote:

> Following discussions with Jan, here is a deprecation notice to prepare for
> hotplug and rte_device changes to come in 16.07.
> 
> Signed-off-by: David Marchand <david.marchand@6wind.com>
> ---
>  doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index 98d5529..d749e5d 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -8,6 +8,18 @@ API and ABI deprecation notices are to be posted here.
>  Deprecation Notices
>  -------------------
>  
> +* The ethdev hotplug API is going to be moved to EAL with a notification
> +  mechanism added to crypto and ethdev libraries so that hotplug is now
> +  available to both of them. This API will be stripped of the device arguments
> +  so that it only cares about hotplugging.
> +
> +* Structures embodying pci and vdev devices are going to be reworked to
> +  integrate new common rte_device / rte_driver objects (see
> +  http://dpdk.org/ml/archives/dev/2016-January/031390.html).
> +  ethdev and crypto libraries will then only handle those objects so that they
> +  do not need to care about the kind of devices that are being used, making it
> +  easier to add new buses later.

As a result, the current rte_driver structure will be renamed to
rte_module and probably reworked in some way due to its semantics and
potential name clash with the new rte_driver struct.

Regards
Jan

> +
>  * The EAL function pci_config_space_set is deprecated in release 16.04
>    and will be removed from 16.07.
>    Macros CONFIG_RTE_PCI_CONFIG, CONFIG_RTE_PCI_EXTENDED_TAG and



-- 
   Jan Viktorin                  E-mail: Viktorin@RehiveTech.com
   System Architect              Web:    www.RehiveTech.com
   RehiveTech
   Brno, Czech Republic

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 15:46 ` Jan Viktorin
@ 2016-04-07 17:00   ` David Marchand
  2016-04-07 17:09     ` Jan Viktorin
  0 siblings, 1 reply; 9+ messages in thread
From: David Marchand @ 2016-04-07 17:00 UTC (permalink / raw)
  To: Jan Viktorin; +Cc: dev, Olivier Matz, Thomas Monjalon

On Thu, Apr 7, 2016 at 5:46 PM, Jan Viktorin <viktorin@rehivetech.com> wrote:
> On Thu,  7 Apr 2016 17:33:17 +0200
> David Marchand <david.marchand@6wind.com> wrote:
>
>> Following discussions with Jan, here is a deprecation notice to prepare for
>> hotplug and rte_device changes to come in 16.07.
>>
>> Signed-off-by: David Marchand <david.marchand@6wind.com>
>> ---
>>  doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++
>>  1 file changed, 12 insertions(+)
>>
>> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
>> index 98d5529..d749e5d 100644
>> --- a/doc/guides/rel_notes/deprecation.rst
>> +++ b/doc/guides/rel_notes/deprecation.rst
>> @@ -8,6 +8,18 @@ API and ABI deprecation notices are to be posted here.
>>  Deprecation Notices
>>  -------------------
>>
>> +* The ethdev hotplug API is going to be moved to EAL with a notification
>> +  mechanism added to crypto and ethdev libraries so that hotplug is now
>> +  available to both of them. This API will be stripped of the device arguments
>> +  so that it only cares about hotplugging.
>> +
>> +* Structures embodying pci and vdev devices are going to be reworked to
>> +  integrate new common rte_device / rte_driver objects (see
>> +  http://dpdk.org/ml/archives/dev/2016-January/031390.html).
>> +  ethdev and crypto libraries will then only handle those objects so that they
>> +  do not need to care about the kind of devices that are being used, making it
>> +  easier to add new buses later.
>
> As a result, the current rte_driver structure will be renamed to
> rte_module and probably reworked in some way due to its semantics and
> potential name clash with the new rte_driver struct.

If we just introduce some macros like RTE_MODULE_INIT() /
RTE_MODULE_EXIT(), we don't need a rte_module object at the moment ?

-- 
David Marchand

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 17:00   ` David Marchand
@ 2016-04-07 17:09     ` Jan Viktorin
  2016-04-07 17:24       ` David Marchand
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Viktorin @ 2016-04-07 17:09 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, Olivier Matz, Thomas Monjalon

On Thu, 7 Apr 2016 19:00:43 +0200
David Marchand <david.marchand@6wind.com> wrote:

> On Thu, Apr 7, 2016 at 5:46 PM, Jan Viktorin <viktorin@rehivetech.com> wrote:
> > On Thu,  7 Apr 2016 17:33:17 +0200
> > David Marchand <david.marchand@6wind.com> wrote:
> >  
> >> Following discussions with Jan, here is a deprecation notice to prepare for
> >> hotplug and rte_device changes to come in 16.07.
> >>
> >> Signed-off-by: David Marchand <david.marchand@6wind.com>
> >> ---
> >>  doc/guides/rel_notes/deprecation.rst | 12 ++++++++++++
> >>  1 file changed, 12 insertions(+)
> >>
> >> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> >> index 98d5529..d749e5d 100644
> >> --- a/doc/guides/rel_notes/deprecation.rst
> >> +++ b/doc/guides/rel_notes/deprecation.rst
> >> @@ -8,6 +8,18 @@ API and ABI deprecation notices are to be posted here.
> >>  Deprecation Notices
> >>  -------------------
> >>
> >> +* The ethdev hotplug API is going to be moved to EAL with a notification
> >> +  mechanism added to crypto and ethdev libraries so that hotplug is now
> >> +  available to both of them. This API will be stripped of the device arguments
> >> +  so that it only cares about hotplugging.
> >> +
> >> +* Structures embodying pci and vdev devices are going to be reworked to
> >> +  integrate new common rte_device / rte_driver objects (see
> >> +  http://dpdk.org/ml/archives/dev/2016-January/031390.html).
> >> +  ethdev and crypto libraries will then only handle those objects so that they
> >> +  do not need to care about the kind of devices that are being used, making it
> >> +  easier to add new buses later.  
> >
> > As a result, the current rte_driver structure will be renamed to
> > rte_module and probably reworked in some way due to its semantics and
> > potential name clash with the new rte_driver struct.  
> 
> If we just introduce some macros like RTE_MODULE_INIT() /
> RTE_MODULE_EXIT(), we don't need a rte_module object at the moment ?
> 

Well, possibly, we don't need it. At least, it might be hidden and not
being a part of the API/ABI. Do you need an ack for this?

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 17:09     ` Jan Viktorin
@ 2016-04-07 17:24       ` David Marchand
  0 siblings, 0 replies; 9+ messages in thread
From: David Marchand @ 2016-04-07 17:24 UTC (permalink / raw)
  To: Jan Viktorin; +Cc: dev, Olivier Matz, Thomas Monjalon

On Thu, Apr 7, 2016 at 7:09 PM, Jan Viktorin <viktorin@rehivetech.com> wrote:
> On Thu, 7 Apr 2016 19:00:43 +0200
> David Marchand <david.marchand@6wind.com> wrote:
>> >> Following discussions with Jan, here is a deprecation notice to prepare for
>> >> hotplug and rte_device changes to come in 16.07.
>> > As a result, the current rte_driver structure will be renamed to
>> > rte_module and probably reworked in some way due to its semantics and
>> > potential name clash with the new rte_driver struct.
>>
>> If we just introduce some macros like RTE_MODULE_INIT() /
>> RTE_MODULE_EXIT(), we don't need a rte_module object at the moment ?
>>
>
> Well, possibly, we don't need it. At least, it might be hidden and not
> being a part of the API/ABI. Do you need an ack for this?

Yes, please, the process requires 3 acks for this kind of changes.

-- 
David Marchand

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 15:33 [dpdk-dev] [PATCH] doc: announce API changes for device objects David Marchand
  2016-04-07 15:46 ` Jan Viktorin
@ 2016-04-07 17:27 ` Jan Viktorin
  2016-04-08  9:35   ` Olivier Matz
  1 sibling, 1 reply; 9+ messages in thread
From: Jan Viktorin @ 2016-04-07 17:27 UTC (permalink / raw)
  To: David Marchand; +Cc: dev, olivier.matz, thomas.monjalon

On Thu,  7 Apr 2016 17:33:17 +0200
David Marchand <david.marchand@6wind.com> wrote:

> Following discussions with Jan, here is a deprecation notice to prepare for
> hotplug and rte_device changes to come in 16.07.
> 
> Signed-off-by: David Marchand <david.marchand@6wind.com>
> ---
Acked-by: Jan Viktorin <viktorin@rehivetech.com>

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-07 17:27 ` Jan Viktorin
@ 2016-04-08  9:35   ` Olivier Matz
  2016-04-08 15:50     ` Thomas Monjalon
  0 siblings, 1 reply; 9+ messages in thread
From: Olivier Matz @ 2016-04-08  9:35 UTC (permalink / raw)
  To: Jan Viktorin, David Marchand; +Cc: dev, thomas.monjalon



On 04/07/2016 07:27 PM, Jan Viktorin wrote:
> On Thu,  7 Apr 2016 17:33:17 +0200
> David Marchand <david.marchand@6wind.com> wrote:
> 
>> Following discussions with Jan, here is a deprecation notice to prepare for
>> hotplug and rte_device changes to come in 16.07.
>>
>> Signed-off-by: David Marchand <david.marchand@6wind.com>
>> ---
> Acked-by: Jan Viktorin <viktorin@rehivetech.com>
> 

Acked-by: Olivier Matz <olivier.matz@6wind.com>

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-08  9:35   ` Olivier Matz
@ 2016-04-08 15:50     ` Thomas Monjalon
  2016-04-10 10:05       ` Thomas Monjalon
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Monjalon @ 2016-04-08 15:50 UTC (permalink / raw)
  To: Olivier Matz; +Cc: Jan Viktorin, David Marchand, dev

2016-04-08 11:35, Olivier Matz:
> On 04/07/2016 07:27 PM, Jan Viktorin wrote:
> > On Thu,  7 Apr 2016 17:33:17 +0200
> > David Marchand <david.marchand@6wind.com> wrote:
> > 
> >> Following discussions with Jan, here is a deprecation notice to prepare for
> >> hotplug and rte_device changes to come in 16.07.
> >>
> >> Signed-off-by: David Marchand <david.marchand@6wind.com>
> >> ---
> > Acked-by: Jan Viktorin <viktorin@rehivetech.com>
> 
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

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

* Re: [dpdk-dev] [PATCH] doc: announce API changes for device objects
  2016-04-08 15:50     ` Thomas Monjalon
@ 2016-04-10 10:05       ` Thomas Monjalon
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Monjalon @ 2016-04-10 10:05 UTC (permalink / raw)
  To: David Marchand; +Cc: Olivier Matz, Jan Viktorin, dev

> > >> Following discussions with Jan, here is a deprecation notice to prepare for
> > >> hotplug and rte_device changes to come in 16.07.
> > >>
> > >> Signed-off-by: David Marchand <david.marchand@6wind.com>
> > >> ---
> > > Acked-by: Jan Viktorin <viktorin@rehivetech.com>
> > 
> > Acked-by: Olivier Matz <olivier.matz@6wind.com>
> 
> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied, thanks

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

end of thread, other threads:[~2016-04-10 10:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 15:33 [dpdk-dev] [PATCH] doc: announce API changes for device objects David Marchand
2016-04-07 15:46 ` Jan Viktorin
2016-04-07 17:00   ` David Marchand
2016-04-07 17:09     ` Jan Viktorin
2016-04-07 17:24       ` David Marchand
2016-04-07 17:27 ` Jan Viktorin
2016-04-08  9:35   ` Olivier Matz
2016-04-08 15:50     ` Thomas Monjalon
2016-04-10 10:05       ` Thomas Monjalon

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).