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

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Tue Dec 12 20:29:06 UTC 2017


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>




More information about the kernel-team mailing list