hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()
authorMohammed Gamal <mgamal@redhat.com>
Thu, 5 Apr 2018 19:09:19 +0000 (21:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Apr 2018 02:21:00 +0000 (22:21 -0400)
commit7992894c305eaf504d005529637ff8283d0a849d
tree382afa2c0d85007d37e5d6ad4ef85be977135cbe
parent2afc5d61a7197de25a61f54ea4ecfb4cb62b1d42
hv_netvsc: Split netvsc_revoke_buf() and netvsc_teardown_gpadl()

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>
drivers/net/hyperv/netvsc.c