Skip to content

Commit

Permalink
hv_netvsc: use napi_schedule_irqoff
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Mar 5, 2018
1 parent d64e38a commit 68633ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/hyperv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 68633ed

Please sign in to comment.