diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-02 13:49:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 22:18:20 -0500 |
commit | 68633edaef655ce94e51088ecef5dd4e1d2f6f34 (patch) | |
tree | 2ce8a820f26389fd706dda53f1401d89559207f4 /drivers/net | |
parent | d64e38ae690e3337db0d38d9b149a193a1646c4b (diff) | |
download | linux-68633edaef655ce94e51088ecef5dd4e1d2f6f34.tar.bz2 |
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>
Diffstat (limited to 'drivers/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) /* disable interupts from host */ hv_begin_read(rbi); - __napi_schedule(&nvchan->napi); + __napi_schedule_irqoff(&nvchan->napi); } } |