projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3762149
)
r8169: switch to napi_schedule_irqoff
author
Heiner Kallweit
<hkallweit1@gmail.com>
Tue, 17 Apr 2018 21:21:01 +0000
(23:21 +0200)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Apr 2018 01:11:58 +0000
(21:11 -0400)
napi_schedule() is called from hard irq context, so we can switch to
napi_schedule_irqoff() and avoid some overhead.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index
cc88e8e
..
34447a2
100644
(file)
--- a/
drivers/net/ethernet/realtek/r8169.c
+++ b/
drivers/net/ethernet/realtek/r8169.c
@@
-7473,7
+7473,7
@@
static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
handled = 1;
rtl_irq_disable(tp);
- napi_schedule(&tp->napi);
+ napi_schedule
_irqoff
(&tp->napi);
}
}
return IRQ_RETVAL(handled);