projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d64e38a
)
hv_netvsc: use napi_schedule_irqoff
author
Stephen Hemminger
<stephen@networkplumber.org>
Fri, 2 Mar 2018 21:49:06 +0000
(13:49 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 5 Mar 2018 03:18:20 +0000
(22:18 -0500)
Since the netvsc_channel_cb is already called in interrupt
context from vmbus, there is no need to do irqsave/restore.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c
patch
|
blob
|
history
diff --git
a/drivers/net/hyperv/netvsc.c
b/drivers/net/hyperv/netvsc.c
index 4237cedc4f0851d135c68d6251ca7d941b741dc2..0265d703eb030515dacab7a83e84c169f89250dd 100644
(file)
--- a/
drivers/net/hyperv/netvsc.c
+++ b/
drivers/net/hyperv/netvsc.c
@@
-1233,7
+1233,7
@@
void netvsc_channel_cb(void *context)
/* disable interupts from host */
hv_begin_read(rbi);
- __napi_schedule(&nvchan->napi);
+ __napi_schedule
_irqoff
(&nvchan->napi);
}
}