aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/port.c
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2015-03-30 17:45:21 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-31 16:36:50 -0400
commitb4b6e842fc590de809a2f5af472a4ba64999e6b1 (patch)
treeedd543bba9e65a660f705c8e2892dc4aeea6d82c /drivers/net/ethernet/mellanox/mlx4/port.c
parentnet/mlx4_en: Fix port counters statistics bitmask (diff)
downloadlinux-dev-b4b6e842fc590de809a2f5af472a4ba64999e6b1.tar.xz
linux-dev-b4b6e842fc590de809a2f5af472a4ba64999e6b1.zip
net/mlx4_en: Create new header file for all statistics info
Add mlx4_stats.h file and move there all statistics structs and marcos. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/port.c b/drivers/net/ethernet/mellanox/mlx4/port.c
index 553c98c70292..3f6f77112274 100644
--- a/drivers/net/ethernet/mellanox/mlx4/port.c
+++ b/drivers/net/ethernet/mellanox/mlx4/port.c
@@ -38,6 +38,7 @@
#include <linux/mlx4/cmd.h>
#include "mlx4.h"
+#include "mlx4_stats.h"
#define MLX4_MAC_VALID (1ull << 63)