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 5D34C41D8D for ; Mon, 27 Feb 2023 08:13:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58AEC40ED6; Mon, 27 Feb 2023 08:13:35 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2065.outbound.protection.outlook.com [40.107.220.65]) by mails.dpdk.org (Postfix) with ESMTP id B2DF440A84 for ; Mon, 27 Feb 2023 08:13:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O8eYQ/I7l2rMkEcJOl5JB2x2zVP3wzuZ2FXFI6mG/KxePSuShfwLEwDVJ1jjsROq7rG2QW77wOc3svohF5TGMQERqR83czLtRtbXLI+z0ZgrN3sZBhIhU2ehSKvTz0ZlGzyblmzhbQMXt73HFIiE5EceKEltKIuyCkRiKpBX08PlEtpTbVkW3M32QWby6ewVAwM49vxuK+SVWGbXo3ggG3sVQKLNfPFOoHtvypdEh5n/9Mb8DCYWaAI+kljaV9yEfb2o48wSZJFKk1l+6GFsp86uA6SqOM6Sfu6hVG///UguzneP3DWa+atUIJkPggE/JF8xqSthamTDsJsK+yTsfA== 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=flJ3k0mv2IxlbLfSfOhw8acB4UO06Kg+0aozOgxTpc4=; b=KzVnQneqaQPGTBZs/29ENkYWWtsKAN6gnBwipSSHLFGz6iiUzOFf1hiyuuSUskWi+NyJGo9VilQ6d8MYmsQaqEC+NEhc6ItEE7KCsBq3HVnHBGzVGzqtETAoQYqTAEgx5kF1rnYxAlqGb1a2uyFA9AdMN3CFVzUPHvaiW/OZ4OYE4KQA9QNPjbQfLmqHqC2+gxNEUu2TyB6ArKLdm+ZBdj15ffvuhn/U7n+u83QXXd77hrlp9Zgl8ODyuQbEsYH/aMrFhI+ineAnQctTy5O43ReaVrfW/YOub8E0xvttNneG6G5eeDdyQxFfBUUlISgptHjjTqvWp1NXp1DH2C25/Q== 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 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=flJ3k0mv2IxlbLfSfOhw8acB4UO06Kg+0aozOgxTpc4=; b=PeHYwqKnDHuCnHcbhmWuh8C5GgmGDTXQ1f9dx/ZfcAcUaEGmu/p6uvvd5X5/iEh+BoKrwedaNW4waHH05IKwV/qq6z/fhph/xo4UMamNrCknBvX1vq9OQJiH2taWapsNOpnPsGn7b1KZXFf22AqZctZ3CLG3d0CqHhIa04SvekH3UJujh7iHsto/UTLIfvlKlB0+scK1wYGgF37JD5U2EDbCh8oYB69NNGVL11xTsIy3gTUywCYeR8jkpoIlju3xZNGiFWcfkKLCw+cK+oZV2Kql+3NALxJpfAfdyxDc5r2sh+uybp0gwtQPDS9hEbANANxf4okBy45ErEGq14pwKQ== Received: from MN2PR16CA0038.namprd16.prod.outlook.com (2603:10b6:208:234::7) by PH8PR12MB7207.namprd12.prod.outlook.com (2603:10b6:510:225::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.28; Mon, 27 Feb 2023 07:13:32 +0000 Received: from BL02EPF00010208.namprd05.prod.outlook.com (2603:10b6:208:234:cafe::33) by MN2PR16CA0038.outlook.office365.com (2603:10b6:208:234::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.28 via Frontend Transport; Mon, 27 Feb 2023 07:13:32 +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 BL02EPF00010208.mail.protection.outlook.com (10.167.241.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.12 via Frontend Transport; Mon, 27 Feb 2023 07:13:32 +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.36; Sun, 26 Feb 2023 23:13:19 -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:13:16 -0800 From: Xueming Li To: Huisong Li CC: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: make getting Tx function static' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:21 +0800 Message-ID: <20230227070107.15664-113-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: BL02EPF00010208:EE_|PH8PR12MB7207:EE_ X-MS-Office365-Filtering-Correlation-Id: 56c392bd-8e4d-4f64-1cca-08db1892228d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VEqutBzHQtNCsaBxQN5w0WVd8wuLWSnnIokSWwMN3xsSceGcHcqunvtyJVyGIzGDT6aJ+VLQrnvf7M5UkJFY1kcu9U9OhU5Rvr7VnfZAY4a3UCAokyUf+Lcl9M1TlcC5ALocijDzMbfkXC+BpNPQcr5cpv05qybuuucVMlGvpEM3Mo2YzTZO1MuodZTsemU9Gow0lkdAyxVd3/umg/7Pcbjhl5uQNmTQ50MKNj0csqbmq+kofFe9jxzCmcFrAEezR8pgWcrVsvdkLC+NEWEIId62MF4umKWC5bXLkqYEUiTVcGOqQ1Kf3c0L+5XpkxKwha6AJ2+ErY4+9nFlW4oSb98n25ZnPR4cMbY+8VUUp2lfJH0UFjqr5q89i4jkj+qGcTBZ5rpde3cfYvUOgOExeUvJnOjNlRYpICh2nk2BwHqJfQYiu2PR/j4ENo9wBPpfpToZg88dkGasVtOxH+bGPvN0z3dUviASJhu9Oob15f2KT///l/TYbjCsVLQm7gmfNpKijGafm4yCJQcYIzr32oZj1ie6yH/o6GeVluhe2YM58d28WpZmdUP3XHKe4KR7VFeTzrKQAGfcezcC6xdbUzWNXjSBbM8GpLgTWSUo8pqBq63PCNDv6ANxAONBCwx7/Ly61QykVSjcTjOqpfwKxPUXIV1vFuSVsM64hpoMp43PTjrtBqX9Mki+F4CdKxaNj4UUUc1ZLSLnr3Sbvnha3h/7lgnTxmqX9Pxf8mF/CPenPgznjwS3X96Mb7n/VmGNBoWCtIVC7y1Ctrm+BIKAsl1+SUqxtTMNAu2chCBcfGc= 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:(13230025)(4636009)(39860400002)(396003)(376002)(136003)(346002)(451199018)(36840700001)(46966006)(40470700004)(8936002)(5660300002)(70206006)(70586007)(2906002)(8676002)(4326008)(6916009)(316002)(54906003)(7696005)(478600001)(966005)(426003)(47076005)(83380400001)(336012)(36860700001)(1076003)(53546011)(186003)(6286002)(16526019)(6666004)(26005)(2616005)(41300700001)(7636003)(82740400003)(40480700001)(36756003)(55016003)(40460700003)(82310400005)(356005)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:13:32.4990 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56c392bd-8e4d-4f64-1cca-08db1892228d 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: BL02EPF00010208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7207 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=13f062ec55ac8a26cbac51b969e1fe864d17ff32 Thanks. Xueming Li --- >From 13f062ec55ac8a26cbac51b969e1fe864d17ff32 Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Sat, 11 Feb 2023 17:18:29 +0800 Subject: [PATCH] net/hns3: make getting Tx function static Cc: Xueming Li [ upstream commit 2aec7beaba05cd82cd951f0c6bbaecb82d533ce0 ] The hns3_get_tx_function() is an intrinsic function now and should not be open to other files. Fixes: 96c33cfb06cf ("net/hns3: fix Rx/Tx functions update") Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rxtx.c | 2 +- drivers/net/hns3/hns3_rxtx.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 9b2bd02857..def22bcd30 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -4337,7 +4337,7 @@ hns3_get_tx_prepare(struct rte_eth_dev *dev) return hns3_get_tx_prep_needed(dev) ? hns3_prep_pkts : NULL; } -eth_tx_burst_t +static eth_tx_burst_t hns3_get_tx_function(struct rte_eth_dev *dev) { struct hns3_adapter *hns = dev->data->dev_private; diff --git a/drivers/net/hns3/hns3_rxtx.h b/drivers/net/hns3/hns3_rxtx.h index 38c3581312..1bdc124b7b 100644 --- a/drivers/net/hns3/hns3_rxtx.h +++ b/drivers/net/hns3/hns3_rxtx.h @@ -740,8 +740,6 @@ int hns3_tx_burst_mode_get(struct rte_eth_dev *dev, const uint32_t *hns3_dev_supported_ptypes_get(struct rte_eth_dev *dev); void hns3_init_rx_ptype_tble(struct rte_eth_dev *dev); void hns3_set_rxtx_function(struct rte_eth_dev *eth_dev); -eth_tx_burst_t hns3_get_tx_function(struct rte_eth_dev *dev); - uint32_t hns3_get_tqp_intr_reg_offset(uint16_t tqp_intr_id); void hns3_set_queue_intr_gl(struct hns3_hw *hw, uint16_t queue_id, uint8_t gl_idx, uint16_t gl_value); -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:44.521868400 +0800 +++ 0114-net-hns3-make-getting-Tx-function-static.patch 2023-02-27 14:08:40.859237000 +0800 @@ -1 +1 @@ -From 2aec7beaba05cd82cd951f0c6bbaecb82d533ce0 Mon Sep 17 00:00:00 2001 +From 13f062ec55ac8a26cbac51b969e1fe864d17ff32 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 2aec7beaba05cd82cd951f0c6bbaecb82d533ce0 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org