DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH] doc: announce removal of old port count function
@ 2019-06-03 21:47 Thomas Monjalon
  2019-06-04  7:12 ` David Marchand
  2019-08-06 13:31 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas Monjalon @ 2019-06-03 21:47 UTC (permalink / raw)
  To: david.marchand; +Cc: dev

The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
in commit d9a42a69febf ("ethdev: deprecate port count function").
It is planned to be removed after the next LTS release.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index e2721fad6..8d4d89a85 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -37,6 +37,11 @@ Deprecation Notices
 
     + ``rte_eal_devargs_type_count``
 
+* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK 20.02.
+  It is replaced by the function ``rte_eth_dev_count_avail``.
+  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
+  are better port iterators.
+
 * vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs which
   have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap``
   functions.  The due date for the removal targets DPDK 20.02.
-- 
2.21.0


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

* Re: [dpdk-dev] [PATCH] doc: announce removal of old port count function
  2019-06-03 21:47 [dpdk-dev] [PATCH] doc: announce removal of old port count function Thomas Monjalon
@ 2019-06-04  7:12 ` David Marchand
  2019-06-04  7:17   ` Thomas Monjalon
  2019-08-06 13:31 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
  1 sibling, 1 reply; 8+ messages in thread
From: David Marchand @ 2019-06-04  7:12 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

On Mon, Jun 3, 2019 at 11:48 PM Thomas Monjalon <thomas@monjalon.net> wrote:

> The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
> in commit d9a42a69febf ("ethdev: deprecate port count function").
> It is planned to be removed after the next LTS release.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
>  doc/guides/rel_notes/deprecation.rst | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/doc/guides/rel_notes/deprecation.rst
> b/doc/guides/rel_notes/deprecation.rst
> index e2721fad6..8d4d89a85 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -37,6 +37,11 @@ Deprecation Notices
>
>      + ``rte_eal_devargs_type_count``
>
> +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK
> 20.02.
> +  It is replaced by the function ``rte_eth_dev_count_avail``.
> +  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
> +  are better port iterators.
> +
>  * vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs
> which
>    have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap``
>    functions.  The due date for the removal targets DPDK 20.02.
> --
> 2.21.0
>

Out of curiosity (ok, not entirely, since I need to write some notices).
Is there a rule for the order in which those entries are written?
I can see a notice about ethdev later in the file.

Acked-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand

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

* Re: [dpdk-dev] [PATCH] doc: announce removal of old port count function
  2019-06-04  7:12 ` David Marchand
@ 2019-06-04  7:17   ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2019-06-04  7:17 UTC (permalink / raw)
  To: David Marchand; +Cc: dev

04/06/2019 09:12, David Marchand:
> On Mon, Jun 3, 2019 at 11:48 PM Thomas Monjalon <thomas@monjalon.net> wrote:
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > @@ -37,6 +37,11 @@ Deprecation Notices
> >
> >      + ``rte_eal_devargs_type_count``
> >
> > +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK
> > 20.02.
> > +  It is replaced by the function ``rte_eth_dev_count_avail``.
> > +  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
> > +  are better port iterators.
> > +
> >  * vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs
> > which
> >    have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap``
> >    functions.  The due date for the removal targets DPDK 20.02.
> 
> Out of curiosity (ok, not entirely, since I need to write some notices).
> Is there a rule for the order in which those entries are written?

Yes the order should be the same as for the features in the release notes.

> I can see a notice about ethdev later in the file.

Indeed, ethdev is supposed to be after EAL,
it is my mistake.

> Acked-by: David Marchand <david.marchand@redhat.com>




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

* [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
  2019-06-03 21:47 [dpdk-dev] [PATCH] doc: announce removal of old port count function Thomas Monjalon
  2019-06-04  7:12 ` David Marchand
@ 2019-08-06 13:31 ` " Thomas Monjalon
  2019-08-06 13:39   ` Ananyev, Konstantin
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Monjalon @ 2019-08-06 13:31 UTC (permalink / raw)
  To: dev; +Cc: David Marchand

The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
in commit d9a42a69febf ("ethdev: deprecate port count function").
It is planned to be removed after the next LTS release.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: David Marchand <david.marchand@redhat.com>
---
v2: move notice near other ethdev one
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 37b8592b6..3f0fb3ab6 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -51,6 +51,11 @@ Deprecation Notices
   structure would be made internal (or removed if all dependencies are cleared)
   in future releases.
 
+* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK 20.02.
+  It is replaced by the function ``rte_eth_dev_count_avail``.
+  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
+  are better port iterators.
+
 * ethdev: the legacy filter API, including
   ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
   as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
-- 
2.21.0


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

* Re: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
  2019-08-06 13:31 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
@ 2019-08-06 13:39   ` Ananyev, Konstantin
  2019-08-06 13:45     ` Andrew Rybchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Ananyev, Konstantin @ 2019-08-06 13:39 UTC (permalink / raw)
  To: Thomas Monjalon, dev; +Cc: David Marchand



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Tuesday, August 6, 2019 2:32 PM
> To: dev@dpdk.org
> Cc: David Marchand <david.marchand@redhat.com>
> Subject: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
> 
> The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
> in commit d9a42a69febf ("ethdev: deprecate port count function").
> It is planned to be removed after the next LTS release.
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> Acked-by: David Marchand <david.marchand@redhat.com>
> ---
> v2: move notice near other ethdev one
> ---
>  doc/guides/rel_notes/deprecation.rst | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index 37b8592b6..3f0fb3ab6 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -51,6 +51,11 @@ Deprecation Notices
>    structure would be made internal (or removed if all dependencies are cleared)
>    in future releases.
> 
> +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK 20.02.
> +  It is replaced by the function ``rte_eth_dev_count_avail``.
> +  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
> +  are better port iterators.
> +
>  * ethdev: the legacy filter API, including
>    ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
>    as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.21.0


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

* Re: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
  2019-08-06 13:39   ` Ananyev, Konstantin
@ 2019-08-06 13:45     ` Andrew Rybchenko
  2019-08-10 20:35       ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Rybchenko @ 2019-08-06 13:45 UTC (permalink / raw)
  To: Ananyev, Konstantin, Thomas Monjalon, dev; +Cc: David Marchand

On 8/6/19 4:39 PM, Ananyev, Konstantin wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
>> Sent: Tuesday, August 6, 2019 2:32 PM
>> To: dev@dpdk.org
>> Cc: David Marchand <david.marchand@redhat.com>
>> Subject: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
>>
>> The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
>> in commit d9a42a69febf ("ethdev: deprecate port count function").
>> It is planned to be removed after the next LTS release.
>>
>> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
>> Acked-by: David Marchand <david.marchand@redhat.com>
>> ---
>> v2: move notice near other ethdev one
>> ---
>>   doc/guides/rel_notes/deprecation.rst | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
>> index 37b8592b6..3f0fb3ab6 100644
>> --- a/doc/guides/rel_notes/deprecation.rst
>> +++ b/doc/guides/rel_notes/deprecation.rst
>> @@ -51,6 +51,11 @@ Deprecation Notices
>>     structure would be made internal (or removed if all dependencies are cleared)
>>     in future releases.
>>
>> +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK 20.02.
>> +  It is replaced by the function ``rte_eth_dev_count_avail``.
>> +  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
>> +  are better port iterators.
>> +
>>   * ethdev: the legacy filter API, including
>>     ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
>>     as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,
>> --
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
>

Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>


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

* Re: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
  2019-08-06 13:45     ` Andrew Rybchenko
@ 2019-08-10 20:35       ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2019-08-10 20:35 UTC (permalink / raw)
  To: dev; +Cc: Andrew Rybchenko, Ananyev, Konstantin, David Marchand

> >> The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
> >> in commit d9a42a69febf ("ethdev: deprecate port count function").
> >> It is planned to be removed after the next LTS release.
> >>
> >> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> >> Acked-by: David Marchand <david.marchand@redhat.com>
> > Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
> Acked-by: Jerin Jacob <jerinj@marvell.com>

Applied






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

* Re: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function
@ 2019-08-06 13:56 Jerin Jacob Kollanukkaran
  0 siblings, 0 replies; 8+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-08-06 13:56 UTC (permalink / raw)
  To: Thomas Monjalon, dev; +Cc: David Marchand

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Thomas Monjalon
> Sent: Tuesday, August 6, 2019 7:02 PM
> To: dev@dpdk.org
> Cc: David Marchand <david.marchand@redhat.com>
> Subject: [dpdk-dev] [PATCH v2] doc: announce removal of old port count
> function
> 
> The function rte_eth_dev_count() was marked as deprecated in DPDK 18.05
> in commit d9a42a69febf ("ethdev: deprecate port count function").
> It is planned to be removed after the next LTS release.
> 
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> Acked-by: David Marchand <david.marchand@redhat.com>

Acked-by: Jerin Jacob <jerinj@marvell.com>


> ---
> v2: move notice near other ethdev one
> ---
>  doc/guides/rel_notes/deprecation.rst | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst
> b/doc/guides/rel_notes/deprecation.rst
> index 37b8592b6..3f0fb3ab6 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -51,6 +51,11 @@ Deprecation Notices
>    structure would be made internal (or removed if all dependencies are
> cleared)
>    in future releases.
> 
> +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK
> 20.02.
> +  It is replaced by the function ``rte_eth_dev_count_avail``.
> +  If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
> +  are better port iterators.
> +
>  * ethdev: the legacy filter API, including
>    ``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
>    as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL,
> FDIR,
> --
> 2.21.0


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

end of thread, back to index

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 21:47 [dpdk-dev] [PATCH] doc: announce removal of old port count function Thomas Monjalon
2019-06-04  7:12 ` David Marchand
2019-06-04  7:17   ` Thomas Monjalon
2019-08-06 13:31 ` [dpdk-dev] [PATCH v2] " Thomas Monjalon
2019-08-06 13:39   ` Ananyev, Konstantin
2019-08-06 13:45     ` Andrew Rybchenko
2019-08-10 20:35       ` Thomas Monjalon
2019-08-06 13:56 Jerin Jacob Kollanukkaran

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox