OSDN Git Service

netvsc: eliminate per-device outstanding send counter
authorstephen hemminger <stephen@networkplumber.org>
Tue, 24 Jan 2017 21:06:11 +0000 (13:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:29:01 +0000 (16:29 -0500)
commit46b4f7f5d1f7410de48128540ef2d1aab913a619
tree56117dc8ca944861b483f963386192027797918f
parent2289f0aa706e5160e078f73c32fcbfb56a3ff1e2
netvsc: eliminate per-device outstanding send counter

Since now keep track of per-queue outstanding sends, we can avoid
one atomic update by removing no longer needed per-device atomic.

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