Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/73227/?format=api
https://patches.dpdk.org/api/patches/73227/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200706112452.1474533-2-amorenoz@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": "<20200706112452.1474533-2-amorenoz@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200706112452.1474533-2-amorenoz@redhat.com", "date": "2020-07-06T11:24:45", "name": "[v3,1/8] vhost: fix virtio ready flag check", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "76836d4df514e172139278d2dd023c215b9fa656", "submitter": { "id": 1397, "url": "https://patches.dpdk.org/api/people/1397/?format=api", "name": "Adrian Moreno", "email": "amorenoz@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/20200706112452.1474533-2-amorenoz@redhat.com/mbox/", "series": [ { "id": 10810, "url": "https://patches.dpdk.org/api/series/10810/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10810", "date": "2020-07-06T11:24:45", "name": "vhost: improve Vhost/vDPA device init", "version": 3, "mbox": "https://patches.dpdk.org/series/10810/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/73227/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/73227/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 A20B5A00C5;\n\tMon, 6 Jul 2020 13:25:19 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A86781D942;\n\tMon, 6 Jul 2020 13:25:18 +0200 (CEST)", "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id A0F841D935\n for <dev@dpdk.org>; Mon, 6 Jul 2020 13:25:16 +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-352-0QxaxmfgPPiUOI2gIdDPvQ-1; Mon, 06 Jul 2020 07:25:14 -0400", "from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com\n [10.5.11.12])\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 81FD88015F7;\n Mon, 6 Jul 2020 11:25:12 +0000 (UTC)", "from amorenoz.users.ipa.redhat.com (ovpn-112-91.ams2.redhat.com\n [10.36.112.91])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 4F47960CC0;\n Mon, 6 Jul 2020 11:25:10 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1594034716;\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 in-reply-to:in-reply-to:references:references;\n bh=PNIRPz3UZAX9NiPahml8ZjpmF2PJ0/tJT3o/wz5pZW0=;\n b=AUXC0T4tV8iqJmx2ZI3IUzxzDW5sgCdiAz2IFzdb4jUavG7S4sWQBOcJ6J2/FdOAhfyHt5\n STWbxZbpMmQNCUh7FgfryfAA9+qRWFEZPDbkag4Z9W2F6e2eoH7EpyxD2SHxZAByxv7vhA\n BIHPicpnjPC+JR7Qnjy6atGESIhneO4=", "X-MC-Unique": "0QxaxmfgPPiUOI2gIdDPvQ-1", "From": "Adrian Moreno <amorenoz@redhat.com>", "To": "dev@dpdk.org, chenbo.xia@intel.com, xiaolong.ye@intel.com,\n shahafs@mellanox.com, matan@mellanox.com, maxime.coquelin@redhat.com,\n xiao.w.wang@intel.com, viacheslavo@mellanox.com", "Cc": "jasowang@redhat.com,\n\tlulu@redhat.com,\n\tstable@dpdk.org", "Date": "Mon, 6 Jul 2020 13:24:45 +0200", "Message-Id": "<20200706112452.1474533-2-amorenoz@redhat.com>", "In-Reply-To": "<20200706112452.1474533-1-amorenoz@redhat.com>", "References": "<20200706112452.1474533-1-amorenoz@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12", "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=amorenoz@redhat.com", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 1/8] vhost: fix virtio ready flag check", "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": "From: Maxime Coquelin <maxime.coquelin@redhat.com>\n\nBefore checking whether the device is ready is done\na check on whether the RUNNING flag is set. Then the\nREADY flag is set if virtio_is_ready() returns true.\n\nWhile it seems to not cause any issue, it makes more\nsense to check whether the READY flag is set and not\nthe RUNNING one.\n\nFixes: c0674b1bc898 (\"vhost: move the device ready check at proper place\")\nCc: stable@dpdk.org\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/librte_vhost/vhost_user.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c\nindex 6039a8fdb..5750dde6d 100644\n--- a/lib/librte_vhost/vhost_user.c\n+++ b/lib/librte_vhost/vhost_user.c\n@@ -2825,7 +2825,7 @@ vhost_user_msg_handler(int vid, int fd)\n \t}\n \n \n-\tif (!(dev->flags & VIRTIO_DEV_RUNNING) && virtio_is_ready(dev)) {\n+\tif (!(dev->flags & VIRTIO_DEV_READY) && virtio_is_ready(dev)) {\n \t\tdev->flags |= VIRTIO_DEV_READY;\n \n \t\tif (!(dev->flags & VIRTIO_DEV_RUNNING)) {\n", "prefixes": [ "v3", "1/8" ] }{ "id": 73227, "url": "