Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/116240/?format=api
https://patches.dpdk.org/api/patches/116240/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220913095519.2554445-1-chenh@yusur.tech/", "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": "<20220913095519.2554445-1-chenh@yusur.tech>", "list_archive_url": "https://inbox.dpdk.org/dev/20220913095519.2554445-1-chenh@yusur.tech", "date": "2022-09-13T09:55:19", "name": "vhost: enable CONFIG feature", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "087785b328e0cc2b95d703927ceed290b459600a", "submitter": { "id": 2846, "url": "https://patches.dpdk.org/api/people/2846/?format=api", "name": "Hao Chen", "email": "chenh@yusur.tech" }, "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/20220913095519.2554445-1-chenh@yusur.tech/mbox/", "series": [ { "id": 24644, "url": "https://patches.dpdk.org/api/series/24644/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=24644", "date": "2022-09-13T09:55:19", "name": "vhost: enable CONFIG feature", "version": 1, "mbox": "https://patches.dpdk.org/series/24644/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/116240/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/116240/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 9DE4CA0032;\n\tTue, 13 Sep 2022 11:55:26 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4364140156;\n\tTue, 13 Sep 2022 11:55:26 +0200 (CEST)", "from out29-219.mail.aliyun.com (out29-219.mail.aliyun.com\n [115.124.29.219])\n by mails.dpdk.org (Postfix) with ESMTP id 8DC9F40151\n for <dev@dpdk.org>; Tue, 13 Sep 2022 11:55:24 +0200 (CEST)", "from localhost.localdomain(mailfrom:chenh@yusur.tech\n fp:SMTPD_---.PEUYQ6b_1663062920) by smtp.aliyun-inc.com;\n Tue, 13 Sep 2022 17:55:21 +0800" ], "X-Alimail-AntiSpam": "AC=CONTINUE; BC=0.09542287|-1;\n BR=01201311R681S61rulernew998_84748_2000303; CH=blue; DM=|CONTINUE|false|;\n DS=CONTINUE|ham_system_inform|0.0191094-0.000380774-0.98051;\n FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047204; MF=chenh@yusur.tech; NM=1;\n PH=DS;\n RN=6; RT=6; SR=0; TI=SMTPD_---.PEUYQ6b_1663062920;", "From": "Hao Chen <chenh@yusur.tech>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, houyl@yusur.tech, zy@yusur.tech, Hao Chen <chenh@yusur.tech>", "Subject": "[PATCH] vhost: enable CONFIG feature", "Date": "Tue, 13 Sep 2022 05:55:19 -0400", "Message-Id": "<20220913095519.2554445-1-chenh@yusur.tech>", "X-Mailer": "git-send-email 2.27.0", "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": "Enable this feature, so that libvirt or qemu can call vdpa vendor\ndriver's ops '.get_config' through 'vhost_net_get_config' to get\nthe mac address of the vdpa hardware without manual configuration.\n\nSigned-off-by: Hao Chen <chenh@yusur.tech>\n---\n lib/vhost/vhost_user.h | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h\nindex 8ecca68597..12e8d116f3 100644\n--- a/lib/vhost/vhost_user.h\n+++ b/lib/vhost/vhost_user.h\n@@ -23,7 +23,8 @@\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD) | \\\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER) | \\\n \t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_PAGEFAULT) | \\\n-\t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_STATUS))\n+\t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_STATUS) | \\\n+\t\t\t\t\t (1ULL << VHOST_USER_PROTOCOL_F_CONFIG))\n \n typedef enum VhostUserRequest {\n \tVHOST_USER_NONE = 0,\n", "prefixes": [] }{ "id": 116240, "url": "