ixgbe: Flush the LSC mask change to prevent repeated interrupts
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d1eff35061
commit
8a0717f30c
1 changed files with 1 additions and 0 deletions
|
@ -1204,6 +1204,7 @@ static void ixgbe_check_lsc(struct ixgbe_adapter *adapter)
|
||||||
adapter->link_check_timeout = jiffies;
|
adapter->link_check_timeout = jiffies;
|
||||||
if (!test_bit(__IXGBE_DOWN, &adapter->state)) {
|
if (!test_bit(__IXGBE_DOWN, &adapter->state)) {
|
||||||
IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC);
|
IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC);
|
||||||
|
IXGBE_WRITE_FLUSH(hw);
|
||||||
schedule_work(&adapter->watchdog_task);
|
schedule_work(&adapter->watchdog_task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue