|
@@ -340,7 +340,7 @@ static void i40e_get_settings_link_up(struct i40e_hw *hw,
|
|
SUPPORTED_1000baseT_Full;
|
|
SUPPORTED_1000baseT_Full;
|
|
if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
|
|
if (hw_link_info->requested_speeds & I40E_LINK_SPEED_1GB)
|
|
ecmd->advertising |= ADVERTISED_1000baseT_Full;
|
|
ecmd->advertising |= ADVERTISED_1000baseT_Full;
|
|
- if (pf->hw.mac.type == I40E_MAC_X722) {
|
|
|
|
|
|
+ if (pf->flags & I40E_FLAG_100M_SGMII_CAPABLE) {
|
|
ecmd->supported |= SUPPORTED_100baseT_Full;
|
|
ecmd->supported |= SUPPORTED_100baseT_Full;
|
|
if (hw_link_info->requested_speeds &
|
|
if (hw_link_info->requested_speeds &
|
|
I40E_LINK_SPEED_100MB)
|
|
I40E_LINK_SPEED_100MB)
|