[0/2] net/hns3: fix mailbox bug and replace __atomic_xxx API

Message ID 20231111015915.2776769-1-haijie1@huawei.com (mailing list archive)
Headers
Series net/hns3: fix mailbox bug and replace __atomic_xxx API |

Message

Jie Hai Nov. 11, 2023, 1:59 a.m. UTC
  This patch fixes sync mailbox failure and replace gcc builtin __atomic_xxx 
with stdatomic API.

Dengdui Huang (1):
  net/hns3: fix sync mailbox failure forever

Jie Hai (1):
  net/hns3: use stdatomic API

 drivers/net/hns3/hns3_cmd.c       | 25 +++++----
 drivers/net/hns3/hns3_dcb.c       |  3 +-
 drivers/net/hns3/hns3_ethdev.c    | 51 +++++++++++-------
 drivers/net/hns3/hns3_ethdev.h    | 12 +++--
 drivers/net/hns3/hns3_ethdev_vf.c | 57 ++++++++++----------
 drivers/net/hns3/hns3_intr.c      | 39 ++++++++------
 drivers/net/hns3/hns3_mbx.c       | 87 ++++++-------------------------
 drivers/net/hns3/hns3_mbx.h       | 10 ----
 drivers/net/hns3/hns3_mp.c        |  9 ++--
 drivers/net/hns3/hns3_rxtx.c      | 15 ++++--
 drivers/net/hns3/hns3_tm.c        |  6 ++-
 11 files changed, 144 insertions(+), 170 deletions(-)
  

Comments

Ferruh Yigit Nov. 11, 2023, 5:22 a.m. UTC | #1
On 11/11/2023 1:59 AM, Jie Hai wrote:
> This patch fixes sync mailbox failure and replace gcc builtin __atomic_xxx 
> with stdatomic API.
> 
> Dengdui Huang (1):
>   net/hns3: fix sync mailbox failure forever
> 
> Jie Hai (1):
>   net/hns3: use stdatomic API
> 

Switching to stdatomic is not urgent, it can wait next release, also it
fails to build in all platforms, so only 1/2 merged.