net/mlx4_en: Moderate ethtool callback to show more statistics
authorEran Ben Elisha <[email protected]>
Mon, 30 Mar 2015 14:45:26 +0000 (17:45 +0300)
committerDavid S. Miller <[email protected]>
Tue, 31 Mar 2015 20:36:51 +0000 (16:36 -0400)
commita3333b35da1634f49aca541f2574a084221e2616
tree59f4a550f82fc8e8649436b78b42a3977027a99b
parent0b131561a7d639abb0a194d2d8fae839ce3b99e9
net/mlx4_en: Moderate ethtool callback to show more statistics

More packet statistics are now calculated and visible to the user via
ethtool:

- RX packet errors statistics.
- TX/RX drops are now calculated.
- TX multicast and broadcast statistics.
- RX/TX per priority bytes statistics.
- RX/TX no vlan packets and bytes statistics.

Signed-off-by: Eran Ben Elisha <[email protected]>
Signed-off-by: Hadar Hen Zion <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_port.c
drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h