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 A1B5E428F8 for ; Sun, 9 Apr 2023 17:36:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9918D41149; Sun, 9 Apr 2023 17:36:44 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2088.outbound.protection.outlook.com [40.107.223.88]) by mails.dpdk.org (Postfix) with ESMTP id F20254067E 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=B7gEFJHXNx85v2ORlMT4GGXs0MztVGkv5gA0jUK7Zxmgr0g0v6xmG1CY4B82LHGudD3yCBWitk1usQtJvkLhvg964sLyB1q9kpig0YST/fc6+hc0YBU6IziRWcb1ccQn3SDF12JXO/V+FkzVTafTkFbaV3xrk62fYIyXJoS17oeyNigD9siAYaVW5bJ2DXv6thzoWBoYiKLPSWWjxUNIGT9ht9beD8dlbIxevSQzY5EXzLtpRnVryJ7g62aPCvhYf1CCjzfGLlUNvI7Mcq2neR2O+EJWDkEhqK3DUiG5O2/i9EBBm6OsVgJMKOgEY4+SsT1kuYfLa+bbOw/8JM7V0g== 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=JrsP3KfOLAsWMgrNw0e+TtjaCN60JFvBY1/GQCq7owA=; b=JYGP6uEu5u6cv2Fmf7DhqDIfSgeSWn03TB3VfFPDv223q6oL7ndZXwh5HdpoQ/2iHKUaVySwhpqcTCgggbbds7GBgOKG7IdoiAnyCj12n33Mm6zdscpYf/ybpVgarbEJDjCxLxcnQaVo9WrgeMNVBCldxlzIhwUA5INO53ZMqsd5vfvcOFPq+KUEbPXKSNb9nUu70hJ1/4tIzDREgdRIt2HTxWL4ZuA+cPLuW+5jijRE2KYWwqnz0BR6FoGlHWRUr9PU22b3BXYaCK9q4tDPDRW0PkMabujv2ZYAT5bHSzt+8e7uu/AuJ2LfN8CA1JbLtY0Lypo9D0edKNofwDcJXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=JrsP3KfOLAsWMgrNw0e+TtjaCN60JFvBY1/GQCq7owA=; b=hujn9Di5kAFyw8Stk+smB+FADEqxXlJ6t1Zcv8LA7tGwhEn5D69sP5DF4Le7HeF3UAMuR3rHFOq6iNpqJjdo9+I4TJTd0UqY23CCuHqPzyd+ipi7flNsggghnVdTheX5yAnF85CY1CMlvNJtELl85Q1Hb5TIJc1JOuyQSaofHGsBB4PFKlNFRCQV+++ucXiQQTYIDwYPXXsEGlWKWwzH8cBi/qM8b128UNJleMqPKyEKGhCmIGhQBTjbu7pjEDaP7HvpUSWrr2k9rmbhmDLogHBSXTqebdVsD1P9AbmoTsLnzR4Ef9hVOCpyTQbYDjOaHSaZgLuiOcJwfzz6q0VsRw== Received: from MW2PR16CA0045.namprd16.prod.outlook.com (2603:10b6:907:1::22) by PH7PR12MB7188.namprd12.prod.outlook.com (2603:10b6:510:204::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35; Sun, 9 Apr 2023 15:36:41 +0000 Received: from CO1NAM11FT043.eop-nam11.prod.protection.outlook.com (2603:10b6:907:1:cafe::ef) by MW2PR16CA0045.outlook.office365.com (2603:10b6:907:1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.36 via Frontend Transport; Sun, 9 Apr 2023 15:36:40 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT043.mail.protection.outlook.com (10.13.174.193) 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:40 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) 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:29 -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:28 -0700 From: Xueming Li To: Wei Huang CC: Rosen Xu , dpdk stable Subject: patch 'net/ipn3ke: fix representor name' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:25:14 +0800 Message-ID: <20230409152529.5308-127-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: CO1NAM11FT043:EE_|PH7PR12MB7188:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ba65f19-2946-49a1-48a3-08db391036fc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /cNhRI2MbR/YkMX7GXVglJz3e+2WLMJIevZ5Kvd9y6VVN8SwoUs4Su8N7tAen8kKnTyPw9+mJsqKOl0zjg0wFwtWA/sAlZLg5kNsz+49S7icSxGCfkCiwX6DoeNtIPLfBovwHGpgtmWJYL2TxzngMvkCI9cEGd6xatiGZJ/I/MGzHbrGmAJBLf5Vx+NbDPBBVTo++VqP0ErDylR1VZhtmOsQB7ATHkr10SFkmNhOYGDYP0CPSnYRa7SFw2+dturwd4UkvMJszf4ZpQ0JdVQczUFpIkOeyGnWdBYlwnEH638bqDnMSFNshGKjWQ9n5dxBN8vYozFhqe5zl3R4NaggZfoVzWemKhStlX30PARfR3xbAf/26KVX7lfY3OBGmV/40UJUkUByiuqnvo1YYNF1E89EXjlwhwHwDXQE4YHzU8c9ilIS0Gaic0JfnfJAOorS8gICRfug7+xZ8+UH0JRwBwwJF5OeAxT7Ss4D2wJ64tO9TmNylNcLHK/RYOH1Tk/ht2ZG7rO5GyVm+YAG6mIHZkoeWhYFM/1K6Ru68CjFW2QAvrBpZPj0bNUQ8osG0Ml4W7BZQYJhPVQnBU/HZ8eouEE2J0XEAPCc3MHU5ch9b1zLEC/e+n5V5aEcJhWOHhnAVCfYhYTxpFAsVKGXTQ3R/KpPlVm3EE0PDsFUkJHdGL+z4fPiGSJMISRY6EVcqurQhv4lbwLVFIWPA7VMrj19lpU0UoSFZh8vL1NnC6q8BLyx76LI5azv/d8vT6h9vPkiI+LRJS5FYVMHSAvo3LLp17mBNDj2OWKvyXF9hKBYii6+DfGxA2/sXrGVXXvXJj0y5n1w/X7DCtkPo/1nUy/0kg== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(136003)(346002)(396003)(376002)(451199021)(36840700001)(40470700004)(46966006)(7696005)(478600001)(86362001)(55016003)(40480700001)(83380400001)(47076005)(36756003)(40460700003)(82740400003)(7636003)(356005)(2616005)(36860700001)(426003)(336012)(6666004)(966005)(2906002)(54906003)(316002)(16526019)(6286002)(186003)(1076003)(53546011)(26005)(8676002)(6916009)(41300700001)(8936002)(5660300002)(82310400005)(4326008)(70586007)(70206006); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:36:40.6883 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ba65f19-2946-49a1-48a3-08db391036fc 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT043.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7188 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/782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c Thanks. Xueming Li --- >From 782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Thu, 16 Mar 2023 16:44:56 -0400 Subject: [PATCH] net/ipn3ke: fix representor name Cc: Xueming Li [ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ] The device name used in rte_eth_dev_allocated() function is afu device name instead of representor name, this patch correct it. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Signed-off-by: Wei Huang Acked-by: Rosen Xu --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.c b/drivers/net/ipn3ke/ipn3ke_ethdev.c index 70a06a3b15..2c15611a23 100644 --- a/drivers/net/ipn3ke/ipn3ke_ethdev.c +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.c @@ -558,7 +558,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev) snprintf(name, sizeof(name), "net_%s_representor_%d", afu_dev->device.name, i); - ethdev = rte_eth_dev_allocated(afu_dev->device.name); + ethdev = rte_eth_dev_allocated(name); if (ethdev != NULL) rte_eth_dev_destroy(ethdev, ipn3ke_rpst_uninit); } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:41.994103100 +0800 +++ 0126-net-ipn3ke-fix-representor-name.patch 2023-04-09 21:45:38.799042200 +0800 @@ -1 +1 @@ -From f66141886fec510764d7be89a2787e8931a00b77 Mon Sep 17 00:00:00 2001 +From 782eda8807d9b0d9dfa7d22629ad3cb0b637cd4c Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org