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 4EAF445CE3 for ; Mon, 11 Nov 2024 07:37:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 434314067A; Mon, 11 Nov 2024 07:37:42 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2044.outbound.protection.outlook.com [40.107.100.44]) by mails.dpdk.org (Postfix) with ESMTP id 606DF40E1F for ; Mon, 11 Nov 2024 07:37:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qByu6+a0j9VK+U3zoY1vwe0c1hPzwtyC/UGpNonPpaAO32PTI9L9XKOJD5K5wFEwQs7XdNePld2VjI2JxmKwNTFDy+WOHZYtIwvbD7zocVvF/It6+Jc4R3/efjEwhAJUmzdH2OSMNYyRj7s0cteoo3A1HcaTj/Au9vs72loSX7O5x2t5jAoXR/Nb7aErn9U6Lq95PCsBMesWCAkzfL+8J6n07MKhfWRkchQED1s10V2ef9N+wR2j5zm2fiG4TJaU1vTBGMMwk4SCs7ixc4WFY1F5o/n9fv5HRc6FGVRuPiafs3z3jga5cW+y3/4dQieeevl2T9uduhgB6tkbYJ2A3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=sLmVNK4s++tkyApSNcFpeOwDQ3HuGVZ/M78l5IltOiE=; b=fpyteHj92bgXxItpdv01D4mHP4jm0Rel4IIku54ip3H0OFqHJYeVDfcTgF17EL0Ammcfy8OaeDUYncgBQWombi98j01f90v9mOoddfxMLwajLrMPR12sDMhUeD4lFtKZyu3eDLyoIciyxUbUOdMgWhPINey6s3OyqYkfsOB3zdSdggST6A3WS0j61Ve6M7lpWM7K/bG2MstkHkUEPTyPuibm2PMxvY0uIh3xgliLhyblybamsYZXkdPbPbVDGwK6RiI4f5cTofpwGtor/tY/Tcgg8sLiP/oti9fQcyNgvtg6pG0PCUNjsKyahWp8Z2tcVRyVjrqPGmxJwZQumUJMYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=huawei.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 (0) 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=sLmVNK4s++tkyApSNcFpeOwDQ3HuGVZ/M78l5IltOiE=; b=bScLKmrAAUFbMgMCRsSgHE9uM8MtkpuBM6z+XtiAtmg7rL8h98ZZqpSnHxhq3iEvZ6hy9kw6IRNSzCYd/LcoOXz5D9OUC6INQ4WiYMmVON25XATOV5gjtEw4r+GE6z5CGvMFNkidqJks05KeO7jHVLNYrKwNs8nCjIXnHs80xvU3Le0OW96m+m4O9xXT75w1KmO29aHw1jc0c+08dIouYgyRovi6F26tXX5CasZpsfTYccEAWpHbEV/bk+2pFmZso05TFzNLP6iStEeTCxZK8b/ig0cLje9tFLXTqGsosj+kK8o9XJBaEL3IC23HpIgnnoaGt8Yo9N3cvKOjq+IZ6A== Received: from BLAPR03CA0166.namprd03.prod.outlook.com (2603:10b6:208:32f::18) by MN6PR12MB8542.namprd12.prod.outlook.com (2603:10b6:208:477::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Mon, 11 Nov 2024 06:37:36 +0000 Received: from BN2PEPF000044A7.namprd04.prod.outlook.com (2603:10b6:208:32f:cafe::7f) by BLAPR03CA0166.outlook.office365.com (2603:10b6:208:32f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28 via Frontend Transport; Mon, 11 Nov 2024 06:37:36 +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 BN2PEPF000044A7.mail.protection.outlook.com (10.167.243.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.14 via Frontend Transport; Mon, 11 Nov 2024 06:37:35 +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.1544.4; Sun, 10 Nov 2024 22:37:23 -0800 Received: from nvidia.com (10.126.230.35) 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.1544.4; Sun, 10 Nov 2024 22:37:21 -0800 From: Xueming Li To: Jie Hai CC: , Huisong Li , Chengwen Feng , dpdk stable Subject: patch 'net/hns3: fix dump counter of registers' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:28:07 +0800 Message-ID: <20241111062847.216344-82-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044A7:EE_|MN6PR12MB8542:EE_ X-MS-Office365-Filtering-Correlation-Id: d73263d9-9c72-4c00-e8af-08dd021b543b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?a398KAMChPVHp3gKbmnk4Q9goWH0j2iUaG4Tldc/Pi4aOBAONuhaYm8Oh/px?= =?us-ascii?Q?RA4lDp/GbHoEG3UCYikhGHD9A23Z3CpSMaGyGgRB2QhqDWR48aYRPYHfuICi?= =?us-ascii?Q?H9FCyAYYiJMjTZa/j8p40hOf3lOuQMmSt1c1l9rZkJhOscvz5lDYBwxmHkF9?= =?us-ascii?Q?UDDwgpmrbWVYr1nv1U+kArSK2PoDODhLu6eysYn/VB8Zcj3iXpTLosLTf4YE?= =?us-ascii?Q?7ea5j9zd3xZA6+FhQzn0bKq5KG21jv7kzWhMrqFyCwkOcPeTc8o8osOVux27?= =?us-ascii?Q?h91GBOxm8DIP/AOevMI5GKUpxBCXeiMOryCnLF65gOpAwIgLbfpkVhY7es5S?= =?us-ascii?Q?14aIGWcWrLCSOS17l1mez2vA+tRI0338/oxzhTR6FBjcUNrRSxADCdHkYmHF?= =?us-ascii?Q?KW7+9xUnbU2cjLjMa0E/H1EttveR1iiLVjB/IM2QABkEQ+Vspx8iu0XCI7hn?= =?us-ascii?Q?Ez2HNYmO4PjgGh7diI2o+JEzdjUeArX7BXfK5b1jGUbIvLmAcTfaj4Qn8uJk?= =?us-ascii?Q?SYN7N5DWx5t3QOHnd7+86soWh1nMnGG0t1mSLx10QsYFvtMr556lYHuQVNqI?= =?us-ascii?Q?UevZo7jxSoF0Mo2YbrWt9RRU2Tq79Tv1abz5+CVMmmy3k8wOwoF86beyQsCJ?= =?us-ascii?Q?K9yOfDFrw0rsRRwf95iH9TYOt2cswPILbtgIAwDlo/GDqnOdEul6xo6+y01Y?= =?us-ascii?Q?Busn+rYWtvKjSa9/fcyagoD10JN3ouuw/HKQi/33OgVjR5+cfWFvgX1QUksz?= =?us-ascii?Q?kiwRApIFbCzQo530NY+OavZRMbRa6iUCLo2F10BSPOpo3Z4UxWzqTJmmONuI?= =?us-ascii?Q?3vAVQEXx6m9KeuUs4u3QS2vixawg1cXitPLiTGsyhX8PhJWrgF2f/u2a54vt?= =?us-ascii?Q?EBR75xSY94ggnvlsdb7XhaJKmGKY93jKk25rvRfcxxRQ+I2vxRiTFQbnVkTv?= =?us-ascii?Q?QC06YmuXSDa9huNVibCQ9C5gY7C5YAs99AFBrpLVsHR8Fk5HVA6KmklZ52ku?= =?us-ascii?Q?nOLT5xy0lp7tAXtUvAA0h23C6toEFtcnbv1nC3J1YKeKOfayP9O1OEPPRwrF?= =?us-ascii?Q?+IxtdIqAW/m7jbiCcXAPXWNKlI+HsHSX0yPm0EhhCOc9GBfwJpXAIe6Dplke?= =?us-ascii?Q?qY9cCXO30NUArH2M0al0oQHq6iY5yqmAa1AN2s8wzfEc3UCFnBfkS74FHZmD?= =?us-ascii?Q?aPj3ItxJXqy+HdIHyYIbJRyvH7ATb5FxxpY+6VJkgXtXLW+/05Q74enuUqyJ?= =?us-ascii?Q?I80eFSp8L2eeSeo344/8pVGTqvjSIoeFIO45J8SqGgUCmrBV42VakOM8O7GG?= =?us-ascii?Q?3c1umb2KzrUOMamCUApF+vYgCkNUzswScSlXNpMWpzzG9qptoBLNkQojI9xA?= =?us-ascii?Q?TyUOcerhdMMDIJi8NZpAMgXWNtUBs26wfQFhsZPCRBmeuFcE9w=3D=3D?= 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:(13230040)(36860700013)(82310400026)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:37:35.5032 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d73263d9-9c72-4c00-e8af-08dd021b543b 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: BN2PEPF000044A7.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR12MB8542 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 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/30/24. 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=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=0feee3f5727cb2f849337b091252c6e67b100ba5 Thanks. Xueming Li --- >From 0feee3f5727cb2f849337b091252c6e67b100ba5 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Thu, 26 Sep 2024 20:42:45 +0800 Subject: [PATCH] net/hns3: fix dump counter of registers Cc: Xueming Li [ upstream commit e9b82b4d54c019973ffcb5f404ba920494f70513 ] Since the driver dumps the queue interrupt registers according to the intr_tqps_num, the counter should be the same. Fixes: acb3260fac5c ("net/hns3: fix dump register out of range") Fixes: 936eda25e8da ("net/hns3: support dump register") Signed-off-by: Jie Hai Acked-by: Huisong Li Acked-by: Chengwen Feng --- drivers/net/hns3/hns3_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_regs.c b/drivers/net/hns3/hns3_regs.c index 8793f61153..8c0c0a3027 100644 --- a/drivers/net/hns3/hns3_regs.c +++ b/drivers/net/hns3/hns3_regs.c @@ -127,7 +127,7 @@ hns3_get_regs_length(struct hns3_hw *hw, uint32_t *length) tqp_intr_lines = sizeof(tqp_intr_reg_addrs) / REG_LEN_PER_LINE + 1; len = (cmdq_lines + common_lines + ring_lines * hw->tqps_num + - tqp_intr_lines * hw->num_msi) * REG_NUM_PER_LINE; + tqp_intr_lines * hw->intr_tqps_num) * REG_NUM_PER_LINE; if (!hns->is_vf) { ret = hns3_get_regs_num(hw, ®s_num_32_bit, ®s_num_64_bit); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:08.892376163 +0800 +++ 0081-net-hns3-fix-dump-counter-of-registers.patch 2024-11-11 14:23:05.202192838 +0800 @@ -1 +1 @@ -From e9b82b4d54c019973ffcb5f404ba920494f70513 Mon Sep 17 00:00:00 2001 +From 0feee3f5727cb2f849337b091252c6e67b100ba5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e9b82b4d54c019973ffcb5f404ba920494f70513 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org