Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63112/?format=api
http://patches.dpdk.org/api/patches/63112/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/b30aaa307cd37872cc1dc295591c14addc0ac84b.1574165403.git.cloud.wangxiaoyun@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": "<b30aaa307cd37872cc1dc295591c14addc0ac84b.1574165403.git.cloud.wangxiaoyun@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/b30aaa307cd37872cc1dc295591c14addc0ac84b.1574165403.git.cloud.wangxiaoyun@huawei.com", "date": "2019-11-19T12:31:34", "name": "[v6,1/1] net/hinic: fix secondary process issue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d293e4260eecd45342641d8b23387796678d2501", "submitter": { "id": 1446, "url": "http://patches.dpdk.org/api/people/1446/?format=api", "name": "Wangxiaoyun (Cloud)", "email": "cloud.wangxiaoyun@huawei.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/b30aaa307cd37872cc1dc295591c14addc0ac84b.1574165403.git.cloud.wangxiaoyun@huawei.com/mbox/", "series": [ { "id": 7520, "url": "http://patches.dpdk.org/api/series/7520/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7520", "date": "2019-11-19T12:31:33", "name": "Fix secondary process issue", "version": 6, "mbox": "http://patches.dpdk.org/series/7520/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/63112/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/63112/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 9E856A04B4;\n\tTue, 19 Nov 2019 13:14:42 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7CD152C23;\n\tTue, 19 Nov 2019 13:14:42 +0100 (CET)", "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n by dpdk.org (Postfix) with ESMTP id 6847F2BD5\n for <dev@dpdk.org>; Tue, 19 Nov 2019 13:14:40 +0100 (CET)", "from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59])\n by Forcepoint Email with ESMTP id B56A52B17A38133C1A75\n for <dev@dpdk.org>; Tue, 19 Nov 2019 20:14:38 +0800 (CST)", "from tester.localdomain (10.175.119.39) by\n DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id\n 14.3.439.0; Tue, 19 Nov 2019 20:14:29 +0800" ], "From": "Xiaoyun wang <cloud.wangxiaoyun@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <shahar.belkar@huawei.com>,\n <luoxianjun@huawei.com>, <xuanziyang2@huawei.com>, <zhouguoyang@huawei.com>,\n <wulike1@huawei.com>, <tanya.brokhman@huawei.com>, Xiaoyun wang\n <cloud.wangxiaoyun@huawei.com>", "Date": "Tue, 19 Nov 2019 20:31:34 +0800", "Message-ID": "\n <b30aaa307cd37872cc1dc295591c14addc0ac84b.1574165403.git.cloud.wangxiaoyun@huawei.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<cover.1574165403.git.cloud.wangxiaoyun@huawei.com>", "References": "<cover.1574165403.git.cloud.wangxiaoyun@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.175.119.39]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH v6 1/1] net/hinic: fix secondary process issue", "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": "The secondary process does not need to register interrupt handle,\nremove rte_intr_callback_register from secondary process branch.\n\nFixes: 06b6a81bbabf (\"net/hinic: document missing features\")\nSigned-off-by: Xiaoyun wang <cloud.wangxiaoyun@huawei.com>\n---\n drivers/net/hinic/hinic_pmd_ethdev.c | 10 +++-------\n 1 file changed, 3 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/hinic/hinic_pmd_ethdev.c b/drivers/net/hinic/hinic_pmd_ethdev.c\nindex ddfe082..803a39e 100644\n--- a/drivers/net/hinic/hinic_pmd_ethdev.c\n+++ b/drivers/net/hinic/hinic_pmd_ethdev.c\n@@ -2964,14 +2964,10 @@ static int hinic_func_init(struct rte_eth_dev *eth_dev)\n \n \t/* EAL is SECONDARY and eth_dev is already created */\n \tif (rte_eal_process_type() != RTE_PROC_PRIMARY) {\n-\t\trc = rte_intr_callback_register(&pci_dev->intr_handle,\n-\t\t\t\t\t\thinic_dev_interrupt_handler,\n-\t\t\t\t\t\t(void *)eth_dev);\n-\t\tif (rc)\n-\t\t\tPMD_DRV_LOG(ERR, \"Initialize %s failed in secondary process\",\n-\t\t\t\t eth_dev->data->name);\n+\t\tPMD_DRV_LOG(INFO, \"Initialize %s in secondary process\",\n+\t\t\t eth_dev->data->name);\n \n-\t\treturn rc;\n+\t\treturn 0;\n \t}\n \n \tnic_dev = HINIC_ETH_DEV_TO_PRIVATE_NIC_DEV(eth_dev);\n", "prefixes": [ "v6", "1/1" ] }{ "id": 63112, "url": "