net/mlx5: use C11 atomics for flow tables
authorAlexander Kozyrev <akozyrev@nvidia.com>
Tue, 27 Oct 2020 15:28:24 +0000 (15:28 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commitcf7d1995b9ea9033bbe9fb0719b8278e3508db16
treead0b4d290c0c12d6ab2a759f6c841e530cf85c76
parentb5c8b3e70cdfaafc4d08f6c2dabaff524eeb6041
net/mlx5: use C11 atomics for flow tables

The rte_atomic API is deprecated and needs to be replaced with
C11 atomic builtins. Use the relaxed ordering for RTE flow tables.
Enforce Acquire/Release model for managing DevX pools.

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c