Browse Source

net: ena: use napi_schedule_irqoff when possible

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Netanel Belgazal 8 years ago
parent
commit
e745dafab0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/ethernet/amazon/ena/ena_netdev.c

+ 1 - 1
drivers/net/ethernet/amazon/ena/ena_netdev.c

@@ -1264,7 +1264,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;
 }