Re: [PATCH net-next v2 2/2] net: hinic: Add control command support for VF PMD driver in DPDK

From: Jani Nikula
Date: Tue Nov 01 2022 - 06:46:44 EST


On Tue, 01 Nov 2022, Cai Huoqing <cai.huoqing@xxxxxxxxx> wrote:
> HINIC has a mailbox for PF-VF communication and the VF driver
> could send port control command to PF driver via mailbox.
>
> The control command only can be set to register in PF,
> so add support in PF driver for VF PMD driver control
> command when VF PMD driver work with linux PF driver.
>
> Then there is no need to add handlers to nic_vf_cmd_msg_handler[],
> because the host driver just forwards it to the firmware.
> Actually the firmware works on a coprocessor MGMT_CPU(inside the NIC)
> which will recv and deal with these commands.
>
> Signed-off-by: Cai Huoqing <cai.huoqing@xxxxxxxxx>

Out of curiosity, what exactly compelled you to Cc me on this particular
patch? I mean there aren't a whole lot of places in the kernel that
would be more off-topic for me. :)

BR,
Jani.


--
Jani Nikula, Intel Open Source Graphics Center