Re: [PATCH net-next v2 1/2] hinic: add generating mailbox random index support

2020-07-31 Thread luobin (L)
On 2020/8/1 3:52, Jakub Kicinski wrote: > On Fri, 31 Jul 2020 09:56:41 +0800 Luo bin wrote: >> add support to generate mailbox random id of VF to ensure that >> mailbox messages PF received are from the correct VF. >> >> Signed-off-by: Luo bin > >> diff --git a/drivers/net/ethernet/huawei/hinic/h

Re: [PATCH net-next v2 1/2] hinic: add generating mailbox random index support

2020-07-31 Thread Jakub Kicinski
On Fri, 31 Jul 2020 09:56:41 +0800 Luo bin wrote: > add support to generate mailbox random id of VF to ensure that > mailbox messages PF received are from the correct VF. > > Signed-off-by: Luo bin > diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c > b/drivers/net/ethernet/huawei/

[PATCH net-next v2 1/2] hinic: add generating mailbox random index support

2020-07-30 Thread Luo bin
add support to generate mailbox random id of VF to ensure that mailbox messages PF received are from the correct VF. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 13 ++ .../net/ethernet/huawei/hinic/hinic_hw_mbox.c | 136 ++ .../net/ethernet/huawei/