net: thunderx: Use napi_schedule_irqoff()
napi_schedule is being called from hard irq context, hence switch to napi_schedule_irqoff which avoids unneeded call to local_irq_save and local_irq_restore. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a05d484590
commit
ef0a4d8601
@ -828,7 +828,7 @@ static irqreturn_t nicvf_intr_handler(int irq, void *cq_irq)
|
||||
nicvf_disable_intr(nic, NICVF_INTR_CQ, qidx);
|
||||
|
||||
/* Schedule NAPI */
|
||||
napi_schedule(&cq_poll->napi);
|
||||
napi_schedule_irqoff(&cq_poll->napi);
|
||||
|
||||
/* Clear interrupt */
|
||||
nicvf_clear_intr(nic, NICVF_INTR_CQ, qidx);
|
||||
|
Loading…
Reference in New Issue
Block a user