On Fri, Mar 20, 2026 at 06:05:37AM +0100, Aleksandr Loktionov wrote: > From: Paul Greenwalt <[email protected]> > > When setting PHY configuration during driver initialization, 200G link > speed is not being advertised even when the PHY is capable. This is > because the get PHY capabilities link speed response is being masked by > ICE_AQ_LINK_SPEED_M, which does not include the 200G link speed bit. > > ICE_AQ_LINK_SPEED_200GB is defined as BIT(11), but the mask 0x7FF only > covers bits 0-10. Fix ICE_AQ_LINK_SPEED_M to use GENMASK(11, 0) so > that it covers all defined link speed bits including 200G. > > Fixes: 24407a01e57c ("ice: Add 200G speed/phy type use") > Signed-off-by: Paul Greenwalt <[email protected]> > Signed-off-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
