diff options
author | Shravya KN <shravya.k-n@broadcom.com> | 2024-11-23 01:45:42 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-11-26 17:29:31 +0300 |
commit | 5007991670941c132fb3bc0484c009cf4bcea30f (patch) | |
tree | be1f3ad02bd088faef6b2c43da7592376ae3635f /drivers/cdx/controller/cdx_controller.c | |
parent | 5311598f7f3293683cdc761df71ae3469327332c (diff) | |
download | linux-5007991670941c132fb3bc0484c009cf4bcea30f.tar.xz |
bnxt_en: Set backplane link modes correctly for ethtool
Use the return value from bnxt_get_media() to determine the port and
link modes. bnxt_get_media() returns the proper BNXT_MEDIA_KR when
the PHY is backplane. This will correct the ethtool settings for
backplane devices.
Fixes: 5d4e1bf60664 ("bnxt_en: extend media types to supported and autoneg modes")
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Shravya KN <shravya.k-n@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions