Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/105560/?format=api
https://patches.dpdk.org/api/patches/105560/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220103100129.23965-5-nipun.gupta@nxp.com/", "project": { "id": 1, "url": "https://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": "<20220103100129.23965-5-nipun.gupta@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220103100129.23965-5-nipun.gupta@nxp.com", "date": "2022-01-03T10:01:18", "name": "[v3,04/15] net/dpaa2: fix unregistering interrupt handler", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "7643022f42fccd190e880aa09dee36d38a0bd567", "submitter": { "id": 471, "url": "https://patches.dpdk.org/api/people/471/?format=api", "name": "Nipun Gupta", "email": "nipun.gupta@nxp.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220103100129.23965-5-nipun.gupta@nxp.com/mbox/", "series": [ { "id": 21049, "url": "https://patches.dpdk.org/api/series/21049/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21049", "date": "2022-01-03T10:01:14", "name": "features and fixes on NXP eth devices", "version": 3, "mbox": "https://patches.dpdk.org/series/21049/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/105560/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/105560/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 3A65DA0350;\n\tMon, 3 Jan 2022 11:01:56 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 652D241156;\n\tMon, 3 Jan 2022 11:01:38 +0100 (CET)", "from inva020.nxp.com (inva020.nxp.com [92.121.34.13])\n by mails.dpdk.org (Postfix) with ESMTP id 7CDDA40042;\n Mon, 3 Jan 2022 11:01:34 +0100 (CET)", "from inva020.nxp.com (localhost [127.0.0.1])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 56BDD1A0933;\n Mon, 3 Jan 2022 11:01:34 +0100 (CET)", "from aprdc01srsp001v.ap-rdc01.nxp.com\n (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2A80A1A0926;\n Mon, 3 Jan 2022 11:01:34 +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 74976183AD07;\n Mon, 3 Jan 2022 18:01:33 +0800 (+08)" ], "From": "nipun.gupta@nxp.com", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com,\n stephen@networkplumber.org, stable@dpdk.org,\n Vanshika Shukla <vanshika.shukla@nxp.com>", "Subject": "[PATCH v3 04/15] net/dpaa2: fix unregistering interrupt handler", "Date": "Mon, 3 Jan 2022 15:31:18 +0530", "Message-Id": "<20220103100129.23965-5-nipun.gupta@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20220103100129.23965-1-nipun.gupta@nxp.com>", "References": "<20211206121824.3493-1-nipun.gupta@nxp.com>\n <20220103100129.23965-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": [ "v3", "04/15" ] }{ "id": 105560, "url": "