]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4862c2f3507f1ecb6da5e3eb269d5545e2925202
tree9853d5d2e8fec8108df235c5bacf8ee67e4044ea
parent223924447ec7ea563e3778a88b4f8f91645bb825
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