Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/104930/?format=api
http://patches.dpdk.org/api/patches/104930/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211206121824.3493-5-nipun.gupta@nxp.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": "<20211206121824.3493-5-nipun.gupta@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211206121824.3493-5-nipun.gupta@nxp.com", "date": "2021-12-06T12:18:11", "name": "[04/17] net/dpaa2: fix unregistering interrupt handler", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "7643022f42fccd190e880aa09dee36d38a0bd567", "submitter": { "id": 471, "url": "http://patches.dpdk.org/api/people/471/?format=api", "name": "Nipun Gupta", "email": "nipun.gupta@nxp.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/20211206121824.3493-5-nipun.gupta@nxp.com/mbox/", "series": [ { "id": 20873, "url": "http://patches.dpdk.org/api/series/20873/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20873", "date": "2021-12-06T12:18:07", "name": "features and fixes on NXP eth devices", "version": 1, "mbox": "http://patches.dpdk.org/series/20873/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/104930/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/104930/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 0795EA034F;\n\tMon, 6 Dec 2021 13:18:54 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 49CD7426F6;\n\tMon, 6 Dec 2021 13:18:34 +0100 (CET)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by mails.dpdk.org (Postfix) with ESMTP id 198B341174;\n Mon, 6 Dec 2021 13:18:29 +0100 (CET)", "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F008F201AD7;\n Mon, 6 Dec 2021 13:18:28 +0100 (CET)", "from aprdc01srsp001v.ap-rdc01.nxp.com\n (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B7B53201295;\n Mon, 6 Dec 2021 13:18:28 +0100 (CET)", "from lsv03274.swis.in-blr01.nxp.com (lsv03274.swis.in-blr01.nxp.com\n [92.120.147.114])\n by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B194D183AD6D;\n Mon, 6 Dec 2021 20:18:27 +0800 (+08)" ], "From": "nipun.gupta@nxp.com", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com,\n stable@dpdk.org, Vanshika Shukla <vanshika.shukla@nxp.com>", "Subject": "[PATCH 04/17] net/dpaa2: fix unregistering interrupt handler", "Date": "Mon, 6 Dec 2021 17:48:11 +0530", "Message-Id": "<20211206121824.3493-5-nipun.gupta@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20211206121824.3493-1-nipun.gupta@nxp.com>", "References": "<20211206121824.3493-1-nipun.gupta@nxp.com>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "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": "From: Vanshika Shukla <vanshika.shukla@nxp.com>\n\nThis patch fixes code that handles unregistering LSC\ninterrupt handler in dpaa2_dev_stop API.\n\nFixes: c5acbb5ea20e (\"net/dpaa2: support link status event\")\nCc: stable@dpdk.org\n\nSigned-off-by: Vanshika Shukla <vanshika.shukla@nxp.com>\n---\n drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c\nindex f5cac8f9d9..18ff07249f 100644\n--- a/drivers/net/dpaa2/dpaa2_ethdev.c\n+++ b/drivers/net/dpaa2/dpaa2_ethdev.c\n@@ -1265,7 +1265,12 @@ dpaa2_dev_stop(struct rte_eth_dev *dev)\n \tstruct fsl_mc_io *dpni = (struct fsl_mc_io *)dev->process_private;\n \tint ret;\n \tstruct rte_eth_link link;\n-\tstruct rte_intr_handle *intr_handle = dev->intr_handle;\n+\tstruct rte_device *rdev = dev->device;\n+\tstruct rte_intr_handle *intr_handle;\n+\tstruct rte_dpaa2_device *dpaa2_dev;\n+\n+\tdpaa2_dev = container_of(rdev, struct rte_dpaa2_device, device);\n+\tintr_handle = dpaa2_dev->intr_handle;\n \n \tPMD_INIT_FUNC_TRACE();\n \n", "prefixes": [ "04/17" ] }{ "id": 104930, "url": "