Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/115831/?format=api
http://patches.dpdk.org/api/patches/115831/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/41bd4cb5a38827f3b8550e2fd5ab52bf5135d0e0.1662347861.git.kangjie.xu@linux.alibaba.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": "<41bd4cb5a38827f3b8550e2fd5ab52bf5135d0e0.1662347861.git.kangjie.xu@linux.alibaba.com>", "list_archive_url": "https://inbox.dpdk.org/dev/41bd4cb5a38827f3b8550e2fd5ab52bf5135d0e0.1662347861.git.kangjie.xu@linux.alibaba.com", "date": "2022-09-05T03:48:04", "name": "[v2,1/2] vhost: support VIRTIO_F_RING_RESET for vhost-user", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6c4721d2521daa22651e18e08ef6899d1945fe10", "submitter": { "id": 2778, "url": "http://patches.dpdk.org/api/people/2778/?format=api", "name": "Kangjie Xu", "email": "kangjie.xu@linux.alibaba.com" }, "delegate": { "id": 2642, "url": "http://patches.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/41bd4cb5a38827f3b8550e2fd5ab52bf5135d0e0.1662347861.git.kangjie.xu@linux.alibaba.com/mbox/", "series": [ { "id": 24529, "url": "http://patches.dpdk.org/api/series/24529/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=24529", "date": "2022-09-05T03:48:03", "name": "vhost: support VIRTIO_F_RING_RESET for vhost-user", "version": 2, "mbox": "http://patches.dpdk.org/series/24529/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/115831/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/115831/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 501F8A0556;\n\tMon, 5 Sep 2022 05:48:23 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7495D427ED;\n\tMon, 5 Sep 2022 05:48:13 +0200 (CEST)", "from out30-43.freemail.mail.aliyun.com\n (out30-43.freemail.mail.aliyun.com [115.124.30.43])\n by mails.dpdk.org (Postfix) with ESMTP id 12B2540697\n for <dev@dpdk.org>; Mon, 5 Sep 2022 05:48:09 +0200 (CEST)", "from localhost(mailfrom:kangjie.xu@linux.alibaba.com\n fp:SMTPD_---0VOK7-vD_1662349686) by smtp.aliyun-inc.com;\n Mon, 05 Sep 2022 11:48:07 +0800" ], "X-Alimail-AntiSpam": "AC=PASS; BC=-1|-1; BR=01201311R441e4; CH=green;\n DM=||false|;\n DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018046059;\n MF=kangjie.xu@linux.alibaba.com; NM=1; PH=DS; RN=7; SR=0;\n TI=SMTPD_---0VOK7-vD_1662349686;", "From": "Kangjie Xu <kangjie.xu@linux.alibaba.com>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, xuanzhuo@linux.alibaba.com, hengqi@linux.alibaba.com,\n jasonwang@redhat.com, mst@redhat.com", "Subject": "[PATCH v2 1/2] vhost: support VIRTIO_F_RING_RESET for vhost-user", "Date": "Mon, 5 Sep 2022 11:48:04 +0800", "Message-Id": "\n <41bd4cb5a38827f3b8550e2fd5ab52bf5135d0e0.1662347861.git.kangjie.xu@linux.alibaba.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<cover.1662347861.git.kangjie.xu@linux.alibaba.com>", "References": "<cover.1662347861.git.kangjie.xu@linux.alibaba.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Add VIRTIO_F_RING_RESET, which indicates that the driver can reset a\nqueue individually.\n\nThe feature is added to virtio-spec 1.2. The relevant information is\nin https://github.com/oasis-tcs/virtio-spec/issues/124\n\nSigned-off-by: Kangjie Xu <kangjie.xu@linux.alibaba.com>\nSigned-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>\n---\n lib/vhost/vhost.h | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h\nindex 40fac3b7c6..76461a3406 100644\n--- a/lib/vhost/vhost.h\n+++ b/lib/vhost/vhost.h\n@@ -376,6 +376,11 @@ struct vhost_msg {\n #define VIRTIO_F_VERSION_1 32\n #endif\n \n+/* This feature indicates that the driver can reset a queue individually. */\n+#ifndef VIRTIO_F_RING_RESET\n+#define VIRTIO_F_RING_RESET 40\n+#endif\n+\n /* Declare packed ring related bits for older kernels */\n #ifndef VIRTIO_F_RING_PACKED\n \n@@ -438,7 +443,8 @@ struct vring_packed_desc_event {\n \t\t\t\t(1ULL << VIRTIO_NET_F_MTU) | \\\n \t\t\t\t(1ULL << VIRTIO_F_IN_ORDER) | \\\n \t\t\t\t(1ULL << VIRTIO_F_IOMMU_PLATFORM) | \\\n-\t\t\t\t(1ULL << VIRTIO_F_RING_PACKED))\n+\t\t\t\t(1ULL << VIRTIO_F_RING_PACKED)\t| \\\n+\t\t\t\t(1ULL << VIRTIO_F_RING_RESET))\n \n \n struct guest_page {\n", "prefixes": [ "v2", "1/2" ] }{ "id": 115831, "url": "