Re: [PATCH net-next] hinic: add generating mailbox random index support

2020-07-29 Thread luobin (L)
On 2020/7/30 6:03, Jakub Kicinski wrote: > On Wed, 29 Jul 2020 08:59:19 +0800 Luo bin wrote: >> 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. > > This is h

Re: [PATCH net-next] hinic: add generating mailbox random index support

2020-07-29 Thread Jakub Kicinski
On Wed, 29 Jul 2020 08:59:19 +0800 Luo bin wrote: > 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. This is hard to review. I don't see how the addition of hin

[PATCH net-next] hinic: add generating mailbox random index support

2020-07-28 Thread Luo bin
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. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 8 + .../net/ethernet/huawei/hinic/h