r8169: switch to napi_schedule_irqoff
napi_schedule() is called from hard irq context, so we can switch to napi_schedule_irqoff() and avoid some overhead. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
37621493b8
commit
9a899a35b0
1 changed files with 1 additions and 1 deletions
|
@ -7473,7 +7473,7 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
|
|||
handled = 1;
|
||||
|
||||
rtl_irq_disable(tp);
|
||||
napi_schedule(&tp->napi);
|
||||
napi_schedule_irqoff(&tp->napi);
|
||||
}
|
||||
}
|
||||
return IRQ_RETVAL(handled);
|
||||
|
|
Loading…
Reference in a new issue