net/mlx5: add meter statistics read and update
authorSuanming Mou <suanmingm@mellanox.com>
Fri, 8 Nov 2019 03:49:20 +0000 (05:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commitfab7f7d45049e6f1d13729b68b396263ee45ece5
tree6c4c6f97e7d94b1ec3330f69f0ce52b53e2d1afe
parent4dedc7c639d564a87295228256383d9383f9b858
net/mlx5: add meter statistics read and update

This commit add the meter statistics read and update to check the meter
statistics.

New internal functions in rte_mtr_ops callback:
1. stats_update()
2. stats_read()

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_flow_meter.c