net/mlx5: simplify sample attributes
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:46 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit27eb204fc2a84b254bcecce75a6f4d3044c13074
tree6d36837f4f1b0fd78df5ffc9d475422817bbb1f5
parent3422af2af2e40576dcfa20c24e24d026f8b2bfb3
net/mlx5: simplify sample attributes

Currently, the sample action resource already has ft_type to indicate
the action domain attribute, the extra flow attributes parameter can
be optimized.

This commit uses action resource ty_type as domain attribute instead of
the flow attribute.

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