Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/117816/?format=api
https://patches.dpdk.org/api/patches/117816/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221010153751.58951-1-maxime.coquelin@redhat.com/", "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": "<20221010153751.58951-1-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221010153751.58951-1-maxime.coquelin@redhat.com", "date": "2022-10-10T15:37:51", "name": "vhost: promote per-queue stats API to stable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c5c8c5540919ee29b679867021c8d976036294ce", "submitter": { "id": 512, "url": "https://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "delegate": { "id": 2642, "url": "https://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221010153751.58951-1-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 25082, "url": "https://patches.dpdk.org/api/series/25082/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25082", "date": "2022-10-10T15:37:51", "name": "vhost: promote per-queue stats API to stable", "version": 1, "mbox": "https://patches.dpdk.org/series/25082/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/117816/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/117816/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 8C40CA0544;\n\tMon, 10 Oct 2022 17:37:59 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 73616427F6;\n\tMon, 10 Oct 2022 17:37:59 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id E63434021E\n for <dev@dpdk.org>; Mon, 10 Oct 2022 17:37:57 +0200 (CEST)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-350-rVypK0KzOHGXnP2I4_ZOGA-1; Mon, 10 Oct 2022 11:37:54 -0400", "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com\n [10.11.54.8])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 030E8800186;\n Mon, 10 Oct 2022 15:37:54 +0000 (UTC)", "from max-t490s.redhat.com (unknown [10.39.208.19])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 082EDC15BA4;\n Mon, 10 Oct 2022 15:37:52 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1665416277;\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=RWupUTOpf+r4RMp3iOOyKAWRrJeRW5bKjiTnVYDSrFw=;\n b=ZTPmsjXYxY0Ly6PpK1bhKpe8gE0aUxUtYY6qn44zX4bzLXS8b+MmmAGK+spOES4kviist1\n bipVSPG9kblX+yHgz/dbCBTkvc26GPO8320lWjZ8ZuuhxfX1/TXxiQyHJA7JaM4FVUNTq8\n fp82VMXle2j0l5m5WXG4k3jRuiJBDV8=", "X-MC-Unique": "rVypK0KzOHGXnP2I4_ZOGA-1", "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "dev@dpdk.org,\n\tchenbo.xia@intel.com,\n\tdavid.marchand@redhat.com", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>", "Subject": "[PATCH] vhost: promote per-queue stats API to stable", "Date": "Mon, 10 Oct 2022 17:37:51 +0200", "Message-Id": "<20221010153751.58951-1-maxime.coquelin@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.8", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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" }, "content": "This patch promotes the per-queue stats API to stable.\nThe API has been used by the Vhost PMD since v22.07, and\nDavid Marchand posted a patch to make use of it in next\nOVS release[0].\n\n[0]: http://patchwork.ozlabs.org/project/openvswitch/patch/20221007111613.1695524-4-david.marchand@redhat.com/\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n doc/guides/rel_notes/release_22_11.rst | 4 ++++\n lib/vhost/rte_vhost.h | 3 ---\n lib/vhost/version.map | 6 +++---\n 3 files changed, 7 insertions(+), 6 deletions(-)", "diff": "diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst\nindex 37bd392f34..d5d3eeae24 100644\n--- a/doc/guides/rel_notes/release_22_11.rst\n+++ b/doc/guides/rel_notes/release_22_11.rst\n@@ -443,6 +443,10 @@ API Changes\n \n * raw/ifgpa: The function ``rte_pmd_ifpga_get_pci_bus`` has been removed.\n \n+* vhost: Promoted ``rte_vhost_vring_stats_get()``,\n+ ``rte_vhost_vring_stats_get_names()`` and ``rte_vhost_vring_stats_reset()``\n+ from experimental to stable.\n+\n \n ABI Changes\n -----------\ndiff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h\nindex bb7d86a432..59c98a0afb 100644\n--- a/lib/vhost/rte_vhost.h\n+++ b/lib/vhost/rte_vhost.h\n@@ -1075,7 +1075,6 @@ rte_vhost_slave_config_change(int vid, bool need_reply);\n * - Failure if lower than 0. The device ID or queue ID is invalid or\n + statistics collection is not enabled.\n */\n-__rte_experimental\n int\n rte_vhost_vring_stats_get_names(int vid, uint16_t queue_id,\n \t\tstruct rte_vhost_stat_name *name, unsigned int size);\n@@ -1103,7 +1102,6 @@ rte_vhost_vring_stats_get_names(int vid, uint16_t queue_id,\n * - Failure if lower than 0. The device ID or queue ID is invalid, or\n * statistics collection is not enabled.\n */\n-__rte_experimental\n int\n rte_vhost_vring_stats_get(int vid, uint16_t queue_id,\n \t\tstruct rte_vhost_stat *stats, unsigned int n);\n@@ -1120,7 +1118,6 @@ rte_vhost_vring_stats_get(int vid, uint16_t queue_id,\n * - Failure if lower than 0. The device ID or queue ID is invalid, or\n * statistics collection is not enabled.\n */\n-__rte_experimental\n int\n rte_vhost_vring_stats_reset(int vid, uint16_t queue_id);\n \ndiff --git a/lib/vhost/version.map b/lib/vhost/version.map\nindex 7a00b65740..8c5e8aa8d3 100644\n--- a/lib/vhost/version.map\n+++ b/lib/vhost/version.map\n@@ -57,6 +57,9 @@ DPDK_23 {\n \trte_vhost_set_vring_base;\n \trte_vhost_va_from_guest_pa;\n \trte_vhost_vring_call;\n+\trte_vhost_vring_stats_get;\n+\trte_vhost_vring_stats_get_names;\n+\trte_vhost_vring_stats_reset;\n \n \tlocal: *;\n };\n@@ -88,9 +91,6 @@ EXPERIMENTAL {\n \n \t# added in 22.07\n \trte_vhost_async_get_inflight_thread_unsafe;\n-\trte_vhost_vring_stats_get_names;\n-\trte_vhost_vring_stats_get;\n-\trte_vhost_vring_stats_reset;\n \trte_vhost_async_try_dequeue_burst;\n \trte_vhost_driver_get_vdpa_dev_type;\n \trte_vhost_clear_queue;\n", "prefixes": [] }{ "id": 117816, "url": "