[PATCH net 03/18] net/ena: use napi_schedule_irqoff when possible

From: Netanel Belgazal
Date: Sun Nov 20 2016 - 03:46:22 EST


Signed-off-by: Netanel Belgazal <netanel@xxxxxxxxxxxxxxxxx>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c
index 8815217..e3acf76 100644
--- a/drivers/net/ethernet/amazon/ena/ena_netdev.c
+++ b/drivers/net/ethernet/amazon/ena/ena_netdev.c
@@ -1181,7 +1181,7 @@ static irqreturn_t ena_intr_msix_io(int irq, void *data)
{
struct ena_napi *ena_napi = data;

- napi_schedule(&ena_napi->napi);
+ napi_schedule_irqoff(&ena_napi->napi);

return IRQ_HANDLED;
}
--
1.9.1