summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.co.il>2012-01-19 13:45:05 +0400
committerDavid S. Miller <davem@davemloft.net>2012-01-23 00:08:43 +0400
commit93ece0c1a7ace88f10411dbb5643d2aa2fe00ebf (patch)
treec6a00edd4504b9c026bc555e3d74fe155cacadbf /include
parent35fb9afbdeef9d5859d9a878d0372907baf119e1 (diff)
downloadlinux-93ece0c1a7ace88f10411dbb5643d2aa2fe00ebf.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx4/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 5c4fe8e5bfe5..aea61905499b 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -621,6 +621,7 @@ void mlx4_unregister_mac(struct mlx4_dev *dev, u8 port, u64 mac);
int mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac);
int mlx4_get_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int *qpn);
void mlx4_put_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int qpn);
+void mlx4_set_stats_bitmap(struct mlx4_dev *dev, u64 *stats_bitmap);
int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx);
int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index);