Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/124435/?format=api
http://patchwork.dpdk.org/api/patches/124435/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230223023032.681-1-cheng1.jiang@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": "<20230223023032.681-1-cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230223023032.681-1-cheng1.jiang@intel.com", "date": "2023-02-23T02:30:32", "name": "vhost: fix slot index in async split virtqueue Tx", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "bb39d816bea83db09d7557349b5fff2412a21671", "submitter": { "id": 1530, "url": "http://patchwork.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@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/20230223023032.681-1-cheng1.jiang@intel.com/mbox/", "series": [ { "id": 27150, "url": "http://patchwork.dpdk.org/api/series/27150/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=27150", "date": "2023-02-23T02:30:32", "name": "vhost: fix slot index in async split virtqueue Tx", "version": 1, "mbox": "http://patchwork.dpdk.org/series/27150/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/124435/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/124435/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 DF01941D3E;\n\tThu, 23 Feb 2023 04:25:00 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A4C4E431E2;\n\tThu, 23 Feb 2023 04:25:00 +0100 (CET)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 6E33E40DF6;\n Thu, 23 Feb 2023 04:24:58 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Feb 2023 19:24:57 -0800", "from dpdk_jiangcheng.sh.intel.com ([10.67.118.237])\n by fmsmga002.fm.intel.com with ESMTP; 22 Feb 2023 19:24:53 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1677122698; x=1708658698;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=oxDQe17+gIwCgAEFEqKDS1BJLN6wf37zwwEpTcHYKhs=;\n b=NJ71XIWAiG/vwKorHg1RPvGlKpNwAkG5w8b3uzPIXHkE/7HmmWTzPmX2\n ZxvRhwfTkfuMM7hk4Q3UXcryddeof6U4+TS0YckxH3xWlaD4VDX75Os+J\n 5N/4hZa0EtkpV+OH1VMXHaFzDa1BmpQyph3nIJuHChgrOzGz889KDYPWP\n IZHM1uEqpal6WTonH/EWkUoTiEGf9bmH1zirstSUJMtY76CZEbLmo+tLN\n OvjXxp1FO08DJByrypjHiUOunZbhYb2RRT97aISOCaLbV0PEc5RthvR72\n gHenl5+N5L/KpZJL6VvqkkeD+Y9/vn+44OCKvzZLjr3GnIG/wxQ9mO9pV w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10629\"; a=\"316832538\"", "E=Sophos;i=\"5.97,320,1669104000\"; d=\"scan'208\";a=\"316832538\"", "E=McAfee;i=\"6500,9779,10629\"; a=\"781715163\"", "E=Sophos;i=\"5.97,320,1669104000\"; d=\"scan'208\";a=\"781715163\"" ], "X-ExtLoop1": "1", "From": "Cheng Jiang <cheng1.jiang@intel.com>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, wangzhihong.wzh@bytedance.com, jiayu.hu@intel.com,\n xuan.ding@intel.com, wenwux.ma@intel.com, yuanx.wang@intel.com,\n xingguang.he@intel.com, Cheng Jiang <cheng1.jiang@intel.com>,\n stable@dpdk.org", "Subject": "[PATCH] vhost: fix slot index in async split virtqueue Tx", "Date": "Thu, 23 Feb 2023 02:30:32 +0000", "Message-Id": "<20230223023032.681-1-cheng1.jiang@intel.com>", "X-Mailer": "git-send-email 2.35.1", "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": "The slot_idx in the asynchronous Vhost split virtqueue dequeue data path\nis supposed to be decreased by 1 when desc_to_mbuf() fails.\n\nFixes: 84d5204310d7 (\"vhost: support async dequeue for split ring\")\nCc: stable@dpdk.org\n\nSigned-off-by: Cheng Jiang <cheng1.jiang@intel.com>\n---\n lib/vhost/virtio_net.c | 1 +\n 1 file changed, 1 insertion(+)\n\n--\n2.35.1", "diff": "diff --git a/lib/vhost/virtio_net.c b/lib/vhost/virtio_net.c\nindex 8caf05319e..374007a61a 100644\n--- a/lib/vhost/virtio_net.c\n+++ b/lib/vhost/virtio_net.c\n@@ -3720,6 +3720,7 @@ virtio_dev_tx_async_split(struct virtio_net *dev, struct vhost_virtqueue *vq,\n \t\t\t\tallocerr_warned = true;\n \t\t\t}\n \t\t\tdropped = true;\n+\t\t\tslot_idx--;\n \t\t\tbreak;\n \t\t}\n\n", "prefixes": [] }{ "id": 124435, "url": "