diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-02 16:49:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 22:18:20 -0500 |
commit | 68633edaef655ce94e51088ecef5dd4e1d2f6f34 (patch) | |
tree | 2ce8a820f26389fd706dda53f1401d89559207f4 | |
parent | d64e38ae690e3337db0d38d9b149a193a1646c4b (diff) |
hv_netvsc: use napi_schedule_irqoff
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>
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 4237cedc4f08..0265d703eb03 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c | |||
@@ -1233,7 +1233,7 @@ void netvsc_channel_cb(void *context) | |||
1233 | /* disable interupts from host */ | 1233 | /* disable interupts from host */ |
1234 | hv_begin_read(rbi); | 1234 | hv_begin_read(rbi); |
1235 | 1235 | ||
1236 | __napi_schedule(&nvchan->napi); | 1236 | __napi_schedule_irqoff(&nvchan->napi); |
1237 | } | 1237 | } |
1238 | } | 1238 | } |
1239 | 1239 | ||