In the devices I'm familiar with the message passing between VF and PF is handled or at least supported by the specific device, either through registers that the one side can write and the other can monitor, or through an adminq messaging structure, or other HW specific solution. Part of the answer depends on how smart your device's FW is. sln On Tue, Jun 11, 2024 at 1:41 PM Doug Miller <doug.miller@xxxxxxxxxxxxxxxxxxxx> wrote: > > We are adding support for a new adapter to the hfi1 driver. This new > adapter supports SR-IOV and we need a way to communicate between VFs and > PFO. There are some resources that need to be requested from the VFs and > some notifications needed from PF0 to the VFs. I am looking at using > virtqueues to allow a VF running in a VM to communicate with PF0 on the > host, but am not sure how virtio devices/drivers should be used for > this. Is there a general-purpose message-passing virtio device that can > be used for this? Or do we have to create a new device specifically for > our driver to use? Or is there some other communication mechanism that > is better suited for this? > > Thanks, > Doug > > External recipient >