net/cxgbe: use C11-style compiler builtins for atomics
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Wed, 2 Jun 2021 21:57:50 +0000 (03:27 +0530)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commita12f14bc384d9c714d280046a769ec342c1fbdc8
treee25f7737f254be2796b96bc840502eb499ceb61b
parent13fe18b3483775c2b052f4d2af330d2ef91a0835
net/cxgbe: use C11-style compiler builtins for atomics

Replace rte_atomic ops with C11 atomics.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
13 files changed:
drivers/net/cxgbe/base/t4_hw.c
drivers/net/cxgbe/clip_tbl.c
drivers/net/cxgbe/clip_tbl.h
drivers/net/cxgbe/cxgbe_ethdev.c
drivers/net/cxgbe/cxgbe_main.c
drivers/net/cxgbe/cxgbe_ofld.h
drivers/net/cxgbe/l2t.c
drivers/net/cxgbe/l2t.h
drivers/net/cxgbe/mps_tcam.c
drivers/net/cxgbe/mps_tcam.h
drivers/net/cxgbe/sge.c
drivers/net/cxgbe/smt.c
drivers/net/cxgbe/smt.h