This patchset refactors mailbox codes.

--
v3:
1. fix the checkpatch warning on __atomic_xxx.
--

Dengdui Huang (4):
  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

 drivers/net/hns3/hns3_ethdev.c    |   2 +-
 drivers/net/hns3/hns3_ethdev.h    |   2 +-
 drivers/net/hns3/hns3_ethdev_vf.c | 181 +++++++++++++++++-------------
 drivers/net/hns3/hns3_mbx.c       | 166 +++++++++++++++------------
 drivers/net/hns3/hns3_mbx.h       |  94 ++++++++++++----
 drivers/net/hns3/hns3_rxtx.c      |  18 ++-
 6 files changed, 280 insertions(+), 183 deletions(-)

-- 
2.30.0

Reply via email to