Commit 2d82a0a9 authored by Michael Chan's avatar Michael Chan Committed by sanglipeng
Browse files

bnxt_en: Add missing 200G link speed reporting

stable inclusion
from stable-v5.10.177
commit 8104c795517c2f10e2720c16b216abb9a68746ee
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8104c795517c2f10e2720c16b216abb9a68746ee



--------------------------------

[ Upstream commit 581bce7b ]

bnxt_fw_to_ethtool_speed() is missing the case statement for 200G
link speed reported by firmware.  As a result, ethtool will report
unknown speed when the firmware reports 200G link speed.

Fixes: 532262ba ("bnxt_en: ethtool: support PAM4 link speeds up to 200G")
Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent bdb0cae5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment