Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/23445/?format=api
http://patches.dpdk.org/api/patches/23445/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1491907468-68207-1-git-send-email-xiao.w.wang@intel.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": "<1491907468-68207-1-git-send-email-xiao.w.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1491907468-68207-1-git-send-email-xiao.w.wang@intel.com", "date": "2017-04-11T10:44:28", "name": "[dpdk-dev] net/virtio: fix queue notify", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7344c713af411f8ed4fb12bfc3dae0fffadf98ed", "submitter": { "id": 281, "url": "http://patches.dpdk.org/api/people/281/?format=api", "name": "Xiao Wang", "email": "xiao.w.wang@intel.com" }, "delegate": { "id": 355, "url": "http://patches.dpdk.org/api/users/355/?format=api", "username": "yliu", "first_name": "Yuanhan", "last_name": "Liu", "email": "yuanhan.liu@linux.intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1491907468-68207-1-git-send-email-xiao.w.wang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/23445/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/23445/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id E94325689;\n\tTue, 11 Apr 2017 03:55:01 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 39A2C2BD1;\n\tTue, 11 Apr 2017 03:54:59 +0200 (CEST)", "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga105.jf.intel.com with ESMTP; 10 Apr 2017 18:54:58 -0700", "from dpdk-wangxiao.sh.intel.com ([10.239.129.106])\n\tby orsmga004.jf.intel.com with ESMTP; 10 Apr 2017 18:54:57 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.37,184,1488873600\"; d=\"scan'208\";a=\"75990624\"", "From": "Xiao Wang <xiao.w.wang@intel.com>", "To": "yuanhan.liu@linux.intel.com", "Cc": "dev@dpdk.org,\n\tXiao Wang <xiao.w.wang@intel.com>,\n\tstable@dpdk.org", "Date": "Tue, 11 Apr 2017 03:44:28 -0700", "Message-Id": "<1491907468-68207-1-git-send-email-xiao.w.wang@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dpdk-dev] [PATCH] net/virtio: fix queue notify", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "According to spec, we should write virtqueue index into the notify\naddress, rather than 1. Besides, some HW backend may rely on the data\nwritten to identify which queue need to serve.\n\nFixes: 6ba1f63b5ab0 (\"virtio: support specification 1.0\")\nCc: stable@dpdk.org\n\nSigned-off-by: Xiao Wang <xiao.w.wang@intel.com>\n---\n drivers/net/virtio/virtio_pci.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/virtio/virtio_pci.c b/drivers/net/virtio/virtio_pci.c\nindex ce9a9d3..b767c03 100644\n--- a/drivers/net/virtio/virtio_pci.c\n+++ b/drivers/net/virtio/virtio_pci.c\n@@ -504,7 +504,7 @@\n static void\n modern_notify_queue(struct virtio_hw *hw __rte_unused, struct virtqueue *vq)\n {\n-\trte_write16(1, vq->notify_addr);\n+\trte_write16(vq->vq_queue_index, vq->notify_addr);\n }\n \n const struct virtio_pci_ops modern_ops = {\n", "prefixes": [ "dpdk-dev" ] }{ "id": 23445, "url": "