net/mlx5: use C11 atomics in packet scheduling
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Wed, 28 Oct 2020 12:44:47 +0000 (12:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:05 +0000 (23:35 +0100)
commit41c2bb635724fdf118c28878ff0a4e97c2b79e63
tree1f1eb89dfeeaacafd7c30a4f38f254f5426fd667
parent9fbe97f0cedf9214aa9031622801ad00fe05a872
net/mlx5: use C11 atomics in packet scheduling

The rte_atomic API is deprecated and needs to be replaced with
C11 atomic builtins. Use the relaxed ordering and explicit
memory barrier for Clock Queue and timestamps synchronization.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_txpp.c