net/mlx5: create global drop action
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 28 Oct 2020 09:33:30 +0000 (17:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commit65b3cd0dc39b9e8f94ea8453ed43d38fab7550c0
tree2109c616c608f39ebeb9eac2ae33805a95fbe3fc
parentb80726dc5186b79192f9bac1169e64e56d03d1a2
net/mlx5: create global drop action

This commit creates the global drop action for flows instead of
maintain it in flow insertion time. The uniqueu global drop action
makes it thread safe.

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