[v4,0/4] net/hns3: refactor mailbox

Message ID 20231208065508.1663412-1-haijie1@huawei.com (mailing list archive)
Headers
Series net/hns3: refactor mailbox |

Message

Jie Hai Dec. 8, 2023, 6:55 a.m. UTC
  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(-)
  

Comments

Ferruh Yigit Dec. 8, 2023, 10:48 a.m. UTC | #1
On 12/8/2023 6:55 AM, Jie Hai wrote:
> 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
> 

Series applied to dpdk-next-net/main, thanks.