[0/2] bugfix and replace on use of stdatomic API

Message ID 20231211073904.811243-1-haijie1@huawei.com (mailing list archive)
Headers
Series bugfix and replace on use of stdatomic API |

Message

Jie Hai Dec. 11, 2023, 7:39 a.m. UTC
  This patchset fixes bug on stdatomic API in lib and test,
and replaces all __atomic_XX with rte_atomic_XXX of hns3 driver.

Jie Hai (2):
  eal: fix constraints on stdatomic API
  net/hns3: use stdatomic API

 app/test/test_atomic.c               |  6 +--
 drivers/net/hns3/hns3_cmd.c          | 24 ++++++----
 drivers/net/hns3/hns3_dcb.c          |  3 +-
 drivers/net/hns3/hns3_ethdev.c       | 52 +++++++++++++--------
 drivers/net/hns3/hns3_ethdev.h       | 36 ++++++++-------
 drivers/net/hns3/hns3_ethdev_vf.c    | 68 +++++++++++++++-------------
 drivers/net/hns3/hns3_intr.c         | 47 ++++++++++---------
 drivers/net/hns3/hns3_intr.h         |  4 +-
 drivers/net/hns3/hns3_mbx.c          |  9 ++--
 drivers/net/hns3/hns3_mp.c           |  9 ++--
 drivers/net/hns3/hns3_rxtx.c         | 15 ++++--
 drivers/net/hns3/hns3_tm.c           |  6 ++-
 lib/eal/include/generic/rte_atomic.h | 12 ++---
 13 files changed, 169 insertions(+), 122 deletions(-)