]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Update proper netdev stats for rx drops
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 15 Feb 2017 06:15:25 +0000 (11:45 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:41:04 +0000 (12:41 -0500)
commit6f97b61f8a242d18b31bd978bf0e0e15dc75921c
tree5c6cca5188f4b4a122d4eef59df7393da41cabab
parentbf3f8b51e6f8c1832728d1cdf177547418e44af4
cxgb4: Update proper netdev stats for rx drops

Count buffer group drops or truncates as rx drops rather than
rx errors in netdev stats.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Arjun V <arjun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c