Commit bf2fbe4
committed
bnxt_en: Set backplane link modes correctly for ethtool
JIRA: https://issues.redhat.com/browse/RHEL-54644
commit 5007991
Author: Shravya KN <shravya.k-n@broadcom.com>
Date: Fri Nov 22 14:45:42 2024 -0800
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: 5d4e1bf ("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>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>1 parent c2b3ef1 commit bf2fbe4
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2844 | 2844 | | |
2845 | 2845 | | |
2846 | 2846 | | |
2847 | | - | |
| 2847 | + | |
2848 | 2848 | | |
2849 | 2849 | | |
2850 | 2850 | | |
2851 | 2851 | | |
2852 | 2852 | | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
2853 | 2858 | | |
2854 | 2859 | | |
2855 | 2860 | | |
2856 | 2861 | | |
2857 | 2862 | | |
2858 | 2863 | | |
2859 | | - | |
| 2864 | + | |
2860 | 2865 | | |
2861 | 2866 | | |
2862 | 2867 | | |
| |||
0 commit comments