[dpdk-dev] [PATCH v2] doc: announce removal of old port count function

Andrew Rybchenko arybchenko at solarflare.com
Tue Aug 6 15:45:59 CEST 2019


On 8/6/19 4:39 PM, Ananyev, Konstantin wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
>> Sent: Tuesday, August 6, 2019 2:32 PM
>> To: dev at dpdk.org
>> Cc: David Marchand <david.marchand at 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 at monjalon.net>
>> Acked-by: David Marchand <david.marchand at 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 at intel.com>
>

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



More information about the dev mailing list