Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/70103/?format=api
http://patchwork.dpdk.org/api/patches/70103/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200512095155.98708-1-xuan.ding@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20200512095155.98708-1-xuan.ding@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200512095155.98708-1-xuan.ding@intel.com", "date": "2020-05-12T09:51:55", "name": "vhost: fix dequeue_zero_zopy cannot be enabled", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "da7c25fc88cf61c46c59433e872813c5e23f39d2", "submitter": { "id": 1401, "url": "http://patchwork.dpdk.org/api/people/1401/?format=api", "name": "Ding, Xuan", "email": "xuan.ding@intel.com" }, "delegate": { "id": 2642, "url": "http://patchwork.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200512095155.98708-1-xuan.ding@intel.com/mbox/", "series": [ { "id": 9996, "url": "http://patchwork.dpdk.org/api/series/9996/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9996", "date": "2020-05-12T09:51:55", "name": "vhost: fix dequeue_zero_zopy cannot be enabled", "version": 1, "mbox": "http://patchwork.dpdk.org/series/9996/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/70103/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/70103/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 30EF5A04A2;\n\tTue, 12 May 2020 11:52:56 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B8A2E1C01F;\n\tTue, 12 May 2020 11:52:55 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 406CD1C010;\n Tue, 12 May 2020 11:52:54 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 May 2020 02:52:53 -0700", "from dpdkxuanding-dev2.sh.intel.com ([10.67.118.152])\n by orsmga005.jf.intel.com with ESMTP; 12 May 2020 02:52:50 -0700" ], "IronPort-SDR": [ "\n z2cWrzFM2n7iuRdJ1vx17mGGiBwgfy4owTKs6oUezb6szphs6DBiKG7ZmZcsJTAd50BCleYk2n\n aP8CT/8UgS4Q==", "\n 9BiE+ZiaZY+qxao9ZwNg/Wpiygu9TQ9ZbJuNqKi/Mpi9mXa3mICr+swnxlva5yOPRLd+aPRPtB\n r+/FpEFMXP9Q==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.73,383,1583222400\"; d=\"scan'208\";a=\"437041668\"", "From": "Xuan Ding <xuan.ding@intel.com>", "To": "maxime.coquelin@redhat.com, zhihong.wang@intel.com, xiaolong.ye@intel.com", "Cc": "dev@dpdk.org,\n\tXuan Ding <xuan.ding@intel.com>,\n\tstable@dpdk.org", "Date": "Tue, 12 May 2020 09:51:55 +0000", "Message-Id": "<20200512095155.98708-1-xuan.ding@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] vhost: fix dequeue_zero_zopy cannot be enabled", "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 <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": "Use flag instead of vsocket->is_server to determine whether vhost is\nin client mode. Because vsocket->is_server is not ready yet.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Xuan Ding <xuan.ding@intel.com>\n---\n lib/librte_vhost/socket.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c\nindex bb8d0d780..0a66ef976 100644\n--- a/lib/librte_vhost/socket.c\n+++ b/lib/librte_vhost/socket.c\n@@ -926,7 +926,7 @@ rte_vhost_driver_register(const char *path, uint64_t flags)\n \t\t\tret = -1;\n \t\t\tgoto out_mutex;\n \t\t}\n-\t\tif (!vsocket->is_server) {\n+\t\tif ((flags & RTE_VHOST_USER_CLIENT) != 0) {\n \t\t\tVHOST_LOG_CONFIG(ERR,\n \t\t\t\"error: zero copy is incompatible with vhost client mode\\n\");\n \t\t\tret = -1;\n", "prefixes": [] }{ "id": 70103, "url": "