summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_trigger.c
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_trigger.c
parentd2b84bdefc64999cf77a321207b1cda3edeef398 (diff)
downloaddpdk-a4193ae3bc4fcaf6a81b472563466946771a5f8e.zip
dpdk-a4193ae3bc4fcaf6a81b472563466946771a5f8e.tar.gz
dpdk-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_trigger.c')
-rw-r--r--drivers/net/mlx5/mlx5_trigger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index 2399243..30addd2 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -91,6 +91,7 @@ mlx5_dev_start(struct rte_eth_dev *dev)
priv_fdir_enable(priv);
priv_dev_interrupt_handler_install(priv, dev);
err = priv_flow_start(priv);
+ priv_xstats_init(priv);
priv_unlock(priv);
return -err;
}