mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ixgbevf: Make sure link status and speed are fetched
A recent change makes it necessary to set get_link_status to ensure that the driver fetches the correct, refreshed value for link status and speed when it has changed in the physical function device. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
39149d4da6
commit
aa19c2957b
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ static int ixgbevf_get_settings(struct net_device *netdev,
|
|||
ecmd->transceiver = XCVR_DUMMY1;
|
||||
ecmd->port = -1;
|
||||
|
||||
hw->mac.get_link_status = 1;
|
||||
hw->mac.ops.check_link(hw, &link_speed, &link_up, false);
|
||||
|
||||
if (link_up) {
|
||||
|
|
Loading…
Add table
Reference in a new issue