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

From: Jakub Kicinski
Date: Wed Jul 29 2020 - 18:03:07 EST


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
hinic_mbox_check_cmd_valid() correlates to the random id
thing. Please split this into two or more patches making
one logical change each.