mirror of
https://github.com/AuxXxilium/synology-igc.git
synced 2024-11-23 15:01:06 +07:00
igc: Fix TX timestamp support for non-MSI-X platforms
backport from f85846bbf4
Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
parent
a1830a63d4
commit
1f535f6e51
@ -4388,6 +4388,9 @@ static irqreturn_t igc_intr_msi(int irq, void *data)
|
||||
mod_timer(&adapter->watchdog_timer, jiffies + 1);
|
||||
}
|
||||
|
||||
if (icr & IGC_ICR_TS)
|
||||
igc_tsync_interrupt(adapter);
|
||||
|
||||
napi_schedule(&q_vector->napi);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
@ -4431,6 +4434,9 @@ static irqreturn_t igc_intr(int irq, void *data)
|
||||
mod_timer(&adapter->watchdog_timer, jiffies + 1);
|
||||
}
|
||||
|
||||
if (icr & IGC_ICR_TS)
|
||||
igc_tsync_interrupt(adapter);
|
||||
|
||||
napi_schedule(&q_vector->napi);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
|
Loading…
Reference in New Issue
Block a user