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 9A22841D8D for ; Mon, 27 Feb 2023 08:11:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95923410DC; Mon, 27 Feb 2023 08:11:27 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2073.outbound.protection.outlook.com [40.107.220.73]) by mails.dpdk.org (Postfix) with ESMTP id 37E50410DC for ; Mon, 27 Feb 2023 08:11:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HMN9BzuLaPNn3DtiayVBHMImix90P1jp1bWsQiIvdWnO64tDmZrkQ8JO1Iqv/ue4ulRbrn0erRhWYR/tqH7qNX49L/kMiXPtg02PsZ0ZG0afVVJm+U8s+EJFbloQECvSuFudORW+5E9bwYsk8BlgUCztNSxFavTFeXRsK0tR+cRH1nGGDidsmNzdKrbDIEvVuT0sSnhEdUCXQmIvPcOc/ZrOaB2R69PG4fEQDoaU03AqxkipANjCokmodO8ectXWe8y5vpe3lBgb8KUjH5nZXbcSteoy0bq2XY29sYBNf96ZncBKjeibYcZwVAcrDg6pHlsrXeeLl+yCaynZpUiKcA== 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=aVeLd9MSmKl4jkVX/VzI7ZcA4NQ+SctJ3kcaL1evKsg=; b=Zjhxc4JKPe191oAjl9loS3sQX0bisTZCPRtb9UuwtXlt03GF/s5GP/yIewKxgLqgEYc8FuXrBwRsGFuS+0VtU0eKwY1SYUPFCidsgZzSP6dRsqeER3xFP0EoW7JQ/rS7Tpr1DC8pBDYjHdI+Ey993bUcm10qYC34eY0gTddtc/k3jQeaaCGkzbnCvykgrENuu8KGOGK+QuoA3Yaqpnk3Jd1LaZnZmqq7hry3+x0ioJwvd6OV9HL2po9ziyMj6y061RPcU8o3Td8zAbcosuUMfGshHJccTSnXeHzKX9E+QHFkl8SKtxM2leN9G374ULL3qeLJnM3a/HwwkoD5UN+aog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=trustnetic.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=aVeLd9MSmKl4jkVX/VzI7ZcA4NQ+SctJ3kcaL1evKsg=; b=ILc8YCPgaxcTXGovWrHVbQYQXtnxX0qt9eLKNXqSzLp7zOUhs25z9tgSJMyPUA5DVoyw3BRsNjWEJiPpcvNOO4pHU09ZagHl2kStwvltvmiK/9voZakVLLLs7ThxTGxNRVmzazMR/uGzM7gxwrnWh/HoKsye47UJSApmS0oZbNcofvV0k0HBg8/rcwqUUP0TiyoKTnm2kqIJaZFiZg3UgtiDtKwbr5dMDejy9Ia8qLyOi8ZJNEkVzUk+pd9POFUElFI3Cs7G1/7qc+rnBkljS1Fc57KZBQKFnKzj6Lc8Eie8/JaJIKJXvlaI7m1hwqg5tm3UEUp3JBslR3/zUQMCOA== Received: from MN2PR20CA0061.namprd20.prod.outlook.com (2603:10b6:208:235::30) by CH0PR12MB8530.namprd12.prod.outlook.com (2603:10b6:610:188::10) 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:23 +0000 Received: from BL02EPF00010206.namprd05.prod.outlook.com (2603:10b6:208:235:cafe::29) by MN2PR20CA0061.outlook.office365.com (2603:10b6:208:235::30) 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:23 +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 BL02EPF00010206.mail.protection.outlook.com (10.167.241.196) 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:11:23 +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:11:04 -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:02 -0800 From: Xueming Li To: Jiawen Wu CC: dpdk stable Subject: patch 'net/txgbe: fix default signal quality value for KX/KX4' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:59 +0800 Message-ID: <20230227070107.15664-91-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: BL02EPF00010206:EE_|CH0PR12MB8530:EE_ X-MS-Office365-Filtering-Correlation-Id: d3bed5a3-d67d-4ec6-323a-08db1891d59a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PEH+qs9cXu+bRR25EBGzvymcXRQneuLKxRJbHpjxs6gfIoA4f7Ha0Ex/Xs1n16yjkfu6taCXQ14vGxlymYWUBDvRhnYwB5ZXdvMh8MTuoFPPtVf8ZCWdyQHw6lmPy4HjfMUze1J5N9NRUo5im9D/wU6pdNLU0sEHkzFvba+4neX7cM/QnLM7b03kR1SFgAkk97VlPHoLtnFwzxq4IxRqYNR7x5d4Lb8uK+PCiYfYI5xmb4Cg4MtF8DIZNRLPEyu8oRYqEC6lgY36eCmWqLVeS3q312Jm62+gANcIfodJWyiPSGcbrYDmhBa9fpJTaPiGq6mCzZL5zx8O3OtcQzOFYjJu2ccYvu+v+wzwKJ8B6QXhf+PdaratDHO3qbM6P/j/2mni5OynzrASRRkS+9yEQx31IfF2pORNJe+q6BHldLNpCcRI+Csjcgz6rKMC/DgonFLa4N2ksE3eS78d1igGlkEBTo4kYy1CmB4EpUlmWe8/TD6gQONzgWz1eZhbGaXTdgxUZ9UGYd96bHs8oT5lNbLOzD7RADIauU6Dpwl1Dme2UyLckb+rXy6WFUrgbX3sPy5tg5vlz9yIeaAnzYNlsk8ED8yevMzatulJ1jOwYcbdyOERa9N2KOsk7g7f7qlXT6/rfQbp0jgEZnEa3NZwymHB1ii3COnAVA/fU+Z9uY7e+C16ChntS1DWxzV6/jfv7CfgxmDO7rYJyhQhhp/Dymdnnp1wrATAJaV5eSwjsWSLdTuZq3GQhBXQGV9VsUepJXTrDyVy7aebrF8TkEMivpfIlp65psgkDiVfP87NPN8= 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)(346002)(136003)(376002)(451199018)(46966006)(40470700004)(36840700001)(82740400003)(7636003)(316002)(36860700001)(2906002)(36756003)(40460700003)(5660300002)(8936002)(40480700001)(55016003)(86362001)(53546011)(1076003)(70206006)(70586007)(186003)(26005)(6286002)(16526019)(8676002)(6916009)(4326008)(356005)(41300700001)(2616005)(336012)(82310400005)(426003)(478600001)(83380400001)(47076005)(7696005)(966005)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:11:23.4002 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3bed5a3-d67d-4ec6-323a-08db1891d59a 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: BL02EPF00010206.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB8530 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=e7149d390bde6ed9db0ecb32883cce1b34a49ba1 Thanks. Xueming Li --- >From e7149d390bde6ed9db0ecb32883cce1b34a49ba1 Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Thu, 2 Feb 2023 17:21:25 +0800 Subject: [PATCH] net/txgbe: fix default signal quality value for KX/KX4 Cc: Xueming Li [ upstream commit 7211175417d4f6a7b03a0e7e7355dc62fced8512 ] On old firmware versions, the default value of signal quality(TX_EQ) is configured by the driver. Fix it for KX/KX4 mode. Fixes: 01c3cf5c85a7 ("net/txgbe: add autoneg control read and write") Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_phy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/txgbe/base/txgbe_phy.c b/drivers/net/txgbe/base/txgbe_phy.c index 9f46d5bdb0..87935abdaa 100644 --- a/drivers/net/txgbe/base/txgbe_phy.c +++ b/drivers/net/txgbe/base/txgbe_phy.c @@ -1693,9 +1693,10 @@ txgbe_set_link_to_kx4(struct txgbe_hw *hw, bool autoneg) wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL1, value); } else if (hw->fw_version <= TXGBE_FW_N_TXEQ) { value = (0x1804 & ~0x3F3F); + value |= 40 << 8; wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL0, value); - value = (0x50 & ~0x7F) | 40 | (1 << 6); + value = (0x50 & ~0x7F) | (1 << 6); wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL1, value); } out: @@ -1907,10 +1908,10 @@ txgbe_set_link_to_kx(struct txgbe_hw *hw, value |= hw->phy.ffe_post | (1 << 6); wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL1, value); } else if (hw->fw_version <= TXGBE_FW_N_TXEQ) { - value = (0x1804 & ~0x3F3F) | (24 << 8) | 4; + value = (0x1804 & ~0x3F3F) | (40 << 8); wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL0, value); - value = (0x50 & ~0x7F) | 16 | (1 << 6); + value = (0x50 & ~0x7F) | (1 << 6); wr32_epcs(hw, TXGBE_PHY_TX_EQ_CTL1, value); } out: -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:43.836867800 +0800 +++ 0092-net-txgbe-fix-default-signal-quality-value-for-KX-KX.patch 2023-02-27 14:08:40.819237000 +0800 @@ -1 +1 @@ -From 7211175417d4f6a7b03a0e7e7355dc62fced8512 Mon Sep 17 00:00:00 2001 +From e7149d390bde6ed9db0ecb32883cce1b34a49ba1 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 7211175417d4f6a7b03a0e7e7355dc62fced8512 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org