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 5B23841D8D for ; Mon, 27 Feb 2023 08:11:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 55F24410DC; Mon, 27 Feb 2023 08:11:52 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2069.outbound.protection.outlook.com [40.107.223.69]) by mails.dpdk.org (Postfix) with ESMTP id 2A4C240A7D for ; Mon, 27 Feb 2023 08:11:51 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NqVkqDBcuC5v3EP9jp/jRT4cFxzMNU6H6BeL7u7FlGHQaM4/1aV8ImPv546paN/2Q+iSRLh7J2AjNcI3e85rIi3uP/lMogAGQIMxN4cfOva0xJtC/Nu9WSOReUvLTmqj6V6xTd3gP4J+cIKhYSiS0lSFY1fkdK9PSgEth+nSbOjZ99JTM9HrCXekTZ5exj5LgrBXoC3u8rzhHEKy5v9nA5vag0fvhASy90CGv8gg0eGIW/0WckYFLqmI97pr8tpy5oUPKdn0Vn9iB7a+qGD7SfGZSMSOUHVqMqDDSYqToW+4+aTB3H6I8e2FlXJ11F/seSJI5O6UpC6uA0JxV/3ehw== 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=4ytd1DasRwXOTh8jbvg3ZEjeSZOVX296wt1AuxEuaDk=; b=GBvct9c+yS7+htg3LZtbgHQUvIzwOJ+0Bmwhk/8F+pi2PM2xqmWRjJzqsGW3dxl8418uS7H8o7++bDV72HJ51caS1b/xKCnoGc48Lvdtbbvg78y5sI2x98bM4YRAzHLcJIhl7SVhh+5LU6hjrFcsUIjGEwxDZISnpZBxoa5xUiBR39ppv4od8XEyBKFcO16L3cktZFmoux5VbPIt6OLIUQJ4HG9HClm2hhYU0qwrjRHtIeTaX3u6BXERsSW36GW8T+pVe51Mow0lVd2VCIaKk6dCsKXCLHEa4xj2CHzx+r99Tk9BIMF+sMwBIXglK6BPPchcHalbGPbMAywaOZII+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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 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=4ytd1DasRwXOTh8jbvg3ZEjeSZOVX296wt1AuxEuaDk=; b=ZWu8PMgJLoHOHMqUUs2fEgliwIDED3eUsDzgxlKBI8Z063IwRkJFoDagCfnlH7V9f0sHLvowvJVIUJoLwLMYf1/TqBM4dgXZ+1VaLrLR8znsYWSFtyI2nQLSd7w5S6lcrwFdqFvzquC9iXprhbFm9KCmvY2MN+k20Zt9dXNUaDa1lxudGZTM2n7d9DZS3xv0e0zgJDMK84HE2nPSj2IkZwbrCWYZrdHgF6bjrLR9EI89ikBmJM6esyHqKvKwnU7GwrZ23f0Kxl51Mkyn7pFOGpwc7iKqVmLxh2IXrf+azDWmlkNR0Y5XZvIx224KPNa0ObeTuVrC319N2La8ur/DdQ== Received: from DM6PR06CA0006.namprd06.prod.outlook.com (2603:10b6:5:120::19) by CY5PR12MB6479.namprd12.prod.outlook.com (2603:10b6:930:34::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:11:49 +0000 Received: from DM6NAM11FT027.eop-nam11.prod.protection.outlook.com (2603:10b6:5:120:cafe::85) by DM6PR06CA0006.outlook.office365.com (2603:10b6:5:120::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:11:49 +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 DM6NAM11FT027.mail.protection.outlook.com (10.13.172.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:11:48 +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.36; Sun, 26 Feb 2023 23:11:36 -0800 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, 26 Feb 2023 23:11:33 -0800 From: Xueming Li To: Huisong Li CC: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix log about indirection table size' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:04 +0800 Message-ID: <20230227070107.15664-96-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-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: 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: DM6NAM11FT027:EE_|CY5PR12MB6479:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e7e1611-32be-4ae4-78dc-08db1891e499 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DmRwlDsvOPZjGcYvyYxoP5/xPQxH8c4LB5ItV5Nctaiw5n7vBuY1wk3yIBtpOuC9RoAybn3M+bVhBme58Hi6Ec+2tVahQSxeb13k4nPA0javSEXGzPdwUn1SJsNbGp1rgb3uZ//ZzNlgxPXJnG8c8yzDARx9Xl/+qrF1F6WBOogbEa0UWtoVuMmxa1WGj8gfU98I/pOgRzFcqcgCJ4K65P5q3B3FWYN+xEUwFRi9leTWmy+24HWgurYTqK/mg2t4B510Vx1SoHzr1+QhHJ0MFxTWa2lfTtrqgIN/HPltZQOF00xi63sV5zcdoTaqqeSjUJmsGSwf2CuVciEPutqxizq2/ffO0RuOKB9XJyYNCjuCWcjIrUNvnNxUbNMr5/nG7fBYUYFnRv4dSebe0OJtWuJHEZ+pwNjqMT3mItH5p/Z/mPmEKlMCEv24S9KsNISYf03FwhVbFdWg8RRy4QoSyS+Y8ZuZQluxkTTuhaJ7EH4VgSwB22FFVl8gmug2dnnDu+xsD32l9+m26uppAFKOj9YsdCjmfW1AGV+ztSsPJ9HrNS3IFKcEdnGFGwXaKTWZRo7bNyXao8+g3XuDZkN2XYW0Wv/nj+jjZ4K9aGhJ7GUmEBEU8Re4VJWEC3seAddva9EWt+2GPxi5kB428gFGAD3drIfl1VjrMky+AzlBTap45KiNCJZeB22sWrYWxJLDMtyX1aR94yy92RmntjtyuqAAlBcriTsBTXZsr+MQumfFVpWwqSXH4nENhLZLd9HtuFnR9V5NogepgVVctR+h3VwAcbuxxpIfqcz18X5LhdAE3LAw2nEMqZbsX+w04YNE 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:(13230025)(4636009)(396003)(346002)(39860400002)(376002)(136003)(451199018)(40470700004)(46966006)(36840700001)(36756003)(41300700001)(5660300002)(6916009)(16526019)(53546011)(82740400003)(7636003)(26005)(186003)(1076003)(6286002)(6666004)(82310400005)(83380400001)(36860700001)(34020700004)(336012)(426003)(2616005)(47076005)(86362001)(316002)(55016003)(40480700001)(54906003)(356005)(40460700003)(70586007)(70206006)(8676002)(4326008)(478600001)(7696005)(966005)(2906002)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:11:48.5926 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2e7e1611-32be-4ae4-78dc-08db1891e499 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: DM6NAM11FT027.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6479 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 03/01/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/commit/?h=22.11-staging&id=ffc3022e2d5128017b9f8e392302d18ec4c0503f Thanks. Xueming Li --- >From ffc3022e2d5128017b9f8e392302d18ec4c0503f Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Tue, 31 Jan 2023 21:02:51 +0800 Subject: [PATCH] net/hns3: fix log about indirection table size Cc: Xueming Li [ upstream commit b55516a94246364f272db802f5dfb9aeb8d3a2f2 ] The error log about indirection table size during initialization phase of PF and VF is unreasonable. In addition, VF driver should use error level to print this log. Fixes: 0fce2c46dc16 ("net/hns3: fix RSS indirection table size") Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 2 +- drivers/net/hns3/hns3_ethdev_vf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index d326f70129..eb809cd8c9 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -2679,7 +2679,7 @@ hns3_check_dev_specifications(struct hns3_hw *hw) { if (hw->rss_ind_tbl_size == 0 || hw->rss_ind_tbl_size > HNS3_RSS_IND_TBL_SIZE_MAX) { - hns3_err(hw, "the size of hash lookup table configured (%u) exceeds the maximum(%u)", + hns3_err(hw, "the indirection table size obtained (%u) is invalid, and should not be zero or exceed the maximum(%u)", hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX); return -EINVAL; } diff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c index d220522c43..e43815607a 100644 --- a/drivers/net/hns3/hns3_ethdev_vf.c +++ b/drivers/net/hns3/hns3_ethdev_vf.c @@ -718,8 +718,8 @@ hns3vf_check_dev_specifications(struct hns3_hw *hw) { if (hw->rss_ind_tbl_size == 0 || hw->rss_ind_tbl_size > HNS3_RSS_IND_TBL_SIZE_MAX) { - hns3_warn(hw, "the size of hash lookup table configured (%u) exceeds the maximum(%u)", - hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX); + hns3_err(hw, "the indirection table size obtained (%u) is invalid, and should not be zero or exceed the maximum(%u)", + hw->rss_ind_tbl_size, HNS3_RSS_IND_TBL_SIZE_MAX); return -EINVAL; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:43.985359100 +0800 +++ 0097-net-hns3-fix-log-about-indirection-table-size.patch 2023-02-27 14:08:40.829237000 +0800 @@ -1 +1 @@ -From b55516a94246364f272db802f5dfb9aeb8d3a2f2 Mon Sep 17 00:00:00 2001 +From ffc3022e2d5128017b9f8e392302d18ec4c0503f Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b55516a94246364f272db802f5dfb9aeb8d3a2f2 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org