提交 68633eda 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

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: NStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d64e38ae
...@@ -1233,7 +1233,7 @@ void netvsc_channel_cb(void *context) ...@@ -1233,7 +1233,7 @@ void netvsc_channel_cb(void *context)
/* disable interupts from host */ /* disable interupts from host */
hv_begin_read(rbi); hv_begin_read(rbi);
__napi_schedule(&nvchan->napi); __napi_schedule_irqoff(&nvchan->napi);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册