net/mlx5: use C11 atomics for RxQ/TxQ refcounts
authorAlexander Kozyrev <akozyrev@nvidia.com>
Tue, 27 Oct 2020 15:28:23 +0000 (15:28 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:04 +0000 (23:35 +0100)
commitb5c8b3e70cdfaafc4d08f6c2dabaff524eeb6041
treef8daa76e7de60b3440731fd37398ad5a5f1a4ca2
parent10a5fa20bbd3ad65849b268fafb7ef13c63b4ff1
net/mlx5: use C11 atomics for RxQ/TxQ refcounts

The rte_atomic API is deprecated and needs to be replaced with
C11 atomic builtins. Use the relaxed ordering for RxQ/TxQ refcounts.

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