From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id B321EA0096 for ; Tue, 4 Jun 2019 09:13:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 90B221B9C6; Tue, 4 Jun 2019 09:13:03 +0200 (CEST) Received: from mail-ua1-f66.google.com (mail-ua1-f66.google.com [209.85.222.66]) by dpdk.org (Postfix) with ESMTP id C0D2E1B996 for ; Tue, 4 Jun 2019 09:13:01 +0200 (CEST) Received: by mail-ua1-f66.google.com with SMTP id w44so7422169uad.6 for ; Tue, 04 Jun 2019 00:13:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xje+ZAtXfhGhPYFkQ2WOjg8vpm07c8R0YrCnx9zdd40=; b=KcRn/bJ+Kmf9uc2N3xJ6Tv93LF4nHIa5Vw6EYCyFyLuM9fTNQ2DJlcskrtA3aPMhxp zoIweoFSBZxe3cjGRdX6yZpX5+LacwcvdK7vFFhPsTmq+1SNwCKe103KCS2AScch4uFo ZxX1VfjHoYmLVaseohfFk4PEg1NbpB4Q0uPyx1jA6PwZ9s61P2X3map4vX6d14sIZ+eC 60p3PeJX/a0DgCZDfl/hPt60iObj/WeI1sYnL3eQ2ItNBYzDxWtI4DqYbOCZPWAnTyM1 wb9r3ytnhNeDMdOntB2V21Q/wnY1lmlGifv6w3t0fUbsL0nDRTkN+DK2TlSH5W0xTgUr 3fzQ== X-Gm-Message-State: APjAAAXn1XnhbxNuJwjjDe1pRj3w8leCrzuBblnzpHgvTwtetANnrWi+ mrw2cL14Q3GgG8NxgvQwi3iqfrcJo8W9a1cScuT33Nxo X-Google-Smtp-Source: APXvYqyM6egL8ewrLY4RLLxgzjVR/7+mIHdDgz5XuBCyVrPDqlgHGIWrGmZ6zTu0QGc1L37/W1Rpuz1Mg7DBe6MP/YI= X-Received: by 2002:ab0:1388:: with SMTP id m8mr10780363uae.53.1559632381208; Tue, 04 Jun 2019 00:13:01 -0700 (PDT) MIME-Version: 1.0 References: <20190603214737.14609-1-thomas@monjalon.net> In-Reply-To: <20190603214737.14609-1-thomas@monjalon.net> From: David Marchand Date: Tue, 4 Jun 2019 09:12:50 +0200 Message-ID: To: Thomas Monjalon Cc: dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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" On Mon, Jun 3, 2019 at 11:48 PM Thomas Monjalon wrote: > 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 > --- > 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. > -- > 2.21.0 > Out of curiosity (ok, not entirely, since I need to write some notices). Is there a rule for the order in which those entries are written? I can see a notice about ethdev later in the file. Acked-by: David Marchand -- David Marchand