net/mlx5: share tag between meter and metadata
authorSuanming Mou <suanmingm@mellanox.com>
Fri, 8 Nov 2019 03:49:24 +0000 (05:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 13:23:02 +0000 (14:23 +0100)
commit8d72fa668964b1e4e1834ec0b9f19cb356a90a6e
tree6321f241b4d9309562c86f487db4214331f7ba8d
parent9ea9b049a960f67f42a5eb9b73976a48cb45e9d9
net/mlx5: share tag between meter and metadata

In the meter flow split, metadata flow will be as the sub flow of meter
suffix flow. In meter suffix flow, there is already a unique id tag
exist as for the meter prefix and suffix flow match.

Make metadata feature and meter both share the unique id tag for match.

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