From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ACDC91B8FA for ; Thu, 18 Apr 2019 01:00:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5B21220F02; Wed, 17 Apr 2019 19:00:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Apr 2019 19:00:38 -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=jLyNSl0Ak3 LjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=jc1A676W5sbVEtm0T6o4nJzzIs IqsZI2EntKU0jMIwTdILn++25g2ghnP7++BnF+OnxjN+Md2UCUea3IUgHbLCdfrr Q3I7qSwL3V6MgcTaqDLT1/jZL8RjIoPePT63rEwHnohqQRDvnRa7lzySGWGORwOq 2VUkOVJMmTcCbIz9A= 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= fm2; bh=jLyNSl0Ak3LjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=adL8Xp2/ rcwlkG1hSL6sICKcsSBJy5BYNCnMbNvLBfNujTSoFGaDCcygcnT9R32lVIaOpM2i 5dPoPkMJP/jJspo/ebuFXE0gImmCF/Nuda62FhBdV4YFpwX8QttAgTtytARvh6jW lH+zKwCNvT0caxoMgO2qto3EyS/Q6DfLH6BerRZQl2OXZMx2VdCWk/0ugf9hxFUE zKpnZ9g2jB9zECAS0xPL03wV+ZuQ07JHm/4pSIEnv9eXSSSdZnsHjO5XTA24O6BD Hc9VPjwvEnpWN5rVUHHv/vDGeHCMZjdnRXB8QQW3ExY1gzSuP8pYHyhem/dAszf5 KYx7JI46RLDtqQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeeggddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 4D30EE44B4; Wed, 17 Apr 2019 19:00:37 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit , Andrew Rybchenko Cc: dev@dpdk.org Date: Thu, 18 Apr 2019 00:59:28 +0200 Message-Id: <20190417225928.8962-2-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190417225928.8962-1-thomas@monjalon.net> References: <20190417225928.8962-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/2] ethdev: promote function for port count as stable 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: , X-List-Received-Date: Wed, 17 Apr 2019 23:00:39 -0000 The function rte_eth_dev_count_total() was introduced one year ago in the release 18.05. It can be declared non experimental in 19.05. Signed-off-by: Thomas Monjalon --- lib/librte_ethdev/rte_ethdev.c | 2 +- lib/librte_ethdev/rte_ethdev.h | 2 +- lib/librte_ethdev/rte_ethdev_version.map | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index cca15efca..4d99186e8 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -765,7 +765,7 @@ rte_eth_dev_count_avail(void) return count; } -uint16_t __rte_experimental +uint16_t rte_eth_dev_count_total(void) { uint16_t port, count = 0; diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 40a068fe8..aafc503db 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -1560,7 +1560,7 @@ uint16_t rte_eth_dev_count_avail(void); * @return * The total count of Ethernet devices. */ -uint16_t __rte_experimental rte_eth_dev_count_total(void); +uint16_t rte_eth_dev_count_total(void); /** * Convert a numerical speed in Mbps to a bitmap flag that can be used in diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map index b37a4167d..afcd25599 100644 --- a/lib/librte_ethdev/rte_ethdev_version.map +++ b/lib/librte_ethdev/rte_ethdev_version.map @@ -229,11 +229,17 @@ DPDK_18.11 { } DPDK_18.08; +DPDK_19.05 { + global: + + rte_eth_dev_count_total; + +} DPDK_18.11; + EXPERIMENTAL { global: rte_eth_devargs_parse; - rte_eth_dev_count_total; rte_eth_dev_create; rte_eth_dev_destroy; rte_eth_dev_get_module_eeprom; -- 2.21.0 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 23685A00E6 for ; Thu, 18 Apr 2019 01:00:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E6F8B1B906; Thu, 18 Apr 2019 01:00:40 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ACDC91B8FA for ; Thu, 18 Apr 2019 01:00:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5B21220F02; Wed, 17 Apr 2019 19:00:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Apr 2019 19:00:38 -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=jLyNSl0Ak3 LjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=jc1A676W5sbVEtm0T6o4nJzzIs IqsZI2EntKU0jMIwTdILn++25g2ghnP7++BnF+OnxjN+Md2UCUea3IUgHbLCdfrr Q3I7qSwL3V6MgcTaqDLT1/jZL8RjIoPePT63rEwHnohqQRDvnRa7lzySGWGORwOq 2VUkOVJMmTcCbIz9A= 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= fm2; bh=jLyNSl0Ak3LjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=adL8Xp2/ rcwlkG1hSL6sICKcsSBJy5BYNCnMbNvLBfNujTSoFGaDCcygcnT9R32lVIaOpM2i 5dPoPkMJP/jJspo/ebuFXE0gImmCF/Nuda62FhBdV4YFpwX8QttAgTtytARvh6jW lH+zKwCNvT0caxoMgO2qto3EyS/Q6DfLH6BerRZQl2OXZMx2VdCWk/0ugf9hxFUE zKpnZ9g2jB9zECAS0xPL03wV+ZuQ07JHm/4pSIEnv9eXSSSdZnsHjO5XTA24O6BD Hc9VPjwvEnpWN5rVUHHv/vDGeHCMZjdnRXB8QQW3ExY1gzSuP8pYHyhem/dAszf5 KYx7JI46RLDtqQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeeggddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 4D30EE44B4; Wed, 17 Apr 2019 19:00:37 -0400 (EDT) From: Thomas Monjalon To: Ferruh Yigit , Andrew Rybchenko Cc: dev@dpdk.org Date: Thu, 18 Apr 2019 00:59:28 +0200 Message-Id: <20190417225928.8962-2-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190417225928.8962-1-thomas@monjalon.net> References: <20190417225928.8962-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/2] ethdev: promote function for port count as stable 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190417225928.1LSCtC3UMdWTQHKMJjz9i-nGZ7jG6iNl-8eQjPwrT5Y@z> The function rte_eth_dev_count_total() was introduced one year ago in the release 18.05. It can be declared non experimental in 19.05. Signed-off-by: Thomas Monjalon --- lib/librte_ethdev/rte_ethdev.c | 2 +- lib/librte_ethdev/rte_ethdev.h | 2 +- lib/librte_ethdev/rte_ethdev_version.map | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index cca15efca..4d99186e8 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -765,7 +765,7 @@ rte_eth_dev_count_avail(void) return count; } -uint16_t __rte_experimental +uint16_t rte_eth_dev_count_total(void) { uint16_t port, count = 0; diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 40a068fe8..aafc503db 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -1560,7 +1560,7 @@ uint16_t rte_eth_dev_count_avail(void); * @return * The total count of Ethernet devices. */ -uint16_t __rte_experimental rte_eth_dev_count_total(void); +uint16_t rte_eth_dev_count_total(void); /** * Convert a numerical speed in Mbps to a bitmap flag that can be used in diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map index b37a4167d..afcd25599 100644 --- a/lib/librte_ethdev/rte_ethdev_version.map +++ b/lib/librte_ethdev/rte_ethdev_version.map @@ -229,11 +229,17 @@ DPDK_18.11 { } DPDK_18.08; +DPDK_19.05 { + global: + + rte_eth_dev_count_total; + +} DPDK_18.11; + EXPERIMENTAL { global: rte_eth_devargs_parse; - rte_eth_dev_count_total; rte_eth_dev_create; rte_eth_dev_destroy; rte_eth_dev_get_module_eeprom; -- 2.21.0