Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/65122/?format=api
http://patchwork.dpdk.org/api/patches/65122/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200125085216.15226-1-amorenoz@redhat.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": "<20200125085216.15226-1-amorenoz@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200125085216.15226-1-amorenoz@redhat.com", "date": "2020-01-25T08:52:16", "name": "vhost: add event areas to vq_is_ready()", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "cc4ecdaac84f81762f03b094933f7fff3aaf9ce3", "submitter": { "id": 1397, "url": "http://patchwork.dpdk.org/api/people/1397/?format=api", "name": "Adrian Moreno", "email": "amorenoz@redhat.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/20200125085216.15226-1-amorenoz@redhat.com/mbox/", "series": [ { "id": 8291, "url": "http://patchwork.dpdk.org/api/series/8291/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=8291", "date": "2020-01-25T08:52:16", "name": "vhost: add event areas to vq_is_ready()", "version": 1, "mbox": "http://patchwork.dpdk.org/series/8291/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/65122/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/65122/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 26E47A0537;\n\tSat, 25 Jan 2020 09:52:34 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D98D2316B;\n\tSat, 25 Jan 2020 09:52:32 +0100 (CET)", "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id C1B88B55\n for <dev@dpdk.org>; Sat, 25 Jan 2020 09:52:31 +0100 (CET)", "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-139-Ph-258ojMCWz_wlfy_qJzA-1; Sat, 25 Jan 2020 03:52:28 -0500", "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 267218017CC;\n Sat, 25 Jan 2020 08:52:27 +0000 (UTC)", "from amorenoz.users.ipa.redhat.com (ovpn-204-95.brq.redhat.com\n [10.40.204.95])\n by smtp.corp.redhat.com (Postfix) with ESMTP id CF5DB60BE1;\n Sat, 25 Jan 2020 08:52:21 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1579942351;\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=winBzbo5U/hZX3/VJYGREgyLjax6zDFYxzQ3y95BHAs=;\n b=JsKb6rUE/pKeW/QcPcmQ/2x1urdLNAs3SZMVmfaXT99i9NjE64bISEEhLXYYEv0QRQABpm\n kX8uCAas+qUZuHL/QWaJe6VECSOlhaxTrX1smXaDgFTypvJOB0wVjb6k3jOddh6LivP958\n h9Kxe7vZh1sxvG3O9z08MCdL0vyMFRw=", "From": "Adrian Moreno <amorenoz@redhat.com>", "To": "dev@dpdk.org", "Cc": "Zhihong Wang <zhihong.wang@intel.com>,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Tiwei Bie <tiwei.bie@intel.com>, Adrian Moreno <amorenoz@redhat.com>,\n yliu@fridaylinux.org, stable@dpdk.org", "Date": "Sat, 25 Jan 2020 09:52:16 +0100", "Message-Id": "<20200125085216.15226-1-amorenoz@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.12", "X-MC-Unique": "Ph-258ojMCWz_wlfy_qJzA-1", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=US-ASCII", "Content-Transfer-Encoding": "quoted-printable", "Subject": "[dpdk-dev] [PATCH] vhost: add event areas to vq_is_ready()", "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": "Consider a virtqueue ready when, apart from the the descriptor area,\nboth event supression areas have been mapped.\n\nFixes: 2d1541e2b6b3 (\"vhost: add vring address setup for packed queues\")\nCc: yliu@fridaylinux.org\nCc: stable@dpdk.org\n\nSigned-off-by: Adrian Moreno <amorenoz@redhat.com>\n---\n lib/librte_vhost/vhost_user.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c\nindex 69b84a882..c9cc4d648 100644\n--- a/lib/librte_vhost/vhost_user.c\n+++ b/lib/librte_vhost/vhost_user.c\n@@ -1298,7 +1298,8 @@ vq_is_ready(struct virtio_net *dev, struct vhost_virtqueue *vq)\n \t\treturn false;\n \n \tif (vq_is_packed(dev))\n-\t\trings_ok = !!vq->desc_packed;\n+\t\trings_ok = vq->desc_packed && vq->driver_event &&\n+\t\t\tvq->device_event;\n \telse\n \t\trings_ok = vq->desc && vq->avail && vq->used;\n \n", "prefixes": [] }{ "id": 65122, "url": "