summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/rdc/r6040.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-07-04 23:36:06 +0200
committerDavid S. Miller <davem@davemloft.net>2016-07-05 09:10:29 +0200
commitffb5bce0bfd7f196dcfb3263596202cef7b4b92c (patch)
tree88a4d468b61c9612e11906bc88604f8bdeb6ecc3 /drivers/net/ethernet/rdc/r6040.c
parentnet: r6040: Check for skb->xmit_more (diff)
downloadlinux-ffb5bce0bfd7f196dcfb3263596202cef7b4b92c.tar.xz
linux-ffb5bce0bfd7f196dcfb3263596202cef7b4b92c.zip
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>
Diffstat (limited to 'drivers/net/ethernet/rdc/r6040.c')
-rw-r--r--drivers/net/ethernet/rdc/r6040.c2
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);
}
}