hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()
authorMohammed Gamal <mgamal@redhat.com>
Mon, 14 May 2018 22:32:20 +0000 (15:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:30 +0000 (16:17 +0200)
commitc5345b11680f22cfe8c1439fcb65f602876a9d1d
treec1765cab0fce5f77cf09bb412e632b3b1d080375
parentd8c3e04d39132d2aa72bb62df1b14b95f0af90d8
hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()

[ Commit 7992894c305eaf504d005529637ff8283d0a849d upstream. ]

Split each of the functions into two for each of send/recv buffers.
This will be needed in order to implement a fine-grained messaging
sequence to the host so that we accommodate the requirements of
different Windows versions

Fixes: 0ef58b0a05c12 ("hv_netvsc: change GPAD teardown order on older versions")
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/hyperv/netvsc.c