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 95E06A00E6 for ; Tue, 6 Aug 2019 15:39:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 770C41B952; Tue, 6 Aug 2019 15:39:27 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 911D31B94F for ; Tue, 6 Aug 2019 15:39:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 06:39:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="181974602" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by FMSMGA003.fm.intel.com with ESMTP; 06 Aug 2019 06:39:23 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by irsmsx105.ger.corp.intel.com (163.33.3.28) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 14:39:22 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by irsmsx111.ger.corp.intel.com ([169.254.2.65]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 14:39:22 +0100 From: "Ananyev, Konstantin" To: Thomas Monjalon , "dev@dpdk.org" CC: David Marchand Thread-Topic: [dpdk-dev] [PATCH v2] doc: announce removal of old port count function Thread-Index: AQHVTFtXtO8jNBTB1Ey09Qh2y/89GqbuH+wA Date: Tue, 6 Aug 2019 13:39:21 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580168A629D4@irsmsx105.ger.corp.intel.com> References: <20190603214737.14609-1-thomas@monjalon.net> <20190806133135.16503-1-thomas@monjalon.net> In-Reply-To: <20190806133135.16503-1-thomas@monjalon.net> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTZlY2M5ODUtYWExNi00ODg1LWI1MGItODA4ODJlZTJmMDU4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicWJmaWhGbElNYzJhRTJabG9CY04zSmF2cTBjWU9jN0x0akxPMngwZUlEZGhwd2dDcWJkTGZkeUZSQThPSUJcL1QifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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" > -----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 fu= nction >=20 > 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. >=20 > 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(+) >=20 > 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 c= leared) > in future releases. >=20 > +* 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 w= ell > as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDI= R, > -- Acked-by: Konstantin Ananyev > 2.21.0