summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-08-06 15:31:35 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-08-10 22:34:39 +0200
commitd00c149791744a3f2f79210178557bee5e6278b1 (patch)
tree10f6e054e019b71096c49bbbde11b526c4bd69b1
parentfbe7ac9f3a9916ad09d4c4c028efbeb6e1c23d2a (diff)
downloaddpdk-d00c149791744a3f2f79210178557bee5e6278b1.zip
dpdk-d00c149791744a3f2f79210178557bee5e6278b1.tar.gz
dpdk-d00c149791744a3f2f79210178557bee5e6278b1.tar.xz
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: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index b777f9e..b08c78e 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -71,6 +71,11 @@ Deprecation Notices
naturally align the Ethernet header on receive and all known
encapsulations preserve the alignment of the header.
+* 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,