]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite278f36a48331511237b4257e4062e7f9d5131b7
tree64bd9993608d4bbb1728d5894ca4102935291600
parent772feb89bb91e5d61d8bb0b49ab1a6b92d4c29f2
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