diff options
author | Anatolii Gerasymenko <[email protected]> | 2022-06-20 09:47:05 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-06-21 13:48:57 -0700 |
commit | c3d184c83ff4b80167e34edfc3d21df424bf27ff (patch) | |
tree | 8d60f5d53302da2df44206e3a8e0a905da50b329 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 3578dc90013b1fa20da996cdadd8515802716132 (diff) |
ice: ethtool: advertise 1000M speeds properly
In current implementation ice_update_phy_type enables all link modes
for selected speed. This approach doesn't work for 1000M speeds,
because both copper (1000baseT) and optical (1000baseX) standards
cannot be enabled at once.
Fix this, by adding the function `ice_set_phy_type_from_speed()`
for 1000M speeds.
Fixes: 48cb27f2fd18 ("ice: Implement handlers for ethtool PHY/link operations")
Signed-off-by: Anatolii Gerasymenko <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions