This patchset fixes the failure on sync mailbox and refactors some codes on mailbox, also replace gcc builtin __atomic_xxx with rte_atomic_xxx.
-- v2: 1. fix misspelling error in commit log and codes. 2. replace __atomic_xxx with rte_atomic_xxx. -- Dengdui Huang (5): net/hns3: fix sync mailbox failure forever net/hns3: refactor VF mailbox message struct net/hns3: refactor PF mailbox message struct net/hns3: refactor send mailbox function net/hns3: refactor handle mailbox function 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 | 53 ++++--- drivers/net/hns3/hns3_ethdev.h | 12 +- drivers/net/hns3/hns3_ethdev_vf.c | 237 +++++++++++++++------------- drivers/net/hns3/hns3_intr.c | 39 +++-- drivers/net/hns3/hns3_mbx.c | 251 +++++++++++++----------------- drivers/net/hns3/hns3_mbx.h | 104 +++++++++---- drivers/net/hns3/hns3_mp.c | 9 +- drivers/net/hns3/hns3_rxtx.c | 33 ++-- drivers/net/hns3/hns3_tm.c | 6 +- 11 files changed, 421 insertions(+), 351 deletions(-) -- 2.30.0