hv_netvsc: add ethtool statistics for tx packet issues
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 23 Aug 2016 19:17:57 +0000 (12:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 19:05:38 +0000 (12:05 -0700)
commit4323b47cf8edfe95bd58e20965667e71121c866e
treef0390ea6a1d24e1fea5f8898aab37170232dfdc0
parente3f74b841d482e962b9f5a907eeb25eeeb09aa60
hv_netvsc: add ethtool statistics for tx packet issues

Printing console messages is not helpful when system is out of memory;
and can be disastrous with netconsole. Instead keep statistics
of these anomalous conditions.

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