mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
i40e: Add advertising 10G LR mode
The advertising 10G LR mode should be possible to set but in the function i40e_set_link_ksettings() check for this is missed. This patch adds check for 10000baseLR_Full flag for 10G modes. Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
6334f2432f
commit
6ee4d32255
@ -953,7 +953,9 @@ static int i40e_set_link_ksettings(struct net_device *netdev,
|
||||
ethtool_link_ksettings_test_link_mode(ks, advertising,
|
||||
10000baseCR_Full) ||
|
||||
ethtool_link_ksettings_test_link_mode(ks, advertising,
|
||||
10000baseSR_Full))
|
||||
10000baseSR_Full) ||
|
||||
ethtool_link_ksettings_test_link_mode(ks, advertising,
|
||||
10000baseLR_Full))
|
||||
config.link_speed |= I40E_LINK_SPEED_10GB;
|
||||
if (ethtool_link_ksettings_test_link_mode(ks, advertising,
|
||||
20000baseKR2_Full))
|
||||
|
Loading…
Reference in New Issue
Block a user