diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2017-11-02 11:35:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 10:28:54 +0900 |
commit | 0cf737808ae7cb25e952be619db46b9147a92f46 (patch) | |
tree | ee073c8cd135bb15032092384f2f0a30826a4cc3 /drivers/net/nlmon.c | |
parent | 3928ee6485a316c8abde7e24c7f82033a1c8d3ae (diff) | |
download | linux-0cf737808ae7cb25e952be619db46b9147a92f46.tar.bz2 |
hv_netvsc: netvsc_teardown_gpadl() split
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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions