doc: announce removal of old port count function
PATCH 1/1 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.
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -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.
Signature · 1 line
2.21.0
Quoted 25 lines · Thomas Monjalon
The function
rte_eth_dev_count()was marked as deprecated in DPDK 18.05 in commitd9a42a69febf("ethdev: deprecate port count function"). It is planned to be removed after the next LTS release.Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +1
-0@@ -37,6 +37,11 @@ Deprecation Notices + ``rte_eal_devargs_type_count`` +* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK20.02.
doc/guides/rel_notes/deprecation.rst +4
-0+ 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
Quoted 6 lines
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.
Signature · 1 line
David Marchand
04/06/2019 09:12, David Marchand:
Quoted 7 lines · Thomas Monjalon
Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +0
-0@@ -37,6 +37,11 @@ Deprecation Notices + ``rte_eal_devargs_type_count``
Quoted 13 lines
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +1
-0+* ethdev: The function ``rte_eth_dev_count`` will be removed in DPDK20.02.
doc/guides/rel_notes/deprecation.rst +4
-0+ 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`` APIswhich
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.
Quoted 1 line
I can see a notice about ethdev later in the file.
Indeed, ethdev is supposed to be after EAL,
it is my mistake.
Quoted 1 line
Acked-by David Marchand <[email protected]>
PATCH v2 1/1 doc: announce removal of old port count function
In reply to Thomas MonjalonThe 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.
---
v2: move notice near other ethdev one
--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)
doc/guides/rel_notes/deprecation.rst +5 -0
@@ -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,
Signature · 1 line
2.21.0
Quoted 28 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas Monjalon
Sent: Tuesday, August 6, 2019 2:32 PM
To: [email protected]
Cc: David Marchand <[email protected]>
Subject: [dpdk-dev] [PATCH v2] doc: announce removal of old port count functionThe function
rte_eth_dev_count()was marked as deprecated in DPDK 18.05 in commitd9a42a69febf("ethdev: deprecate port count function"). It is planned to be removed after the next LTS release.Signed-off-by Thomas Monjalon <[email protected]>Acked-by David Marchand <[email protected]>---
v2: move notice near other ethdev one--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -51,6 +51,11 @@ Deprecation Notices structure would be made internal (or removed if all dependencies are cleared) in future releases.
doc/guides/rel_notes/deprecation.rst Deprecation Notices
Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +5
-1+* 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, --
Quoted 1 line
2.21.0
Andrew Rybchenko
Acked-byQuoted 27 lines · Konstantin
Quoted 27 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas Monjalon
Sent: Tuesday, August 6, 2019 2:32 PM
To: [email protected]
Cc: David Marchand <[email protected]>
Subject: [dpdk-dev] [PATCH v2] doc: announce removal of old port count functionThe function
rte_eth_dev_count()was marked as deprecated in DPDK 18.05 in commitd9a42a69febf("ethdev: deprecate port count function"). It is planned to be removed after the next LTS release.Signed-off-by Thomas Monjalon <[email protected]>Acked-by David Marchand <[email protected]>---
v2: move notice near other ethdev one--- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+)doc/guides/rel_notes/deprecation.rst +0
-0@@ -51,6 +51,11 @@ Deprecation Notices structure would be made internal (or removed if all dependencies are cleared) in future releases.
Quoted 11 lines
doc/guides/rel_notes/deprecation.rst Deprecation Notices
Quoted 9 lines
doc/guides/rel_notes/deprecation.rst +5
-1+* 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, --
Thomas Monjalon
AppliedQuoted 9 lines
Quoted 7 lines
Quoted 6 lines
The function
rte_eth_dev_count()was marked as deprecated in DPDK 18.05 in commitd9a42a69febf("ethdev: deprecate port count function"). It is planned to be removed after the next LTS release.Signed-off-by Thomas Monjalon <[email protected]>Acked-by David Marchand <[email protected]>Acked-by Andrew Rybchenko <[email protected]>Acked-by Jerin Jacob <[email protected]>
Applied