Skip to content

Commit 68633ed

Browse files
shemmingerdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d64e38a commit 68633ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/hyperv/netvsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ void netvsc_channel_cb(void *context)
12331233
/* disable interupts from host */
12341234
hv_begin_read(rbi);
12351235

1236-
__napi_schedule(&nvchan->napi);
1236+
__napi_schedule_irqoff(&nvchan->napi);
12371237
}
12381238
}
12391239

0 commit comments

Comments
 (0)