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 5C2CAA00E6 for ; Tue, 6 Aug 2019 15:31:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FEFB1B952; Tue, 6 Aug 2019 15:31:41 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 7B5121B94F for ; Tue, 6 Aug 2019 15:31:40 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5F8103FB; Tue, 6 Aug 2019 09:31:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 06 Aug 2019 09:31:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=JAz1rKp2cw nStwbMbvyzGPPrZSuYrtmR1okLR/3+X+U=; b=KCFuf2mfFkwfUCNGWUm8qyNsM9 x98tteVeSYeK+tYo+lfn40rGETzYAMtOpPO45dHEDMr43to02A5G/XBDvUPI/DVL Nma3P9tAeSL74xH9gcsKjgPuZa1G7Ru91TwWjYNADkEjd8VBdu17XWlOEGlbOD3X 6TbVuTadNdLeIm1fM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=JAz1rKp2cwnStwbMbvyzGPPrZSuYrtmR1okLR/3+X+U=; b=aBX4Zzjs K5psmesP/DJsnq525Tl6dOCQD8w70Itcs5cRWQ9qvAmWLqLFGSaoiKg9K5fr3u62 L2jw3WNuD1mV8sdeeJvsMi/7CIXOxYUaKtfw1SkOXyivtzp+y8VHYddAcuV70yz/ EbocJuU2SuCHkLj1eOjkAoJvy6a46IiIG4vCsaS+xRstpbInCzQBOhZrFVP4u9/y HOPVG9yTBb46sk16SQCXdwdiU7Mxs7ASa5kORxlGX87yHfFIC70L/5KUE1i0oocG GNS1zSJgbE6M1zsZYlJqOtn+YRUEmxVuKrMbCWBVyYP+dwfzgrROuVFdAWW9m4bS 7nIAICcV3CpB/A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddutddgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeelfedriedrudegledruddugeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhm rghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 06E1480063; Tue, 6 Aug 2019 09:31:37 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand Date: Tue, 6 Aug 2019 15:31:35 +0200 Message-Id: <20190806133135.16503-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190603214737.14609-1-thomas@monjalon.net> References: <20190603214737.14609-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 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, -- 2.21.0