net: mvneta: discriminate error cause for missed packet
authorGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 18 Jul 2018 16:10:54 +0000 (18:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 05:12:55 +0000 (22:12 -0700)
commit17a96da627163d82776e2dc3198deef68cf077e0
tree64bd9993608d4bbb1728d5894ca4102935291600
parentc307e2a895c9ce4040e68f034008c289209ce482
net: mvneta: discriminate error cause for missed packet

In order to improve the diagnostic in case of error, make the distinction
between refill error and skb allocation error. Also make the information
available through the ethtool state.

Based on the work of Yelena Krivosheev <yelena@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c