]> 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)
commit4e8ae57621fd8e320cd7b8fd2b02ef5aea142e00
treebcbb4180c71e9b0e976a2d43e13c41c3a5929466
parentc9dcaefdc4b53e41786aec54873a89835b353050
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