From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A592A0032 for ; Fri, 18 Feb 2022 13:41:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5601341143; Fri, 18 Feb 2022 13:41:49 +0100 (CET) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mails.dpdk.org (Postfix) with ESMTP id 291DE40141 for ; Fri, 18 Feb 2022 13:41:48 +0100 (CET) Received: by mail-wm1-f41.google.com with SMTP id c192so5158394wma.4 for ; Fri, 18 Feb 2022 04:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kg+4Zxwm2tG9hEWK3bMKQl33H/U3yYsYdlfE37bi7Hs=; b=SMyXJweWnSIOKus8yuy2u1P/daqhoc5u48mPfPL6/9GSm8dIzOT6BT05TCTKCrntWR F8C9pOwspxQB+7Fz369uz+1JlO749USsY5uPOmQ09Be/L7zP7F9ICKvhcC/5p0D1LDWA KtRPimKHXzlGcoOZRxs8+hfS+RslsXgfNMAixa28K8KHXGv8EN12qQURKjQKcDN8kigA J/51DObxiglcv/QPhbwv01NpXhEuDDlnr0bwmFEhSJsVX29MKvRreumOtfDIzAiykeUi XoikuL3uNDiLa7FSpFZcaQjsnLr/IXkjlkvLaehbt5dh6ui2o0eecmqxM/a/hMn9M/kR i+9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kg+4Zxwm2tG9hEWK3bMKQl33H/U3yYsYdlfE37bi7Hs=; b=f6o8VwQJMvAcUrXPUZCybuOpYlGXg7XQSbjGw/laZp5aP06szhPN6MNS6ufPjSVhG4 EfRxrlMnfwEgUeDuJXV7zAQD9hWxTD9ZoyAHnOCH/6tb1yhGw6btjy5XYWLp1r4TtXfn lqrEwfretCcI3Jph+lH1YXrPLxZwgzAeGjA07I3p6FrUe9lLnwO3v4PT1YA7Jeyr0Ban TOJXlIce1w5JtqcsCnAsJ1jd2tG5JQen5J5VDHh07OMgUn2WmxeoaVDmItBiuIYsUGUL n4NftucvnJkGL1GkBB/WSGDhX1/7d9OZr1lHlsUr8ipfN2ssmaS6xpUvrqe6RLewKd1u C2TQ== X-Gm-Message-State: AOAM530Z8FH9fIz8HTs6HLY3BKZgpLCeKclym52prc+kWhl1yg4nUDtD aOQyjkqcen/2Te7nc6+1atw= X-Google-Smtp-Source: ABdhPJxxuDKfGkOdSM7OUdnreGYLMY64teayKXqI6BuWQyvpn9H2K/MWg7KHCW37JW61DTbHRmObnA== X-Received: by 2002:a05:600c:224a:b0:37b:b620:77cf with SMTP id a10-20020a05600c224a00b0037bb62077cfmr10382531wmm.5.1645188107873; Fri, 18 Feb 2022 04:41:47 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id f25sm3970112wml.16.2022.02.18.04.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:41:47 -0800 (PST) From: luca.boccassi@gmail.com To: Vanshika Shukla Cc: Hemant Agrawal , dpdk stable Subject: patch 'net/dpaa2: fix unregistering interrupt handler' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:38:12 +0000 Message-Id: <20220218123931.1749595-43-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/bab9d520cbd7eb962be10cd22a042c59c3e37afd Thanks. Luca Boccassi --- >From bab9d520cbd7eb962be10cd22a042c59c3e37afd Mon Sep 17 00:00:00 2001 From: Vanshika Shukla Date: Mon, 3 Jan 2022 15:31:18 +0530 Subject: [PATCH] net/dpaa2: fix unregistering interrupt handler [ upstream commit d192fd321c5eeaba77ef7aab179c447d151ac9cb ] This patch fixes code that handles unregistering LSC interrupt handler in dpaa2_dev_stop API. Fixes: c5acbb5ea20e ("net/dpaa2: support link status event") Signed-off-by: Vanshika Shukla Acked-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index e98d79db77..2b43cfce4e 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1213,7 +1213,12 @@ dpaa2_dev_stop(struct rte_eth_dev *dev) struct fsl_mc_io *dpni = (struct fsl_mc_io *)dev->process_private; int ret; struct rte_eth_link link; - struct rte_intr_handle *intr_handle = dev->intr_handle; + struct rte_device *rdev = dev->device; + struct rte_intr_handle *intr_handle; + struct rte_dpaa2_device *dpaa2_dev; + + dpaa2_dev = container_of(rdev, struct rte_dpaa2_device, device); + intr_handle = &dpaa2_dev->intr_handle; PMD_INIT_FUNC_TRACE(); -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:39.747034986 +0000 +++ 0043-net-dpaa2-fix-unregistering-interrupt-handler.patch 2022-02-18 12:37:37.654791116 +0000 @@ -1 +1 @@ -From d192fd321c5eeaba77ef7aab179c447d151ac9cb Mon Sep 17 00:00:00 2001 +From bab9d520cbd7eb962be10cd22a042c59c3e37afd Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit d192fd321c5eeaba77ef7aab179c447d151ac9cb ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 383fd57983..37a6db4f01 100644 +index e98d79db77..2b43cfce4e 100644 @@ -22 +23 @@ -@@ -1265,7 +1265,12 @@ dpaa2_dev_stop(struct rte_eth_dev *dev) +@@ -1213,7 +1213,12 @@ dpaa2_dev_stop(struct rte_eth_dev *dev) @@ -32 +33 @@ -+ intr_handle = dpaa2_dev->intr_handle; ++ intr_handle = &dpaa2_dev->intr_handle;