netvsc: keep track of some non-fatal overload conditions
authorstephen hemminger <stephen@networkplumber.org>
Thu, 10 Aug 2017 00:46:12 +0000 (17:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:00:07 +0000 (14:00 -0700)
commitcad5c197704d82faf33ffdbef414f15db08d9ef9
treecf0ded26e32303739cb21d1357a799438f901cc2
parent8b5327975ae171ca54dfd93e6c042d1292945867
netvsc: keep track of some non-fatal overload conditions

Add ethtool statistics for case where send chimmeny buffer is
exhausted and driver has to fall back to doing scatter/gather
send. Also, add statistic for case where ring buffer is full and
receive completions are delayed.

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/netvsc_drv.c