Re: [PATCH v2 5/6] net/hns3: refactor send mailbox function

2023-11-10 Thread Ferruh Yigit
On 11/10/2023 6:13 AM, Jie Hai wrote: > From: Dengdui Huang > > The 'hns3_send_mbx_msg' function has following problem: > 1. the name is vague, missing caller indication. > 2. too many input parameters because the filling messages >are placed in commands the send command. > > Therefore, a co

[PATCH v2 5/6] net/hns3: refactor send mailbox function

2023-11-09 Thread Jie Hai
From: Dengdui Huang The 'hns3_send_mbx_msg' function has following problem: 1. the name is vague, missing caller indication. 2. too many input parameters because the filling messages are placed in commands the send command. Therefore, a common interface is encapsulated to fill in the mailbox