Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74033/?format=api
http://patches.dpdk.org/api/patches/74033/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/2dc88362a7dc347547eb24e5d0570db11a59598e.1594780487.git.wangyunjian@huawei.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": "<2dc88362a7dc347547eb24e5d0570db11a59598e.1594780487.git.wangyunjian@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/2dc88362a7dc347547eb24e5d0570db11a59598e.1594780487.git.wangyunjian@huawei.com", "date": "2020-07-15T02:40:10", "name": "[1/1] eal/linux: fix event set error for rte_epoll_event", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "510c6e037732d0f06c35c0b3fc41996f61b3df75", "submitter": { "id": 551, "url": "http://patches.dpdk.org/api/people/551/?format=api", "name": "Yunjian Wang", "email": "wangyunjian@huawei.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/2dc88362a7dc347547eb24e5d0570db11a59598e.1594780487.git.wangyunjian@huawei.com/mbox/", "series": [ { "id": 11030, "url": "http://patches.dpdk.org/api/series/11030/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11030", "date": "2020-07-15T02:40:10", "name": "[1/1] eal/linux: fix event set error for rte_epoll_event", "version": 1, "mbox": "http://patches.dpdk.org/series/11030/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/74033/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/74033/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 E407FA0540;\n\tWed, 15 Jul 2020 04:48:16 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A15F01C19E;\n\tWed, 15 Jul 2020 04:48:15 +0200 (CEST)", "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n by dpdk.org (Postfix) with ESMTP id 3F44B1C132;\n Wed, 15 Jul 2020 04:48:14 +0200 (CEST)", "from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59])\n by Forcepoint Email with ESMTP id 5901477E092FE2A57FEE;\n Wed, 15 Jul 2020 10:48:12 +0800 (CST)", "from localhost (10.174.185.168) by DGGEMS401-HUB.china.huawei.com\n (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Jul 2020\n 10:48:01 +0800" ], "From": "wangyunjian <wangyunjian@huawei.com>", "To": "<dev@dpdk.org>, <hkalra@marvell.com>", "CC": "<jerry.lilijun@huawei.com>, <xudingke@huawei.com>, Yunjian Wang\n <wangyunjian@huawei.com>, <stable@dpdk.org>", "Date": "Wed, 15 Jul 2020 10:40:10 +0800", "Message-ID": "\n <2dc88362a7dc347547eb24e5d0570db11a59598e.1594780487.git.wangyunjian@huawei.com>", "X-Mailer": "git-send-email 1.9.5.msysgit.1", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.174.185.168]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH 1/1] eal/linux: fix event set error for\n\trte_epoll_event", "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: Yunjian Wang <wangyunjian@huawei.com>\n\nThe \"rev->epdata.event\" assigned to \"events.epdata.event\" directly, which\nwas wrong in case of epoll events. It should be set to the \"evs.events\".\n\nFixes: 9efe9c6cdcac (\"eal/linux: add epoll wrappers\")\nCc: stable@dpdk.org\n\nSigned-off-by: Yunjian Wang <wangyunjian@huawei.com>\n---\n lib/librte_eal/linux/eal_interrupts.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/librte_eal/linux/eal_interrupts.c b/lib/librte_eal/linux/eal_interrupts.c\nindex 13db5c4e8..8a3c95cec 100644\n--- a/lib/librte_eal/linux/eal_interrupts.c\n+++ b/lib/librte_eal/linux/eal_interrupts.c\n@@ -1237,7 +1237,7 @@ eal_epoll_process_event(struct epoll_event *evs, unsigned int n,\n \t\tevents[count].status = RTE_EPOLL_VALID;\n \t\tevents[count].fd = rev->fd;\n \t\tevents[count].epfd = rev->epfd;\n-\t\tevents[count].epdata.event = rev->epdata.event;\n+\t\tevents[count].epdata.event = evs[i].events;\n \t\tevents[count].epdata.data = rev->epdata.data;\n \t\tif (rev->epdata.cb_fun)\n \t\t\trev->epdata.cb_fun(rev->fd,\n", "prefixes": [ "1/1" ] }{ "id": 74033, "url": "