From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDDD1A00E6 for ; Tue, 6 Aug 2019 15:46:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DDDD01B952; Tue, 6 Aug 2019 15:46:20 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 465391B94F for ; Tue, 6 Aug 2019 15:46:19 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us2.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 7A7B11C0068; Tue, 6 Aug 2019 13:46:17 +0000 (UTC) Received: from [192.168.1.11] (85.187.13.152) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 6 Aug 2019 14:46:11 +0100 To: "Ananyev, Konstantin" , Thomas Monjalon , "dev@dpdk.org" CC: David Marchand References: <20190603214737.14609-1-thomas@monjalon.net> <20190806133135.16503-1-thomas@monjalon.net> <2601191342CEEE43887BDE71AB9772580168A629D4@irsmsx105.ger.corp.intel.com> From: Andrew Rybchenko Message-ID: <62f0be41-86bc-a6e7-e4b8-b0d817e845e3@solarflare.com> Date: Tue, 6 Aug 2019 16:45:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <2601191342CEEE43887BDE71AB9772580168A629D4@irsmsx105.ger.corp.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [85.187.13.152] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24824.003 X-TM-AS-Result: No-8.831000-8.000000-10 X-TMASE-MatchedRID: HXSqh3WYKfvmLzc6AOD8DfHkpkyUphL9Ud7Bjfo+5jSSpySKNJSPbiUq lVw3S6OjwttdwSBRdBCeui68tP+BIsALMHtEBmE5uwdUMMznEA+hQhstwJ9G4FMeFKd6rzCnQBz oPKhLasjMWVcuVROElcL9nxFXEsp1kJIJE4kX5BSioOQqyjC148dI5hSn0cXIbVFysv2X2RnlKY FH5Rzmv0xQgSlHijV4RGEaaJVAoarlRxm3A2wKujl/1fD/GopdnCGS1WQEGtCO8R6rqACRhq85G jho6PlWC24oEZ6SpSmb4wHqRpnaDrCqRFJ9O5ZADIqQGkypdetzZL9VmzGuX2BS4hEkEPPbbI3Q SUFRWZyHyVPI0jFvJMcLh2KDyZLLBMPnelIdjkDFkG7i/4kjk4fMZMegLDIeGU0pKnas+RbnCJf tFZkZizYJYNFU00e7N+XOQZygrvY= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--8.831000-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24824.003 X-MDID: 1565099178-kFEuUSZGF6Im Subject: Re: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 >> 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 >> Acked-by: David Marchand >> --- >> 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 > Acked-by: Andrew Rybchenko