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 CE98241D8D for ; Mon, 27 Feb 2023 08:14:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C706C410D3; Mon, 27 Feb 2023 08:14:43 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2069.outbound.protection.outlook.com [40.107.94.69]) by mails.dpdk.org (Postfix) with ESMTP id 0038840ED6 for ; Mon, 27 Feb 2023 08:14:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GQn+PJ7mauY8D8KpeIuE0apPOEqv/WgSW9NF03ONosrlkDbq47JS8AhMKaVvLtPSt/KlH/VgRuOibZrsG2Wcv8Eu4inRFvBbT3XvrMy20xJ0UgVUp1cVJGbMgOevs80X3FURZ8EhzboTuHrJNn7b67qkZY75idb32UGOz4zqCrLEoCbafGHm+gCkvGzRNaD6V+w1yZl4CIPi4diRE5zMkF1rO+0h7xDUC8FRFZTsNVcQNGM6n+K23pHdtl3aFtIP/368Iu8Cweb0zwJaw3cIJkfPYVjHmBtnOG8D+lrsGUoAsEZfpabUVSicHKdZ8AkRWmzA4ROoJwfOSdZ9DrZkww== 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=mCsBThHX+bD5i9dV0X615Ky+TtMBi949uXdCnsiTgLM=; b=PsRW6eUu1t9Fo1Xs6g62q9Qdl3+5/qOYF0Qu/8Dn0yag5C//dqnY21U6wHEvh+tecF2ApONXVycWe1tiEToWgq6Ojof8fb8PlQPAk4Qy809+qDKkcUINlfYLXow8oyYNrU+wUj/CNMbBABeokHx10DrQ/LdhKdH//yNytgxuI3tjwqFIz3zATrKuTHFrZzyBJMkeI95yoJocTRUqlBf9ACulwy16F0QFHX45RKNp++7xydLdS8UdL4ESGXauJeDIz6ye8MzCYZv1Bx1Xknk3tIwvU6diwqVLOx+JUq1EbcaJ9xk2NCGuMVzHxq0dtx+YnlQAUCUHJVlS0vE+lyUFGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org 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=mCsBThHX+bD5i9dV0X615Ky+TtMBi949uXdCnsiTgLM=; b=CNq8ZCTpm26AGwCXkifK1r5xrDLEXRBjDQa5sTqnF3OmIQPTASOkbYc187eZCiJISeoU8IaTVw9TcSF4mOVQilFK9bToot6fXS/zyS5S2TIbffkHkEO+HOCpjJzRkH9MZApWKOy9KgZISmHGk8W1G7KsyavF/KQDRHVgjnowLvVMr2dhiF4CQyj/rwHNt7Shw+o5GaCPnv/HTOaQzGZTPhzA89TA/okBRX6qIn+KtzgU849K5E3vhz3mnx1uNMMqZ5Q8Lj6EIuBX9joJJ0YAYARKLV0nQhWUBvfgHCKewFLgL9PI0X/9WjftmxWUpyNGTXmgxKaLRMITfpkbegLr1g== Received: from MN2PR16CA0053.namprd16.prod.outlook.com (2603:10b6:208:234::22) by PH7PR12MB7209.namprd12.prod.outlook.com (2603:10b6:510:204::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24; Mon, 27 Feb 2023 07:14:40 +0000 Received: from BL02EPF00010208.namprd05.prod.outlook.com (2603:10b6:208:234:cafe::1d) by MN2PR16CA0053.outlook.office365.com (2603:10b6:208:234::22) 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:14:40 +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 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:14:39 +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:14:26 -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:14:24 -0800 From: Xueming Li To: Viacheslav Ovsiienko CC: dpdk stable Subject: patch 'net/mlx5: fix warning for Tx scheduling option' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:32 +0800 Message-ID: <20230227070107.15664-124-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_|PH7PR12MB7209:EE_ X-MS-Office365-Filtering-Correlation-Id: bbaf09b0-1aca-499e-d263-08db18924ab5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bFN45cwT9LjN8D00+yBEb2jvRIuU1pWKsYdtQdLz7/e5DEkQ+boCqBwWtd8CdeLM8a63Bpiq4F5x/eefKimeZu7p+E13+1S3K14apn0m2xNydVLDI7lb2AJ1nvZzY7VtZ6fm2T+4gYDn8zAmt2GFGjjC4FSjJTyf3Ui4oTIuicYS4txwG/YP/PX9l/9QcGoUeAjjDsYz6lZhIxj6i9qThLmQZUpbxGg/UKpfQgEuyG2fLbK+M5Y1jP+yuOKNc9z+G+2INFyVgClz9C1TQNe/PZtZI6adVQmLCQkVIlBlN9jdUBU880n9U+TbV8DKrJf6IElVzLgsPs9OxUb217bMnUC8TdjLtGx08UDYTdQwz8PE2OYZh32sKQHisuukBSYXuwskKnDljrUmLKIOpudO7J0N4jBN8IicRtQTmnEbeP2OC3VEpqmuJ2dZPHqSDTKV6i6LIWU8QWFzTn+ku2ARvt3AXL/UiQJiRb4QAsZNnntsyye62JV9VcQnZZg5ZOKbtKt92VOKWBJDdbsKhjHqpJIOkP3qStaD/zMf5sTC5g148Wls7r6mEt8Zon1BbPXaAKExxwpYZiZkngQ/unyoBmFC5PFO/PxG6b+1al9E4arfuiXNeMhDq6CW3zBvl+mNM9fdIr7hkJ0y/GFgFAmyFIigUyrGwb0F9/+YfbjuIb7UDs4pztrXm1KyAitxOq003Id6/vqWC0IUEJU5a91SVraXwsnbafKYaPAKiFay77Fs/jPT1Ee4o/LUi63tYQjNwdFnZhP2WhPnC4LDSopwTHcFmzI8iwHXFLLybBGX330= 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)(136003)(39860400002)(396003)(346002)(376002)(451199018)(46966006)(40470700004)(36840700001)(36756003)(7636003)(6636002)(82310400005)(83380400001)(55016003)(47076005)(336012)(37006003)(316002)(426003)(478600001)(6666004)(7696005)(186003)(6286002)(41300700001)(82740400003)(1076003)(4326008)(26005)(70206006)(966005)(16526019)(86362001)(6862004)(2616005)(8936002)(5660300002)(2906002)(40480700001)(40460700003)(356005)(36860700001)(70586007)(53546011)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:14:39.8748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bbaf09b0-1aca-499e-d263-08db18924ab5 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: BL02EPF00010208.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7209 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=35eadc22bc9c1657c520c8fe333b0d0ff848fe89 Thanks. Xueming Li --- >From 35eadc22bc9c1657c520c8fe333b0d0ff848fe89 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Tue, 3 Jan 2023 13:11:13 +0200 Subject: [PATCH] net/mlx5: fix warning for Tx scheduling option Cc: Xueming Li [ upstream commit 95cbaaa1065f86db389db37036d1f56ce09d8cb2 ] Since ConnectX-7 hardware supports the send scheduling on explicitly specified timestamp, if this feature support is detected by PMD the tx_skew devarg becomes applicable and appropriate warning should not be emitted. Fixes: 49e8797619e40 ("net/mlx5: support wait on time in Tx") Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index e55be8720e..3ae35587b6 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1401,7 +1401,8 @@ mlx5_shared_dev_ctx_args_config(struct mlx5_dev_ctx_shared *sh, rte_errno = ENODEV; return -rte_errno; } - if (!config->tx_pp && config->tx_skew) { + if (!config->tx_pp && config->tx_skew && + !sh->cdev->config.hca_attr.wait_on_time) { DRV_LOG(WARNING, "\"tx_skew\" doesn't affect without \"tx_pp\"."); } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:44.888502800 +0800 +++ 0125-net-mlx5-fix-warning-for-Tx-scheduling-option.patch 2023-02-27 14:08:40.899237000 +0800 @@ -1 +1 @@ -From 95cbaaa1065f86db389db37036d1f56ce09d8cb2 Mon Sep 17 00:00:00 2001 +From 35eadc22bc9c1657c520c8fe333b0d0ff848fe89 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 95cbaaa1065f86db389db37036d1f56ce09d8cb2 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org