RE: [PATCH][PATCH net-next] hv_netvsc: Add the support of hibernation

2019-09-12 Thread Dexuan Cui
> From: Haiyang Zhang > Sent: Thursday, September 12, 2019 6:50 AM > > -Original Message- > > From: Dexuan Cui > > Sent: Wednesday, September 11, 2019 7:38 PM > > +static int netvsc_suspend(struct hv_device *dev) > > +{ > > + struct net_device_context *ndev_ctx; > > + struct

RE: [PATCH][PATCH net-next] hv_netvsc: Add the support of hibernation

2019-09-12 Thread Haiyang Zhang
vger.kernel.org; Michael Kelley > Cc: Dexuan Cui > Subject: [PATCH][PATCH net-next] 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 >

[PATCH][PATCH net-next] hv_netvsc: Add the support of hibernation

2019-09-11 Thread Dexuan Cui
The existing netvsc_detach() and netvsc_attach() APIs make it easy to implement the suspend/resume callbacks. Signed-off-by: Dexuan Cui --- This patch is basically a pure Hyper-V specific change and it has a build dependency on the commit 271b2224d42f ("Drivers: hv: vmbus: Implement