[PATCH v4 0/4] net/hns3: refactor mailbox
Jie Hai
haijie1 at huawei.com
Fri Dec 8 07:55:04 CET 2023
This patchset refactors mailbox codes.
We will send a patch fix for all __atomic_xxx, so this
patchset still use __atomic_xxx.
--
v4:
1. use __atomic_xxx instead of rte_atomic_XXX.
2. use '__rte_packed' instead of '#pragma pack()'.
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_vf.c | 181 +++++++++++++++++-------------
drivers/net/hns3/hns3_mbx.c | 165 +++++++++++++++------------
drivers/net/hns3/hns3_mbx.h | 92 +++++++++++----
drivers/net/hns3/hns3_rxtx.c | 18 ++-
5 files changed, 276 insertions(+), 182 deletions(-)
--
2.30.0
More information about the dev
mailing list