]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hinic: add check for mailbox msg from VF
authorLuo bin <luobin9@huawei.com>
Tue, 4 Aug 2020 02:19:12 +0000 (10:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 19:17:06 +0000 (12:17 -0700)
commitc8c29ec3c5fa04137a0e1afa43e1b23ba509c3c4
treebcbb4180c71e9b0e976a2d43e13c41c3a5929466
parent088c5f0d1a7c7f01e668d9d2d75e7d93b43b7690
hinic: add check for mailbox msg from VF

PF should check whether the cmd from VF is supported and its content
is right before passing it to hw.

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.h
drivers/net/ethernet/huawei/hinic/hinic_sriov.c