mlx4_en: eth statistics modification
authorEugenia Emantayev <eugenia@mellanox.co.il>
Thu, 19 Jan 2012 09:45:05 +0000 (09:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2012 20:08:43 +0000 (15:08 -0500)
commit93ece0c1a7ace88f10411dbb5643d2aa2fe00ebf
treec6a00edd4504b9c026bc555e3d74fe155cacadbf
parent35fb9afbdeef9d5859d9a878d0372907baf119e1
mlx4_en: eth statistics modification

In native mode display all available staticstics.
In SRIOV mode on VF display only SW counters statistics,
in SRIOV mode on hypervisor display SW counters and errors (got from FW)
statistics.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/device.h