Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/38681/?format=api
http://patches.dpdk.org/api/patches/38681/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180423174821.18066-1-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": "<20180423174821.18066-1-xiao.w.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180423174821.18066-1-xiao.w.wang@intel.com", "date": "2018-04-23T17:48:21", "name": "[dpdk-dev] net/ifcvf: fix last used idx read", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7c945811d44c5fb4202700950469e2e91ec4c4f7", "submitter": { "id": 281, "url": "http://patches.dpdk.org/api/people/281/?format=api", "name": "Xiao Wang", "email": "xiao.w.wang@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180423174821.18066-1-xiao.w.wang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/38681/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/38681/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1603E2583;\n\tMon, 23 Apr 2018 11:18:10 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id ABD5C1DB9\n\tfor <dev@dpdk.org>; Mon, 23 Apr 2018 11:18:07 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t23 Apr 2018 02:18:05 -0700", "from dpdk-xiao-1.sh.intel.com ([10.67.111.90])\n\tby orsmga005.jf.intel.com with ESMTP; 23 Apr 2018 02:18:03 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.49,317,1520924400\"; d=\"scan'208\";a=\"218639988\"", "From": "Xiao Wang <xiao.w.wang@intel.com>", "To": "ferruh.yigit@intel.com", "Cc": "dev@dpdk.org,\n\tXiao Wang <xiao.w.wang@intel.com>", "Date": "Tue, 24 Apr 2018 01:48:21 +0800", "Message-Id": "<20180423174821.18066-1-xiao.w.wang@intel.com>", "X-Mailer": "git-send-email 2.15.1", "Subject": "[dpdk-dev] [PATCH] net/ifcvf: fix last used idx read", "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://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": "<https://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": "Fixes: 7b0c17368af2 (\"net/ifcvf: add ifcvf vdpa driver\")\n\nSigned-off-by: Xiao Wang <xiao.w.wang@intel.com>\n---\n drivers/net/ifc/base/ifcvf.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ifc/base/ifcvf.c b/drivers/net/ifc/base/ifcvf.c\nindex d312ad99f..bbeed30e8 100644\n--- a/drivers/net/ifc/base/ifcvf.c\n+++ b/drivers/net/ifc/base/ifcvf.c\n@@ -250,7 +250,7 @@ ifcvf_hw_disable(struct ifcvf_hw *hw)\n \t\tring_state = *(u32 *)(hw->lm_cfg + IFCVF_LM_RING_STATE_OFFSET +\n \t\t\t\t(i / 2) * IFCVF_LM_CFG_SIZE + (i % 2) * 4);\n \t\thw->vring[i].last_avail_idx = (u16)ring_state;\n-\t\thw->vring[i].last_used_idx = (u16)ring_state >> 16;\n+\t\thw->vring[i].last_used_idx = (u16)(ring_state >> 16);\n \t}\n }\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 38681, "url": "