summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_defs.h
diff options
context:
space:
mode:
authorShahaf Shuler <shahafs@mellanox.com>2017-01-17 16:37:08 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-01-17 20:13:13 +0100
commita4193ae3bc4fcaf6a81b472563466946771a5f8e (patch)
tree403a4722d591e72cb83837cd786390e4d9ca2d36 /drivers/net/mlx5/mlx5_defs.h
parentd2b84bdefc64999cf77a321207b1cda3edeef398 (diff)
downloaddpdk-next-eventdev-a4193ae3bc4fcaf6a81b472563466946771a5f8e.zip
dpdk-next-eventdev-a4193ae3bc4fcaf6a81b472563466946771a5f8e.tar.gz
dpdk-next-eventdev-a4193ae3bc4fcaf6a81b472563466946771a5f8e.tar.xz
net/mlx5: support extended statistics
Implement extended statistics callbacks. Suggested-by: Hanoch Haim <hhaim@cisco.com> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Signed-off-by: Elad Persiko <eladpe@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_defs.h')
-rw-r--r--drivers/net/mlx5/mlx5_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index b32816e..beabb70 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -79,4 +79,7 @@
/* Alarm timeout. */
#define MLX5_ALARM_TIMEOUT_US 100000
+/* Maximum number of extended statistics counters. */
+#define MLX5_MAX_XSTATS 32
+
#endif /* RTE_PMD_MLX5_DEFS_H_ */