net/mlx5: add count action to meter
authorSuanming Mou <suanmingm@mellanox.com>
Fri, 8 Nov 2019 03:49:19 +0000 (05:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commit4dedc7c639d564a87295228256383d9383f9b858
tree4d7ab9adffd083cd8574d27a944ba676d98ba626
parente189f55cd2d794152eda6fd2436584aac02ab2e8
net/mlx5: add count action to meter

Add count action to meter for metering packet statistics. All the
packets be colored and dropped will be recorded.

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