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 BB21FA0A0E for ; Mon, 10 May 2021 18:06:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B50614003E; Mon, 10 May 2021 18:06:01 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2055.outbound.protection.outlook.com [40.107.220.55]) by mails.dpdk.org (Postfix) with ESMTP id 565CC4003E for ; Mon, 10 May 2021 18:06:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DXCosj1tBYOqZ5m5M/YsbRPHeiMADQyUDFMjNRxZ+qnSnOkg2NcIFOw8V0UtjlVbPUWLwQkK/iu2snXP5oXTenBG+Y1CZORjmLL3Ja8wNuOYu53E6xr7Ah3LF5NJHIjfgVlGW7DVIgEoI0d2ihVynt843yzYLVBmQ7Hd1DnvuJCMYp35EnWu/Bx5B922KCT/nNTg6Xr2IF/Xsfz+5PIGTaKxycW4USBfU3BwGC6YqKl+U93eKwypsIekf8migIKL66bA181XCuNMD7+vzc9QXujRhlzDbQumrazmwxOnnotSvlfR7ER/lqEdWIo7o5aUROdPvvcJClo1m+Wh3TRyUg== 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-SenderADCheck; bh=2lpcvW8w9Rc42Fgq3Ltgc2Mw//GlI/VeQPMQbZCmNVQ=; b=SQJq24BaRbq/gDuitQ2ITYRosIG+aJRDzfjx8AoRKORNgQozbS54sL6ohjIuJNUNFbPfjvZ6LVQdvvVsr46mE6C3jlEKun+NSqBhl8lGp3EkPdBz/U9Da4MCUe0HJJhICcj8JBG5GLfShE4N2ZsbxyxWsCbf9UHG1sxRoWbiIZ+Qef/VsutHgtkJpmdrM5U6PuAX9Xndn0JgYT9MiZL5/ixrA9NAPRPudf6AqLXNFr3ef812oIxK0f2uWYJGfxukHDwUg2a6Le5M4nndyKKmgsb8N1h8BjvZghwsYGEWQadozDlqx5rRoLEsh+24G6/idxbEH0hJRbJNURGWAjhT5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=huawei.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none 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=2lpcvW8w9Rc42Fgq3Ltgc2Mw//GlI/VeQPMQbZCmNVQ=; b=QAinmD8Hvj1VFoWssMkqNoLeOywsEsMHqJkA9O0/THdTokm2vSpMcMF5qGjKKgYyy1reffSXDaj0wNXPvdEXfmOPiuQezo02UKxxCHF1gVfnNAHmrOCjTLAvz07Pa9UgG9Wh+HCZkVOE1D8PGxIxRrbsKsF8Ad9cw1K028biOdt0ZZRcn8Md1FjiJQ6ABDLXIEMSpqTTlwOKQ5rt67jexIoQrXsGmOQBG4w+rd7w0j26zjI8xPEhn1Y8FD8+SLcPdp4LzXmDSsimibFqxICfALChv+g19J2SWgIQQy6XQv061dE+Ay9W871cfb9/RfYa/Q99lzd65ySQeIGBGhf1jA== Received: from BN6PR21CA0004.namprd21.prod.outlook.com (2603:10b6:404:8e::14) by MW2PR12MB2458.namprd12.prod.outlook.com (2603:10b6:907:8::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Mon, 10 May 2021 16:05:58 +0000 Received: from BN8NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:404:8e:cafe::9d) by BN6PR21CA0004.outlook.office365.com (2603:10b6:404:8e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.3 via Frontend Transport; Mon, 10 May 2021 16:05:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT048.mail.protection.outlook.com (10.13.177.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:05:57 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:05:55 +0000 From: Xueming Li To: Huisong Li CC: Luca Boccassi , Lijun Ou , dpdk stable Date: Mon, 10 May 2021 23:59:37 +0800 Message-ID: <20210510160258.30982-28-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7f67f182-be8a-419b-a00d-08d913cd7f86 X-MS-TrafficTypeDiagnostic: MW2PR12MB2458: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5aED0mdOR7SFsH2lr0j5SeLFZeRrBZ+/+JKSPtqVnI174koV0OHLHCl/cGCpUUdwe+zSBKUHpEtlhib+Z9Ee+eEkIR2D3sawDm2fZUMVv5mxL9QSljZvkRDtooNB0I/IUESFkcyWUsAeEQyqaMutH2BTQzznrUzB1EqSicEPoffJCMfRLcGxFZS3sj2z7zzS5DjGDhs9Y79amWo3Uekf4cVW5FUmu6OQcrfrO01U0ezovy73EOM/QUk5dxrOQGq54hTTMjZ0CbGyoE+1a1EI4ZJ238sjRD4255NQlr9uYELwcYr6RNztizFyaUrFJGvYDDojRzZT2zwegNAverHa0+K8UBV948ZauN2LnF3CZsq8RvrIDvAUBvCbeWyXyak+ZbA8yGU9P0JnmUPWonlRAPEO2q9cdFWKRKBBUwjbHs6iBzLK0tzsgo8SDQEfuZUQLMcjnDiDTlSDoioxN5jWtA+FsJh9f2ncHCHpEh0ViNzw7OWRxccqusM4koobXCuHyht9WcOskqB5jNTwkVAiaHtIjlSNlHo30qWOZ9zWfqLATH0Y0aeUd1cSxMaGtkOezvnB38+0JS7nxbh7cIET+30qCAjkESsM7ka7iLB57KFwyXn0U9+s952w7DMd75KQ2Mv7t8AvC3oIZxF3iDotfPE7KWspAtSrsvc+0l/C12Sisy9TvBlgLgmBuAReprw+nJW9fqo8tRKCLk/Azzqt7GqRDSWc548aUyoy2KMGtLRVZ/76ZONbEUBdX0/Q9q6o9GBLW9iZR0kvpL4fW3v1yw== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(396003)(376002)(36840700001)(46966006)(54906003)(6666004)(70586007)(1076003)(53546011)(5660300002)(70206006)(2906002)(47076005)(16526019)(83380400001)(186003)(4326008)(478600001)(8936002)(316002)(82310400003)(8676002)(86362001)(36756003)(26005)(7696005)(2616005)(82740400003)(426003)(6916009)(7636003)(36860700001)(966005)(6286002)(36906005)(356005)(55016002)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:05:57.6549 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f67f182-be8a-419b-a00d-08d913cd7f86 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2458 Subject: [dpdk-stable] patch 'net/hns3: remove unused parameter markers' has been queued to stable release 20.11.2 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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 05/12/21. 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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/19922dfa9e13c872fdd60e2baca9cddec879f44d Thanks. Xueming Li --- >From 19922dfa9e13c872fdd60e2baca9cddec879f44d Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Thu, 4 Mar 2021 15:44:51 +0800 Subject: [PATCH] net/hns3: remove unused parameter markers Cc: Luca Boccassi [ upstream commit e5081655405784a387127ed99c231565585d9302 ] All input parameters in the "hns3_dev_xstats_get_by_id" API are used, so the rte_unused flag of some variables should be deleted. Fixes: 3213d584b698 ("net/hns3: fix xstats with id and names") Signed-off-by: Huisong Li Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_stats.h b/drivers/net/hns3/hns3_stats.h index 9fcd5f9bbf..09b81b131a 100644 --- a/drivers/net/hns3/hns3_stats.h +++ b/drivers/net/hns3/hns3_stats.h @@ -140,8 +140,8 @@ int hns3_dev_xstats_get_names(struct rte_eth_dev *dev, struct rte_eth_xstat_name *xstats_names, __rte_unused unsigned int size); int hns3_dev_xstats_get_by_id(struct rte_eth_dev *dev, - __rte_unused const uint64_t *ids, - __rte_unused uint64_t *values, + const uint64_t *ids, + uint64_t *values, uint32_t size); int hns3_dev_xstats_get_names_by_id(struct rte_eth_dev *dev, struct rte_eth_xstat_name *xstats_names, -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:27.435535500 +0800 +++ 0029-net-hns3-remove-unused-parameter-markers.patch 2021-05-10 23:59:26.350000000 +0800 @@ -1 +1 @@ -From e5081655405784a387127ed99c231565585d9302 Mon Sep 17 00:00:00 2001 +From 19922dfa9e13c872fdd60e2baca9cddec879f44d Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit e5081655405784a387127ed99c231565585d9302 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index 01b4f36dc4..70a9c5bcd5 100644 +index 9fcd5f9bbf..09b81b131a 100644 @@ -22 +24 @@ -@@ -156,8 +156,8 @@ int hns3_dev_xstats_get_names(struct rte_eth_dev *dev, +@@ -140,8 +140,8 @@ int hns3_dev_xstats_get_names(struct rte_eth_dev *dev,