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 5E73DA0548 for ; Sun, 28 Nov 2021 16:01:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 565844068A; Sun, 28 Nov 2021 16:01:47 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2072.outbound.protection.outlook.com [40.107.96.72]) by mails.dpdk.org (Postfix) with ESMTP id D77904068E for ; Sun, 28 Nov 2021 16:01:45 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YSwedgnR+0tUF8vgutPe7iLhfaNMslhb7hbTBS8KW8+k7gCLI8OHDqcGMwQvO4ThS5LOnIjtULzFmgZ8raFC+uaPH2/eqGOc/AHKaNw0wyehrAQO7N6SJb+gXn4MeE2B6pQS5mQ2Yx6qF7ia7DktZ3pyZOMCgOivW1SU4u2sS3MqB8AmL8MWvN5W/K7WgZW6R3vldpb/1HrdB2XUiJH2tpgjmd5Z1Mi4lPyUz0/eAebVQ5Fm4amspxNBbKAaE49aB5VhdsU2BcZhkIXm/9/nXKCmM9q5Q+EuC64mRUTh1Su7T8V/5v8E7GJ0rmgpKXDRIbNLF5kb1IvkvdoHLe3H6A== 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=lF3B9PNLnCmURjVKJqeYQjQrnho8a08QoJWdILpBC5g=; b=GiAgOAjjYkH5icLVxNW6XFpbgHNehPLfGdBy2ZzfBmNjDgjG/UnzbIVsAEeW3cQdP4oKvbeK5mFtqpVbPifTW9Vvkrix5l0N796vJAbFwa3M9C+G4qaSZGXAiJGzvBmIEg9cBaxqEmIGvX1FMbBGqDRbFo+HUhkJ4moU/Ai6T3T8toc0yBeaUvOL95ZsDG10UK3BDPH7tcXPQmnVXoE0akGoIslEqgbBNJB0rSgrtOeFi95NaErydzcJgJEoOyGQup4a0752CLFIbjmoC/zMPGI5qtGe/j5J2dipUTsjTVjnxw0rTNjV5/C79z7KjxSZeiX/kzvGWsG3S+xdAutsBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=broadcom.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=lF3B9PNLnCmURjVKJqeYQjQrnho8a08QoJWdILpBC5g=; b=JSB/kRqOen60LPp2CVhki0iqUanbL+dE5eMkcQRnfR0w7+I9JSWjHTvclPP9OSV/kW0jTZOvlEJq5SxpL+ykTkfAPTsUiOM1kH8xGuXibKlDBsbgRdPatGez6UPNNo1Wjq0LJQa7O5zyF6hfBE8FYaiYCIypE6GHvWhwE99kYYtPhUf22CKVDlcyf60X6ie0sfdseRfYdO2DSgDS8eWQvA8VAHzie3T1t4V7ZNKf/ZvrdPjhGPPZEvi+KRkGAENh8Bt2XyEnwTLeu2+enyw5SbBhgkHlcrZTCnawAnPShau6fL4RuHEW+xnInM+eHtreozLDaW9njU1ZgytBkjjKaA== Received: from BN0PR02CA0031.namprd02.prod.outlook.com (2603:10b6:408:e5::6) by MWHPR12MB1822.namprd12.prod.outlook.com (2603:10b6:300:114::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Sun, 28 Nov 2021 15:01:42 +0000 Received: from BN8NAM11FT031.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e5:cafe::d1) by BN0PR02CA0031.outlook.office365.com (2603:10b6:408:e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 15:01:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.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 BN8NAM11FT031.mail.protection.outlook.com (10.13.177.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 15:01:41 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 15:01:39 +0000 From: Xueming Li To: Somnath Kotur CC: Luca Boccassi , Charles Brett , Ajit Khaparde , dpdk stable Subject: patch 'net/bnxt: fix autoneg on PAM4 links' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:54:08 +0800 Message-ID: <20211128145423.3974892-65-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bd872935-2d1e-4b4c-8e4d-08d9b27ffc74 X-MS-TrafficTypeDiagnostic: MWHPR12MB1822: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z/9JiR2ZIeHWSfVN0RDU12BBfXrav/lYOcUWTW+wNAzD5Kft4xQhOvxHpa6M9HSCRwiY4AlrK0wbqpx1NdxjpQcTT3ljhD5XuByoPMSxFs/OnzXeuBJoOPWbg0wZN0yVBPUmeEz3et34q5Q/t29ub5SU4llWsnIr04n1vQ91L3VJjAdD7TLA5r5t6MklJ9JA+A+P8Lnmb/Ohbs3t/e8JfFalzFFEAdPKTKQpkkWfk88f3ORFqHGgi+S26wfdpIjNkE7XX6J1gyQ2nbZDEXKmlp9129tJxtp3mJJ4Iu6Er1C2dCFjlkny99WsDJG7c9glg6xMmJw1M2QGsOk20+3qFApOi4U3Oi/aoNgyFD/EUL3UYqgICWyZh4llBai3HNvhmW03AmoyFadSpUc6NbBwzB78iJn8KEIP4R6+Zf+l8yZBJ103JqtiwPcsZVJxxTZprYWbsL+Zzi9d6r0T3qLJeHUAMRGrCxRPaCnuDmlHAjC/SFwsTexfP4p0sFBxsY8IfVmdZcpIt2PzXo0ERI1SHwGq07G0LV9DYJFzrJaSLxUrgT4bFz3Xw5FQdWY3ChYgE+3wJAGKL9JkuuYkSeozYfcnPekWP4Z90JsfJh8PXtPKXztXouvaAX0TvRn0tHssOZWVsf4ZOUk5CTg8vEd95rFsKhLkedr3oDXIvuVqRi1dBdLjTN/YcEcFxK9exJRdQrhqNTdJQKKjiuR24crg4EQb7SV3u22hQVg2pnV62qirwO4Lxg44Xk2HsnypQRMUBnF8FXGIhnIYA964YxqRP+VaAMMmBaG3V7bRg0uCLJaTFoCwd4nDFyXDAnvHer5gucYVYA8MDcDr+uc+V+P09w== 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)(46966006)(36840700001)(86362001)(70586007)(83380400001)(70206006)(6666004)(7636003)(316002)(36756003)(6286002)(6916009)(54906003)(5660300002)(53546011)(7696005)(2906002)(356005)(426003)(8936002)(186003)(16526019)(966005)(4001150100001)(336012)(55016003)(82310400004)(508600001)(2616005)(4326008)(47076005)(1076003)(36860700001)(26005)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 15:01:41.4114 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd872935-2d1e-4b4c-8e4d-08d9b27ffc74 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: BN8NAM11FT031.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1822 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 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/30/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/932ade3bdcaceccd3704b34d13ed7ae1cebe2734 Thanks. Xueming Li --- >From 932ade3bdcaceccd3704b34d13ed7ae1cebe2734 Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Thu, 18 Nov 2021 09:34:39 +0530 Subject: [PATCH] net/bnxt: fix autoneg on PAM4 links Cc: Xueming Li [ upstream commit e806385c6deaba31b7f81931c44e7867a2ebdfb7 ] If autonegotiation was enabled, driver was not passing the 'auto_pam4_link_speeds' obtained during init and stored in bp->link_info to bnxt_hwrm_port_phy_cfg(). This would result in an incorrect setting being passed to the HW during PHY configuration. This in turn, would result in invalid settings being retrieved and configured in subsequent application loads resulting in launch failures. Bugzilla ID: 791 Fixes: c23f9ded0391 ("net/bnxt: support 200G PAM4 link") Reported-by: Charles Brett Reviewed-by: Ajit Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_hwrm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index b78e099a5e..71ddc6f55d 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -3148,6 +3148,8 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up) link_req.auto_link_speed_mask = bnxt_parse_eth_link_speed_mask(bp, dev_conf->link_speeds); + link_req.auto_pam4_link_speeds = + bp->link_info->auto_pam4_link_speeds; } else { if (bp->link_info->phy_type == HWRM_PORT_PHY_QCFG_OUTPUT_PHY_TYPE_BASET || -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:06.514543200 +0800 +++ 0064-net-bnxt-fix-autoneg-on-PAM4-links.patch 2021-11-28 22:41:03.406872744 +0800 @@ -1 +1 @@ -From e806385c6deaba31b7f81931c44e7867a2ebdfb7 Mon Sep 17 00:00:00 2001 +From 932ade3bdcaceccd3704b34d13ed7ae1cebe2734 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e806385c6deaba31b7f81931c44e7867a2ebdfb7 ] @@ -15 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index 6de3b92c40..7f51c61097 100644 +index b78e099a5e..71ddc6f55d 100644 @@ -28 +30 @@ -@@ -3247,6 +3247,8 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up) +@@ -3148,6 +3148,8 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up)