]> git.baikalelectronics.ru Git - kernel.git/commit
hyperv: Add support for vNIC hot removal
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 1 Dec 2014 21:28:39 +0000 (13:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:24:11 +0000 (20:24 -0500)
commitab62d886da239cdf0a8782d4055196ec1044f45a
treebcff2477cb791564cd2189026c088ec69b1ee217
parent948b0b97655ded448bc12a07f4a0366c2e7f7de5
hyperv: Add support for vNIC hot removal

This patch adds proper handling of the vNIC hot removal event, which includes
a rescind-channel-offer message from the host side that triggers vNIC close and
removal. In this case, the notices to the host during close and removal is not
necessary because the channel is rescinded. This patch blocks these unnecessary
messages, and lets vNIC removal process complete normally.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/hv/channel_mgmt.c
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c
include/linux/hyperv.h