ionic: add Rx dropped packet counter
authorShannon Nelson <snelson@pensando.io>
Tue, 7 Jan 2020 03:43:47 +0000 (19:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:05:06 +0000 (13:05 -0800)
commit24cfa8c76278d48fe521a363b74e36861b4462d6
tree5e11a92fc2fcc5a54fadb1e7f6cc7d47321852bc
parent3daca28f15f5e70ae54859abd66dcdb6be31ba91
ionic: add Rx dropped packet counter

Add a counter for packets dropped by the driver, typically
for bad size or a receive error seen by the device.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_stats.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c