Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98081/?format=api
http://patches.dpdk.org/api/patches/98081/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210906130220.6756-1-david.marchand@redhat.com/", "project": { "id": 1, "url": "http://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": "<20210906130220.6756-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210906130220.6756-1-david.marchand@redhat.com", "date": "2021-09-06T13:02:20", "name": "ethdev: promote sibling iterators to stable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "cc741d99d096ac4fe33040ba8d3bac2a0985303b", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210906130220.6756-1-david.marchand@redhat.com/mbox/", "series": [ { "id": 18705, "url": "http://patches.dpdk.org/api/series/18705/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18705", "date": "2021-09-06T13:02:20", "name": "ethdev: promote sibling iterators to stable", "version": 1, "mbox": "http://patches.dpdk.org/series/18705/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/98081/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/98081/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 29565A0C43;\n\tMon, 6 Sep 2021 15:02:47 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A49BE410EF;\n\tMon, 6 Sep 2021 15:02:46 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [216.205.24.124])\n by mails.dpdk.org (Postfix) with ESMTP id 172C0410ED\n for <dev@dpdk.org>; Mon, 6 Sep 2021 15:02:44 +0200 (CEST)", "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-321-EHqreWUEOqum5iZW2ghdVw-1; Mon, 06 Sep 2021 09:02:32 -0400", "from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com\n [10.5.11.16])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B31C6835DE2;\n Mon, 6 Sep 2021 13:02:30 +0000 (UTC)", "from dmarchan.remote.csb (unknown [10.40.192.96])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 4A5896788D;\n Mon, 6 Sep 2021 13:02:28 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1630933364;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=CM1HPErWbvgmGp/FMjQRNs0HXdheCfxwb9G3ViGh/T0=;\n b=RYyPMamw8XJr1LTZg+H5mIzMPegaEbQ2GbqEdotlveX674e3vO5H0qwJYMwCKDs1pNXtjV\n Ht0cqBZ4Gps7/e4kf8XsNMTK0XqUf8Y2pYK6GaASpF7/kA7PqY1RKN8ia3IGaz9PQWsII4\n l6CJB48G8Mrq2+UPVLWhaQps4cHhLxc=", "X-MC-Unique": "EHqreWUEOqum5iZW2ghdVw-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "Thomas Monjalon <thomas@monjalon.net>,\n Ferruh Yigit <ferruh.yigit@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Ray Kinsella <mdr@ashroe.eu>", "Date": "Mon, 6 Sep 2021 15:02:20 +0200", "Message-Id": "<20210906130220.6756-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16", "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"", "Subject": "[dpdk-dev] [PATCH] ethdev: promote sibling iterators to stable", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This API saw no update since its introduction and will help applications\nlike OVS ([1] and [2]) that currently look at rte_eth_devices[] to\nachieve the same.\n\n1: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1285\n2: https://github.com/openvswitch/ovs/blob/master/lib/netdev-dpdk.c#L1476\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n lib/ethdev/rte_ethdev.h | 8 --------\n lib/ethdev/version.map | 6 ++----\n 2 files changed, 2 insertions(+), 12 deletions(-)", "diff": "diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h\nindex d2b27c351f..e888836471 100644\n--- a/lib/ethdev/rte_ethdev.h\n+++ b/lib/ethdev/rte_ethdev.h\n@@ -1894,9 +1894,6 @@ uint16_t rte_eth_find_next(uint16_t port_id);\n \tRTE_ETH_FOREACH_DEV_OWNED_BY(p, RTE_ETH_DEV_NO_OWNER)\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n * Iterates over ethdev ports of a specified device.\n *\n * @param port_id_start\n@@ -1907,7 +1904,6 @@ uint16_t rte_eth_find_next(uint16_t port_id);\n * Next port id of the device, possibly port_id_start,\n * RTE_MAX_ETHPORTS if there is none.\n */\n-__rte_experimental\n uint16_t\n rte_eth_find_next_of(uint16_t port_id_start,\n \t\tconst struct rte_device *parent);\n@@ -1926,9 +1922,6 @@ rte_eth_find_next_of(uint16_t port_id_start,\n \t\tport_id = rte_eth_find_next_of(port_id + 1, parent))\n \n /**\n- * @warning\n- * @b EXPERIMENTAL: this API may change without prior notice.\n- *\n * Iterates over sibling ethdev ports (i.e. sharing the same rte_device).\n *\n * @param port_id_start\n@@ -1939,7 +1932,6 @@ rte_eth_find_next_of(uint16_t port_id_start,\n * Next sibling port id, possibly port_id_start or ref_port_id itself,\n * RTE_MAX_ETHPORTS if there is none.\n */\n-__rte_experimental\n uint16_t\n rte_eth_find_next_sibling(uint16_t port_id_start, uint16_t ref_port_id);\n \ndiff --git a/lib/ethdev/version.map b/lib/ethdev/version.map\nindex 3eece75b72..c52720851a 100644\n--- a/lib/ethdev/version.map\n+++ b/lib/ethdev/version.map\n@@ -71,7 +71,9 @@ DPDK_22 {\n \trte_eth_dev_vlan_filter;\n \trte_eth_devices;\n \trte_eth_find_next;\n+\trte_eth_find_next_of;\n \trte_eth_find_next_owned_by;\n+\trte_eth_find_next_sibling;\n \trte_eth_iterator_cleanup;\n \trte_eth_iterator_init;\n \trte_eth_iterator_next;\n@@ -157,10 +159,6 @@ EXPERIMENTAL {\n \trte_eth_dev_rx_intr_ctl_q_get_fd;\n \trte_flow_conv;\n \n-\t# added in 19.05\n-\trte_eth_find_next_of;\n-\trte_eth_find_next_sibling;\n-\n \t# added in 19.08\n \trte_eth_read_clock;\n \n", "prefixes": [] }{ "id": 98081, "url": "