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 CCA31A00C5 for ; Wed, 20 Jul 2022 10:25:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8F07427F7; Wed, 20 Jul 2022 10:25:42 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2062.outbound.protection.outlook.com [40.107.93.62]) by mails.dpdk.org (Postfix) with ESMTP id 8A23741614 for ; Wed, 20 Jul 2022 10:25:40 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CHAdPGBNegLZikxm75l3H62ByjjgKUAdgtD7wnWpmdaN4yjCoUJAVN8YmOrQjRc3pIBbkSHiwv5j4oCBONq4XMjMPDkUD37JgEaC9Ab65eb62XnQS3FbzP8+Ua5vh+Ck5u4YOloAxJSYD5QJY3a7ys6nIJ//6kjMHN/EG5pI7bKXnS0zDRwX0qMvCf7Tn8uH/AfoNPgdFt1b5f76L20cM17zHWFwv/rxmfmdNmu/8r2jOOp7jJ2FTFDE981qlQHAhUydoXDTTAN7/5Qc9JDL50sDVdw79GIdagux53iBILdPLR10jRVkWlVVihEEm1Sh/hpeFNJi6s/tL8okGVLTag== 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=xG8QyCNzLCv5Hde3QWsglXAggyD2PJA80ljhrkWa+e0=; b=X+/Ff/vZ7XuUKIaltspGEucPkLbE3Fudo1WzEGfzSlAmdipzPmJNRK3jZD9KZdgErjA51NbFNMV/Bwt0PxxlD4mT5kA2ha5TTrGSxRJemR6DXrjVCo43K4NIamzs7GqyRdqwxuD7Zk5/54Ndb2W1xWfwR3uQaxO5LZE0pPKGPdr2gNd8LoOifwiYxqHipTHAq/Mo6zVyPxYwZUzWLoOl3lbj6zGHjWpcO80WwX+lR989Jsvv8jfP44S9LLAqzUScBAqTNLNKgr4L5d/PH5ehSo/dHbf0HW2OlJD5/5V22kY598VSOK1AK90aCFZbhKs9e95ULEmUoalXmFLiWcjaBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.236) smtp.rcpttodomain=broadcom.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=xG8QyCNzLCv5Hde3QWsglXAggyD2PJA80ljhrkWa+e0=; b=V7lPGdV2TiVXyp74sLAKW5z4snrNXE6w/nwsROMvdsk6balkzicqJzYaK7uvQ3O0MCDk0o3qKyAqVE0Xs5GZpVEQaOvABLYtGyjS68KEXK7qEQMTHFzVefYYINYEv7eEmVhSWvK9OH1TAFeOIzvSfvKeh8+QYhc6xzCcaHVCED10o7+IZHr4to7mUQCcHSKCXlbnRRjiOJ8SwMuV7u8eqXD2VXpjdALtjVOkDs7mjrOnOxchC6Wk46vgZUNNbGUViOl/Tk9zM2QMRTcuddbyXtpfCWTDiDlxQJoTLfWz+dtX6FQj9I0Eqmd6sU8eg+CyqwvJcbeTi0z2fQSCJLPa0A== Received: from MW4PR03CA0091.namprd03.prod.outlook.com (2603:10b6:303:b7::6) by DS7PR12MB6071.namprd12.prod.outlook.com (2603:10b6:8:9d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23; Wed, 20 Jul 2022 08:25:39 +0000 Received: from CO1NAM11FT036.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b7:cafe::fe) by MW4PR03CA0091.outlook.office365.com (2603:10b6:303:b7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.13 via Frontend Transport; Wed, 20 Jul 2022 08:25:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.236) 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 12.22.5.236 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.236; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.236) by CO1NAM11FT036.mail.protection.outlook.com (10.13.174.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:25:38 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL109.nvidia.com (10.27.9.19) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:25:37 +0000 Received: from nvidia.com (10.126.231.35) 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.26; Wed, 20 Jul 2022 01:25:35 -0700 From: Xueming Li To: Kalesh AP CC: , Ajit Khaparde , "Somnath Kotur" , dpdk stable Subject: patch 'net/bnxt: fix setting forced speed' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:21:14 +0300 Message-ID: <20220720082132.3954126-45-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] 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-Office365-Filtering-Correlation-Id: 8cae1bac-491a-496d-3572-08da6a296d61 X-MS-TrafficTypeDiagnostic: DS7PR12MB6071:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?wCIl24qG+Z03Q/pwwdew+RhP71XcqeZQr6XILnHHDPXzWZXFpxaKQuI0FzgO?= =?us-ascii?Q?3zlYer6JPxo3urAEvKktlzzUkH4Iil2gFkCAczQ1CAq3fqEjp+fefhJMoFI3?= =?us-ascii?Q?KAg3bDVZHP2KIpT69c5ANXI04OQuKbPt64rXhCzVaLxodgNtIxYohhBC7wcM?= =?us-ascii?Q?ecErRybBnGzarF6wL2zRltW7m1fCxFzhXleM1bYtKcQLmMMs9xd8xm8126jN?= =?us-ascii?Q?iDkWa21VD5Ft43OZCyFRTialZBSRHqgWyAbqNbLYgmH3uxJTeasOtad6d+NC?= =?us-ascii?Q?dTwptxizfb9RkRUlLKq/WfLaEDWwvv1vFn+t8esnsPHGqMw47RWhwqRtV3vX?= =?us-ascii?Q?ofI49XScm3ZodDwCu+faY7luWHrHNDs6nvhwvZAOrpv4WOArlegyAzY/6lzs?= =?us-ascii?Q?PDoX2kVNusbVar+mO4iC8W4QhHqUzAn1P5qoP7XZ2Ysa7Qr1ZPQcS7mNwXnT?= =?us-ascii?Q?tgpl84vksLHFLWqzFsvIWgarezcNvcCrZVa+Xu/OMq4Y1CJvh2X5BcEHHOMX?= =?us-ascii?Q?/9VNjp0ihYR5sTXL21kVWY5PQ5UMcdXxkIqrlqrpfcYeAYSCzSBWnTiy4BDQ?= =?us-ascii?Q?dy1bKaZ7XAxxNYNVVBz9pj3m9AXTcbi8dQ57wWT4mYf9frqhbGP3TKKOp4zW?= =?us-ascii?Q?UQpg4CkcKc5kVzgrB1vfP02gjMzILhD75MI4Ff0IpU+OGsYnFgc5EfqVBsCP?= =?us-ascii?Q?2fcgB9w78r2DC15REoyar2YVKtcnJkC9aBtTH4gculsiqVZvsBf/59iXJjs1?= =?us-ascii?Q?CyFyagDPa5qNjwb3Q7D5i1oVl132ovJUQCOzNec2xtBfyAshtagFDt8rok+J?= =?us-ascii?Q?45QN7KWSpT1PEVF8w/4KVikdOArzA7h0sarrRdcwoWJhqIRC5qeUYKIOHMt8?= =?us-ascii?Q?VtQUhfwynaDavF8t86ukszKtvxO8WRiwD4Lk443W90vNEe6zn5hA7ExmXHdW?= =?us-ascii?Q?EoFAJholGJIbRK3EFmfxFw=3D=3D?= X-Forefront-Antispam-Report: CIP:12.22.5.236; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(376002)(396003)(346002)(136003)(40470700004)(46966006)(36840700001)(8936002)(316002)(82310400005)(86362001)(4326008)(966005)(8676002)(36756003)(53546011)(40140700001)(70586007)(70206006)(81166007)(7696005)(82740400003)(6916009)(55016003)(54906003)(356005)(40460700003)(83380400001)(26005)(6666004)(2616005)(1076003)(426003)(186003)(41300700001)(36860700001)(16526019)(336012)(5660300002)(40480700001)(6286002)(478600001)(47076005)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:25:38.6543 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cae1bac-491a-496d-3572-08da6a296d61 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.236]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT036.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6071 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/22/22. 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/baf476aa4f65cf1d4db482313820b49bd35a2649 Thanks. Xueming Li --- >From baf476aa4f65cf1d4db482313820b49bd35a2649 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Wed, 15 Jun 2022 20:27:00 +0530 Subject: [PATCH] net/bnxt: fix setting forced speed Cc: Xueming Li [ upstream commit d9ae3e9d53253418e2f9f97b19849c0a625159ed ] The "active_fec_signal_mode" in HWRM_PORT_PHY_QCFG response does not return correct value till the link is up. Driver cannot rely on active_fec_signal_mode while setting forced speed. While setting forced speed of 50G/100G/200G, check if PAM4 speeds are supported for the port first and then populate the HWRM request accordingly. Also, If PAM4 speed is supported, use PAM4 supported speed while reporting speed capabilities. Fixes: c23f9ded0391 ("net/bnxt: support 200G PAM4 link") Signed-off-by: Kalesh AP Reviewed-by: Ajit Khaparde Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 11 ++++++----- drivers/net/bnxt/bnxt_hwrm.c | 27 +++++++++++++++++++-------- drivers/net/bnxt/bnxt_hwrm.h | 3 +++ 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 57db57c2a8..0ca79229e6 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -917,6 +917,7 @@ static int bnxt_shutdown_nic(struct bnxt *bp) uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) { + uint32_t pam4_link_speed = 0; uint32_t link_speed = 0; uint32_t speed_capa = 0; @@ -926,8 +927,8 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) link_speed = bp->link_info->support_speeds; /* If PAM4 is configured, use PAM4 supported speed */ - if (link_speed == 0 && bp->link_info->support_pam4_speeds > 0) - link_speed = bp->link_info->support_pam4_speeds; + if (bp->link_info->support_pam4_speeds > 0) + pam4_link_speed = bp->link_info->support_pam4_speeds; if (link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_LINK_SPEED_100MB) speed_capa |= ETH_LINK_SPEED_100M; @@ -949,11 +950,11 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) speed_capa |= ETH_LINK_SPEED_50G; if (link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_SPEEDS_100GB) speed_capa |= ETH_LINK_SPEED_100G; - if (link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_50G) + if (pam4_link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_50G) speed_capa |= ETH_LINK_SPEED_50G; - if (link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_100G) + if (pam4_link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_100G) speed_capa |= ETH_LINK_SPEED_100G; - if (link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_200G) + if (pam4_link_speed & HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_200G) speed_capa |= ETH_LINK_SPEED_200G; if (bp->link_info->auto_mode == diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 44070ca482..8b50e44fcf 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -2861,7 +2861,7 @@ static uint16_t bnxt_check_eth_link_autoneg(uint32_t conf_link) } static uint16_t bnxt_parse_eth_link_speed(uint32_t conf_link_speed, - uint16_t pam4_link) + struct bnxt_link_info *link_info) { uint16_t eth_link_speed = 0; @@ -2900,18 +2900,29 @@ static uint16_t bnxt_parse_eth_link_speed(uint32_t conf_link_speed, HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_40GB; break; case ETH_LINK_SPEED_50G: - eth_link_speed = pam4_link ? - HWRM_PORT_PHY_CFG_INPUT_FORCE_PAM4_LINK_SPEED_50GB : - HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_50GB; + if (link_info->support_pam4_speeds & + HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_50G) { + eth_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_PAM4_LINK_SPEED_50GB; + link_info->link_signal_mode = BNXT_SIG_MODE_PAM4; + } else { + eth_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_50GB; + link_info->link_signal_mode = BNXT_SIG_MODE_NRZ; + } break; case ETH_LINK_SPEED_100G: - eth_link_speed = pam4_link ? - HWRM_PORT_PHY_CFG_INPUT_FORCE_PAM4_LINK_SPEED_100GB : - HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_100GB; + if (link_info->support_pam4_speeds & + HWRM_PORT_PHY_QCFG_OUTPUT_SUPPORT_PAM4_SPEEDS_100G) { + eth_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_PAM4_LINK_SPEED_100GB; + link_info->link_signal_mode = BNXT_SIG_MODE_PAM4; + } else { + eth_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_LINK_SPEED_100GB; + link_info->link_signal_mode = BNXT_SIG_MODE_NRZ; + } break; case ETH_LINK_SPEED_200G: eth_link_speed = HWRM_PORT_PHY_CFG_INPUT_FORCE_PAM4_LINK_SPEED_200GB; + link_info->link_signal_mode = BNXT_SIG_MODE_PAM4; break; default: PMD_DRV_LOG(ERR, @@ -3133,7 +3144,7 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up) autoneg = 0; speed = bnxt_parse_eth_link_speed(dev_conf->link_speeds, - bp->link_info->link_signal_mode); + bp->link_info); link_req.phy_flags = HWRM_PORT_PHY_CFG_INPUT_FLAGS_RESET_PHY; /* Autoneg can be done only when the FW allows. */ if (autoneg == 1 && diff --git a/drivers/net/bnxt/bnxt_hwrm.h b/drivers/net/bnxt/bnxt_hwrm.h index 813ac333f7..769e3d7e03 100644 --- a/drivers/net/bnxt/bnxt_hwrm.h +++ b/drivers/net/bnxt/bnxt_hwrm.h @@ -140,6 +140,9 @@ struct bnxt_pf_resource_info { BNXT_TUNNELED_OFFLOADS_CAP_GRE_EN(bp) && \ BNXT_TUNNELED_OFFLOADS_CAP_IPINIP_EN(bp)) +#define BNXT_SIG_MODE_NRZ HWRM_PORT_PHY_QCFG_OUTPUT_SIGNAL_MODE_NRZ +#define BNXT_SIG_MODE_PAM4 HWRM_PORT_PHY_QCFG_OUTPUT_SIGNAL_MODE_PAM4 + int bnxt_hwrm_cfa_l2_clear_rx_mask(struct bnxt *bp, struct bnxt_vnic_info *vnic); int bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt *bp, struct bnxt_vnic_info *vnic, -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:01:00.920383666 +0800 +++ 0045-net-bnxt-fix-setting-forced-speed.patch 2022-07-20 15:00:58.771000399 +0800 @@ -1 +1 @@ -From d9ae3e9d53253418e2f9f97b19849c0a625159ed Mon Sep 17 00:00:00 2001 +From baf476aa4f65cf1d4db482313820b49bd35a2649 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d9ae3e9d53253418e2f9f97b19849c0a625159ed ] @@ -18 +20,0 @@ -Cc: stable@dpdk.org @@ -30 +32 @@ -index 8181e1f37a..4e4791c2db 100644 +index 57db57c2a8..0ca79229e6 100644 @@ -33 +35 @@ -@@ -903,6 +903,7 @@ static int bnxt_shutdown_nic(struct bnxt *bp) +@@ -917,6 +917,7 @@ static int bnxt_shutdown_nic(struct bnxt *bp) @@ -41 +43 @@ -@@ -912,8 +913,8 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) +@@ -926,8 +927,8 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) @@ -51,3 +53,3 @@ - speed_capa |= RTE_ETH_LINK_SPEED_100M; -@@ -935,11 +936,11 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) - speed_capa |= RTE_ETH_LINK_SPEED_50G; + speed_capa |= ETH_LINK_SPEED_100M; +@@ -949,11 +950,11 @@ uint32_t bnxt_get_speed_capabilities(struct bnxt *bp) + speed_capa |= ETH_LINK_SPEED_50G; @@ -55 +57 @@ - speed_capa |= RTE_ETH_LINK_SPEED_100G; + speed_capa |= ETH_LINK_SPEED_100G; @@ -58 +60 @@ - speed_capa |= RTE_ETH_LINK_SPEED_50G; + speed_capa |= ETH_LINK_SPEED_50G; @@ -61 +63 @@ - speed_capa |= RTE_ETH_LINK_SPEED_100G; + speed_capa |= ETH_LINK_SPEED_100G; @@ -64 +66 @@ - speed_capa |= RTE_ETH_LINK_SPEED_200G; + speed_capa |= ETH_LINK_SPEED_200G; @@ -68 +70 @@ -index 9eb8b8d56d..206ac20c0c 100644 +index 44070ca482..8b50e44fcf 100644 @@ -71 +73 @@ -@@ -2970,7 +2970,7 @@ static uint16_t bnxt_check_eth_link_autoneg(uint32_t conf_link) +@@ -2861,7 +2861,7 @@ static uint16_t bnxt_check_eth_link_autoneg(uint32_t conf_link) @@ -80 +82 @@ -@@ -3009,18 +3009,29 @@ static uint16_t bnxt_parse_eth_link_speed(uint32_t conf_link_speed, +@@ -2900,18 +2900,29 @@ static uint16_t bnxt_parse_eth_link_speed(uint32_t conf_link_speed, @@ -83 +85 @@ - case RTE_ETH_LINK_SPEED_50G: + case ETH_LINK_SPEED_50G: @@ -96 +98 @@ - case RTE_ETH_LINK_SPEED_100G: + case ETH_LINK_SPEED_100G: @@ -109 +111 @@ - case RTE_ETH_LINK_SPEED_200G: + case ETH_LINK_SPEED_200G: @@ -116 +118 @@ -@@ -3242,7 +3253,7 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up) +@@ -3133,7 +3144,7 @@ int bnxt_set_hwrm_link_config(struct bnxt *bp, bool link_up) @@ -126 +128 @@ -index 77f8521406..a82d9fb3ef 100644 +index 813ac333f7..769e3d7e03 100644 @@ -129 +131 @@ -@@ -141,6 +141,9 @@ struct bnxt_pf_resource_info { +@@ -140,6 +140,9 @@ struct bnxt_pf_resource_info {