mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00: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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue