[PATCH net-next 0/3] net: hns3: add three optimizations for mailbox handling

From: Huazhong Tan
Date: Tue Mar 17 2020 - 23:58:04 EST


This patchset includes three code optimizations for mailbox handling.

[patch 1] adds a response code conversion.
[patch 2] refactors some structure definitions about PF and
VF mailbox.
[patch 3] refactors the condition whether PF responds VF's mailbox.

Huazhong Tan (1):
net: hns3: refactor mailbox response scheme between PF and VF

Jian Shen (1):
net: hns3: add a conversion for mailbox's response code

Yufeng Mo (1):
net: hns3: refactor the mailbox message between PF and VF

drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 54 ++-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 387 ++++++++++-----------
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 311 +++++++++--------
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 4 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 50 +--
5 files changed, 420 insertions(+), 386 deletions(-)

--
2.7.4