net/mlx5: clean meter resources
authorSuanming Mou <suanmingm@mellanox.com>
Fri, 8 Nov 2019 03:49:25 +0000 (05:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commit02e76468180c21d2f15c768b73457ce00e3bd3f4
tree22a14d01e91f2972efdd6450a331d5205babada4
parent8d72fa668964b1e4e1834ec0b9f19cb356a90a6e
net/mlx5: clean meter resources

When the port is closed or program exits ungraceful, the meter rulers
should be flushed after the flow destroyed.

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