OSDN Git Service

hv_netvsc: Add the support of hibernation
authorDexuan Cui <decui@microsoft.com>
Wed, 25 Sep 2019 22:04:04 +0000 (22:04 +0000)
committerSasha Levin <sashal@kernel.org>
Fri, 22 Nov 2019 01:10:44 +0000 (20:10 -0500)
commit0efeea5fb15357f0a582c89c02ef0b6ef58defb5
tree96d7c5e93f6e61e487fe58d8a9893aa3985ef68b
parent2194c2eb6717f2ea7dc793ad9cbf44d359a3f696
hv_netvsc: Add the support of hibernation

The existing netvsc_detach() and netvsc_attach() APIs make it easy to
implement the suspend/resume callbacks.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c