mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
hv_netvsc: use napi_schedule_irqoff
[ Upstream commit 68633edaef ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5f8156fd34
commit
c039c53d19
@@ -1261,7 +1261,7 @@ void netvsc_channel_cb(void *context)
|
||||
/* disable interupts from host */
|
||||
hv_begin_read(rbi);
|
||||
|
||||
__napi_schedule(&nvchan->napi);
|
||||
__napi_schedule_irqoff(&nvchan->napi);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user