net/mlx5_core: Support physical port counters
authorGal Pressman <galp@mellanox.com>
Tue, 4 Aug 2015 11:05:47 +0000 (14:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 05:00:59 +0000 (22:00 -0700)
commitefea389d3cc6427a9a94e92b2d7bf4c862f2cfcf
tree5138363ece7324da94ba2a9827a51fff73b4c915
parent9b37b07fcb0e00a9c0b605b7b28c2d200f4eb064
net/mlx5_core: Support physical port counters

Added physical port counters in the following standard formats to
ethtool statistics:
  - IEEE 802.3
  - RFC2863
  - RFC2819

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h