net: ena: use napi_schedule_irqoff when possible
authorNetanel Belgazal <netanel@amazon.com>
Fri, 23 Jun 2017 08:21:56 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 18:15:10 +0000 (14:15 -0400)
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c

index 04aade8420972e91ca1ab103a4f5417502ef96dc..424b4d7e642f37f9b431fd1d0f2530e03b18ed13 100644 (file)
@@ -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;
 }