From patchwork Mon Jun 3 21:47:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 54273 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1E0341B9AB; Mon, 3 Jun 2019 23:48:02 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id C707B1B9A8 for ; Mon, 3 Jun 2019 23:48:00 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F3F1B2215D; Mon, 3 Jun 2019 17:47:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 03 Jun 2019 17:47:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=PNtzMV6ZoyFcQXnVXKkSm6G 9E7RdbKO6TsZ4ww1nULs=; b=aUG9kcNlOSEABoryVdua5E5Gbu4xyZnAsH35dvV BKj6fypdBsINeUdqBPm7ISko/9r9eVjqTLhn4vsn/dIak339cKOlEJ2v37PtH5E0 qFijzQRKXTOvwOxzkqC1qSGd0/U+tw8bsSXeigv01MMUlJYZkOs+C3JeeTWlCJYk A6/U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=PNtzMV6ZoyFcQXnVX KkSm6G9E7RdbKO6TsZ4ww1nULs=; b=ubL7v4UTQIFGzO8+q/IWMPFM6HOGpfrsm +Tq9tKU+BULzQn9uWQl4gRqyDvH72CLoNhbX3y6plitCY8QCzh14tLEnSzpHQfgK 1BIXImZyrpbBzbav8Mee1oBXAj4kx1tagBja11llz2lJ66hdUrQLFExteFHBkmd4 /j+vQy3ze3B2ntsOhibXRsKqVRPjNmlCr4MXh6ISrBrg0ZF23fsPobD9q2TVIF4O /Nf9KYauIKiQbB3bSTc3QggZzdZ941u+UeHou3EsFiafxNy0OV8GHebbjG0QwjNT 5wWpSgEPeCCx1GCcXcJGUlf9iQw1bxOWgc4s0/XewFlPtlQVCRTpg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefkedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtdefrddukeegnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehl uhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8210B80065; Mon, 3 Jun 2019 17:47:57 -0400 (EDT) From: Thomas Monjalon To: david.marchand@redhat.com Cc: dev@dpdk.org Date: Mon, 3 Jun 2019 23:47:37 +0200 Message-Id: <20190603214737.14609-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] 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 --- 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 e2721fad6..8d4d89a85 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -37,6 +37,11 @@ Deprecation Notices + ``rte_eal_devargs_type_count`` +* 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. + * vfio: removal of ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` APIs which have been replaced with ``rte_dev_dma_map`` and ``rte_dev_dma_unmap`` functions. The due date for the removal targets DPDK 20.02.