[PATCH net-next v2 0/2] hinic: mailbox channel enhancement

From: Luo bin
Date: Thu Jul 30 2020 - 21:56:48 EST


add support to generate mailbox random id for VF to ensure that
the mailbox message from VF is valid and PF should check whether
the cmd from VF is supported before passing it to hw.

Luo bin (2):
hinic: add generating mailbox random index support
hinic: add check for mailbox msg from VF

.../net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 8 +
.../net/ethernet/huawei/hinic/hinic_hw_dev.h | 13 +
.../net/ethernet/huawei/hinic/hinic_hw_mbox.c | 309 +++++++++++++++++-
.../net/ethernet/huawei/hinic/hinic_hw_mbox.h | 22 ++
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.h | 2 +
.../net/ethernet/huawei/hinic/hinic_sriov.c | 69 +++-
6 files changed, 421 insertions(+), 2 deletions(-)

--
2.17.1