diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-05 00:36:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-05 10:10:29 +0300 |
commit | ffb5bce0bfd7f196dcfb3263596202cef7b4b92c (patch) | |
tree | 88a4d468b61c9612e11906bc88604f8bdeb6ecc3 | |
parent | 9507ffc2acf04c9b1aa02e346225d268c07d79f0 (diff) | |
download | linux-ffb5bce0bfd7f196dcfb3263596202cef7b4b92c.tar.xz |
net: r6040: Utilize __napi_schedule_irqoff
We are already in hard IRQ context, so we can use
__napi_schedule_irqoff() to save a few operations.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/rdc/r6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/rdc/r6040.c b/drivers/net/ethernet/rdc/r6040.c index 96b2d639c3c1..13ff80088268 100644 --- a/drivers/net/ethernet/rdc/r6040.c +++ b/drivers/net/ethernet/rdc/r6040.c @@ -690,7 +690,7 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id) if (likely(napi_schedule_prep(&lp->napi))) { /* Mask off RX interrupt */ misr &= ~(RX_INTS | TX_INTS); - __napi_schedule(&lp->napi); + __napi_schedule_irqoff(&lp->napi); } } |