[azure 4.13][PATCH] hv_netvsc: netvsc_teardown_gpadl() split

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Tue Dec 12 20:34:34 UTC 2017


The patch was tested on both azure and hyper-v with positive results.

-- 
Regards,
Marcelo

On Tue, Dec 12, 2017 at 06:33:33PM -0200, Marcelo Henrique Cerri wrote:
> Sorry. Without the patch, in a 4.13 kernel modprobe freezes when
> reloading the network driver (hv_netvsc). This patch fixes the problem.
> 
> -- 
> Regards,
> Marcelo
> 
> On Tue, Dec 12, 2017 at 06:29:06PM -0200, Thadeu Lima de Souza Cascardo wrote:
> > On Tue, Dec 12, 2017 at 01:44:47PM -0200, Marcelo Henrique Cerri wrote:
> > > From: Vitaly Kuznetsov <vkuznets at redhat.com>
> > > 
> > > BugLink: http://bugs.launchpad.net/bugs/1735546
> > > 
> > 
> > What are the test results here? Looking at the bug, I didn't see
> > anything about this patch.
> > 
> > > It was found that in some cases host refuses to teardown GPADL for send/
> > > receive buffers (probably when some work with these buffere is scheduled or
> > > ongoing). Change the teardown logic to be:
> > > 1) Send NVSP_MSG1_TYPE_REVOKE_* messages
> > > 2) Close the channel
> > > 3) Teardown GPADLs.
> > > This seems to work reliably.
> > > 
> > > Signed-off-by: Vitaly Kuznetsov <vkuznets at redhat.com>
> > > Signed-off-by: David S. Miller <davem at davemloft.net>
> > > (cherry picked from commit 0cf737808ae7cb25e952be619db46b9147a92f46)
> > > Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20171212/79f81ae4/attachment.sig>


More information about the kernel-team mailing list