hv_netvsc: remove VF in flight counters
authorStephen Hemminger <sthemmin@microsoft.com>
Thu, 22 Sep 2016 23:56:34 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 12:39:49 +0000 (08:39 -0400)
commit9cbcc4280645f0e7e19e6a0da443ec7e69cecf40
tree9853d5d2e8fec8108df235c5bacf8ee67e4044ea
parentf207c10d982388fa42710922ad1c0c9d3ba9a87b
hv_netvsc: remove VF in flight counters

Since VF reference is now protected by RCU, no longer need the VF usage
counter and can use device flags to see whether to inject or not.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c