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 6D4E4428F8 for ; Sun, 9 Apr 2023 17:36:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 67A9C4067E; Sun, 9 Apr 2023 17:36:43 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2043.outbound.protection.outlook.com [40.107.102.43]) by mails.dpdk.org (Postfix) with ESMTP id 032B141149 for ; Sun, 9 Apr 2023 17:36:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TjdpM2QsLq1kPFp0I0MwpVNpNhROEaFYPaADyfAXO/tAiYT/bFT7LJaRe/azsQ7/++k7q5oNZR6fGF4EV7hgZwZDQ6W8umzhKmbpxk83j99rEhlkr9wBZ87ulv2KNd6KjsSI9JukM0dUWQJAoa22sUUMts4/wvr+fn9e3PnHU5Srcv5sVs1AybR2ci5LBJt1l7vi8DAp5LbGn7IuK0JZSFVKj9QkKFxKToUi9NEsdsz4Gldf243+H5NgYVbAc/hE6aAhTwM8JOCzWc3PXZ+xyzbSj8+/R2zlq4O5YVx+xNyd74GnZogYjYKml95I2sXKYdRD7Up3LZKJyXkUbnjftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Cvl3V9al5QuoSpRjtxOuoZOciBIRiPRp4T7kwFGvxLU=; b=dAW7tYqc7w9jHLiLw2v9NO6KA9PZvTItg0vo1WpaGjiqzc5KEd2AJSKGVpzBeeUGAwdTf/LY07zl8pyKBnYFAGDVzKHpZ4VzsKGrgXoy1VsGz7DZH0Jg979fGYUrAX6+/ubn1bWqKHPYxrfeYEheJMll0ZLeeN15wT8qWXnxkueLyRhiQld3SHopGxMuuZbquZ3G8ZOu7C6dOcAmOUCeRTqvARuCZo+oMSWqaiof/yt0Ubugsg74B9NHD0P1pvnrrbzmscnspaIHS78oJQ196+7lUlYH+qtEPyJUxzQYz9OXG0Q4bjtUpR2J63r0GsfYbEcPG1OWFfmLeKbyAG/jzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cvl3V9al5QuoSpRjtxOuoZOciBIRiPRp4T7kwFGvxLU=; b=WR9H7vNv7i2vioO2uWvpg3JvCqyskTH1d7NukoRZI03CZzNLiUUz+9DspPCI8DkPcukwOvVnrDh6Lr0Rzap9xLgOh+bmwZ06YdafGEzQv/b0Jtu3Kv9L2umQgT0X03kWm7Nb8BEdoP+pA9KmmZ3fk1qjYAxUCH9Z8cotbQNzCFujLPlA56fv7gAhKwH3930TIvSV2JIY8qmmunLUQalFBf6aiy+1ez9SH7KwE/z4aDrBd6tWUNa3jzvzJO7LNXe331zxybnk6UZ/OY6A8mlEKR/EZRGCvGrjN3hyVFMUIoVbvxjUbS7Wuw/FEGksXpI3/tT6j5SsE4jEfAJbrkHaSw== Received: from BN0PR04CA0013.namprd04.prod.outlook.com (2603:10b6:408:ee::18) by BN9PR12MB5353.namprd12.prod.outlook.com (2603:10b6:408:102::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.34; Sun, 9 Apr 2023 15:36:38 +0000 Received: from BN8NAM11FT042.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ee:cafe::af) by BN0PR04CA0013.outlook.office365.com (2603:10b6:408:ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35 via Frontend Transport; Sun, 9 Apr 2023 15:36:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BN8NAM11FT042.mail.protection.outlook.com (10.13.177.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.25 via Frontend Transport; Sun, 9 Apr 2023 15:36:38 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 9 Apr 2023 08:36:28 -0700 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 9 Apr 2023 08:36:26 -0700 From: Xueming Li To: Wei Huang CC: Rosen Xu , dpdk stable Subject: patch 'net/ipn3ke: fix thread exit' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:25:13 +0800 Message-ID: <20230409152529.5308-126-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409152529.5308-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409152529.5308-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT042:EE_|BN9PR12MB5353:EE_ X-MS-Office365-Filtering-Correlation-Id: 75400df1-3301-4120-e911-08db391035a9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Le3Px5pCoR2n+c3fmI5FSHZGiUfm429DnHDMAoyIXKrqcC4IKKmZyrdN8pAm00xwh+mb4m+wlBrgmrUwUM7PEqS2+R1SfLlyGDvo8sZAKm3Rrt0H5acXYEIykmF6D9b8PVNzeDRh6OyAS/TlmdF3wX5Aii9FiPiKZIxjNJSK+rImOBKvAQ3N1x2stpyfMR4BonfCWYUCU5yeez2mo+m3Mrd49z135Thjs5AE3FYFcpVmwHyTBrPz/8Qc5GSBsV74qDqvMm11J2481VG4QJoJggEDTZuQaV0Gc99EZ9xIQXeeJitrKFsmmgGfjqMqviryzYRfEhRp6jHA89Pmm6zB3bw8NrrSnOk+4ry6HoNwuI6f3ksZzUTK1Q7RRdvgOz1Pn7hl7tbsBc0zjvNKhop7r5Yk9ypNH58mF6YQJjDe5iLXz5BXxtXNymh2aqlJ2/YRHBndRlLUaXsvZIo4y2vihmqzVsRrC6Ayl/W2joXU3CpQSVCChiDwilGbgdbDGrjxBoLbPu3Uq3c7wli78MrsFiQGP3jYval5V1sebmjPL9lkT6Ls9cM0VGZhGu+SPee31Hvq86Mlo7ctK5fk96wJFjUbA/4b3JcY1QWsTeJsLNT5UXiVpUIOtSI4QgtkA23aPaWSCyTmt6GldWqBpgujuWE6BDzZ5pj5tEqwtNKa/3yUIyd320hzsPkW1iaH05QhXliLEU5mlQv4AbIk3bCkfHOlJxDcisAc3ZwhsGBwoYkJe1bPKslCrXJIOek7JHPIInWUSeD45+BMvdpG0W7TZCfeT/ipYM/sU98lCh674ecsQRKuKYRCWHHiwJLEt23WoUVKqkkxt3kq20gHyIDNYg== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(136003)(39860400002)(396003)(376002)(346002)(451199021)(46966006)(40470700004)(36840700001)(86362001)(36756003)(40460700003)(40480700001)(55016003)(6286002)(16526019)(1076003)(26005)(186003)(53546011)(47076005)(6666004)(2906002)(83380400001)(336012)(426003)(2616005)(478600001)(6916009)(4326008)(8676002)(70206006)(316002)(70586007)(54906003)(5660300002)(7696005)(966005)(41300700001)(8936002)(82310400005)(36860700001)(82740400003)(356005)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:36:38.3613 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75400df1-3301-4120-e911-08db391035a9 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT042.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5353 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 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/11/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/abe24f4bd04e990c6f422b4bab8a3b178fa2fb26 Thanks. Xueming Li --- >From abe24f4bd04e990c6f422b4bab8a3b178fa2fb26 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Thu, 16 Mar 2023 16:45:06 -0400 Subject: [PATCH] net/ipn3ke: fix thread exit Cc: Xueming Li [ upstream commit d8f8e928a7ba23283300b1b80259d0c102348005 ] Thread does not exit after driver is removed. When there is no more representor exist, the variable 'num' will be 0 and thread can exit safely at this time. Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor") Signed-off-by: Wei Huang Acked-by: Rosen Xu --- drivers/net/ipn3ke/ipn3ke_representor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipn3ke/ipn3ke_representor.c b/drivers/net/ipn3ke/ipn3ke_representor.c index 2ef96a984a..e50fc73f43 100644 --- a/drivers/net/ipn3ke/ipn3ke_representor.c +++ b/drivers/net/ipn3ke/ipn3ke_representor.c @@ -2579,7 +2579,7 @@ ipn3ke_rpst_scan_handle_request(__rte_unused void *param) } rte_delay_us(50 * MS); - if (num == 0xffffff) + if (num == 0 || num == 0xffffff) return NULL; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:41.968606400 +0800 +++ 0125-net-ipn3ke-fix-thread-exit.patch 2023-04-09 21:45:38.799042200 +0800 @@ -1 +1 @@ -From d8f8e928a7ba23283300b1b80259d0c102348005 Mon Sep 17 00:00:00 2001 +From abe24f4bd04e990c6f422b4bab8a3b178fa2fb26 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d8f8e928a7ba23283300b1b80259d0c102348005 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org