[PATCH 2/2] net/hns3: use stdatomic API

2023-12-10 Thread Jie Hai
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional stdatomic API. Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_cmd.c | 24 +++ drivers/net/hns3/hns3_dcb.c | 3 +- drivers/net/hns3/hns3_ethdev.c| 52 ++

Re: [PATCH 2/2] net/hns3: use stdatomic API

2023-11-10 Thread lihuisong (C)
Reviewed-by: Huisong Li 在 2023/11/11 9:59, Jie Hai 写道: Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional stdatomic API. Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_cmd.c | 22 +++- drivers/net/hns3/hns3_dcb.c | 3 +-

[PATCH 2/2] net/hns3: use stdatomic API

2023-11-10 Thread Jie Hai
Replace the use of gcc builtin __atomic_xxx intrinsics with corresponding rte_atomic_xxx optional stdatomic API. Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_cmd.c | 22 +++- drivers/net/hns3/hns3_dcb.c | 3 +- drivers/net/hns3/hns3_ethdev.c| 51 -