virtio_net: return already tracked tx_fifo_errors via virtnet_getstats()
authorRick Jones <rick.jones2@hp.com>
Mon, 21 Nov 2011 09:28:17 +0000 (09:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 21:00:12 +0000 (16:00 -0500)
commit021ac8d387594bdf51d9a279b2f9e9defb614c9b
treecfeba6a99d109c190c7b416d16da25d37582cafb
parentb4c0e72e80e2e04b462ea05cc5a001807d7feed6
virtio_net: return already tracked tx_fifo_errors via virtnet_getstats()

Tx_fifo_errors are tracked in start_xmit_ for virtio_net, but not
reported in the tallies returned by virtnet_stats().  Return them
as the rx "sub-stats" rx_length_errors and rx_frame_errors are.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c