]> git.baikalelectronics.ru Git - 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)
commit752203ef0cfc1b88a4253827202d330e68deed8b
treebcbb4180c71e9b0e976a2d43e13c41c3a5929466
parentcbaf4d29030ff5eb6d2f1d63357c94eb6164ab3d
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