Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/52890/?format=api
https://patches.dpdk.org/api/patches/52890/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190417225928.8962-2-thomas@monjalon.net/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20190417225928.8962-2-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20190417225928.8962-2-thomas@monjalon.net", "date": "2019-04-17T22:59:28", "name": "[2/2] ethdev: promote function for port count as stable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2d3c379fc3edc8e83923e0d5f0e7aded56dbfdfa", "submitter": { "id": 685, "url": "https://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190417225928.8962-2-thomas@monjalon.net/mbox/", "series": [ { "id": 4359, "url": "https://patches.dpdk.org/api/series/4359/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4359", "date": "2019-04-17T22:59:27", "name": "[1/2] ethdev: avoid explicit check of valid port state", "version": 1, "mbox": "https://patches.dpdk.org/series/4359/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/52890/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/52890/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E6F8B1B906;\n\tThu, 18 Apr 2019 01:00:40 +0200 (CEST)", "from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com\n\t[66.111.4.27]) by dpdk.org (Postfix) with ESMTP id ACDC91B8FA\n\tfor <dev@dpdk.org>; Thu, 18 Apr 2019 01:00:38 +0200 (CEST)", "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 5B21220F02;\n\tWed, 17 Apr 2019 19:00:38 -0400 (EDT)", "from mailfrontend1 ([10.202.2.162])\n\tby compute1.internal (MEProxy); Wed, 17 Apr 2019 19:00:38 -0400", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 4D30EE44B4;\n\tWed, 17 Apr 2019 19:00:37 -0400 (EDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tfrom:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding; s=mesmtp; bh=jLyNSl0Ak3\n\tLjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=jc1A676W5sbVEtm0T6o4nJzzIs\n\tIqsZI2EntKU0jMIwTdILn++25g2ghnP7++BnF+OnxjN+Md2UCUea3IUgHbLCdfrr\n\tQ3I7qSwL3V6MgcTaqDLT1/jZL8RjIoPePT63rEwHnohqQRDvnRa7lzySGWGORwOq\n\t2VUkOVJMmTcCbIz9A=", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:date:from\n\t:in-reply-to:message-id:mime-version:references:subject:to\n\t:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n\tfm2; bh=jLyNSl0Ak3LjZgmX2SqZnWiLHeDslYwff6b8MPKPBSo=; b=adL8Xp2/\n\trcwlkG1hSL6sICKcsSBJy5BYNCnMbNvLBfNujTSoFGaDCcygcnT9R32lVIaOpM2i\n\t5dPoPkMJP/jJspo/ebuFXE0gImmCF/Nuda62FhBdV4YFpwX8QttAgTtytARvh6jW\n\tlH+zKwCNvT0caxoMgO2qto3EyS/Q6DfLH6BerRZQl2OXZMx2VdCWk/0ugf9hxFUE\n\tzKpnZ9g2jB9zECAS0xPL03wV+ZuQ07JHm/4pSIEnv9eXSSSdZnsHjO5XTA24O6BD\n\tHc9VPjwvEnpWN5rVUHHv/vDGeHCMZjdnRXB8QQW3ExY1gzSuP8pYHyhem/dAszf5\n\tKYx7JI46RLDtqQ==" ], "X-ME-Sender": "<xms:FrC3XFKZU7WJEWpMhH40Zv6fBsg3Z5-Tzze5m8tkUR3kty_t2HCKAg>", "X-ME-Proxy-Cause": "gggruggvucftvghtrhhoucdtuddrgeduuddrfeeggddugecutefuodetggdotefrodftvf\n\tcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n\tuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n\tfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n\tucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph\n\tepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho\n\tmhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd", "X-ME-Proxy": "<xmx:FrC3XMGK7_NL1VEpVb3ltFqQcpX0lIV4P8kQBX3wiRgbp-Ko62tDug>\n\t<xmx:FrC3XAVgqrQeUEacQbQe63exBSEnr5E2-RNZ_Wx-5YWjmpmogx3Fxg>\n\t<xmx:FrC3XFIUHOz0FoZuycC_vfsIQvU5PsUcf0sEg4c00vDkoRbXkQT0VA>\n\t<xmx:FrC3XPWXR46-X6hDSm3i92deNKBYigBLp1WcH0QAFNrFt-11gRCTtQ>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>", "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\n\tstable", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The function rte_eth_dev_count_total() was introduced one year ago\nin the release 18.05. It can be declared non experimental in 19.05.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_ethdev/rte_ethdev.c | 2 +-\n lib/librte_ethdev/rte_ethdev.h | 2 +-\n lib/librte_ethdev/rte_ethdev_version.map | 8 +++++++-\n 3 files changed, 9 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c\nindex cca15efca..4d99186e8 100644\n--- a/lib/librte_ethdev/rte_ethdev.c\n+++ b/lib/librte_ethdev/rte_ethdev.c\n@@ -765,7 +765,7 @@ rte_eth_dev_count_avail(void)\n \treturn count;\n }\n \n-uint16_t __rte_experimental\n+uint16_t\n rte_eth_dev_count_total(void)\n {\n \tuint16_t port, count = 0;\ndiff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 40a068fe8..aafc503db 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -1560,7 +1560,7 @@ uint16_t rte_eth_dev_count_avail(void);\n * @return\n * The total count of Ethernet devices.\n */\n-uint16_t __rte_experimental rte_eth_dev_count_total(void);\n+uint16_t rte_eth_dev_count_total(void);\n \n /**\n * Convert a numerical speed in Mbps to a bitmap flag that can be used in\ndiff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map\nindex b37a4167d..afcd25599 100644\n--- a/lib/librte_ethdev/rte_ethdev_version.map\n+++ b/lib/librte_ethdev/rte_ethdev_version.map\n@@ -229,11 +229,17 @@ DPDK_18.11 {\n \n } DPDK_18.08;\n \n+DPDK_19.05 {\n+\tglobal:\n+\n+\trte_eth_dev_count_total;\n+\n+} DPDK_18.11;\n+\n EXPERIMENTAL {\n \tglobal:\n \n \trte_eth_devargs_parse;\n-\trte_eth_dev_count_total;\n \trte_eth_dev_create;\n \trte_eth_dev_destroy;\n \trte_eth_dev_get_module_eeprom;\n", "prefixes": [ "2/2" ] }{ "id": 52890, "url": "