RE: RE: RE: [virtio-comment] RE: RE: RE: RE: [RFC] virtio-net: support access and control the member devices

From
Parav Pandit <>
Date
2023-08-04T07:26:03+00:00
ID
Thread
RE: RE: RE: [virtio-comment] RE: RE: RE: RE: [RFC] virtio-net: support access and control the member devices
> From: Xuan Zhuo <>
> Sent: Friday, August 4, 2023 12:24 PM

> I know the gap. For us, the switch is under all devices(including the owner
> device).
> So we need to control the switch separately.
>
Right. Same for other devices too, including ours.
Hence, it is also located outside of the owner device (on a different system).

If the switch is not a virtio device, does it really need to be exposed as virtio object?

> In your structure, the owner device works as the switch. It has port to connect
> to the vf devices.
> 
Right. I just put owner device as switch for simplicity of the discussion.

At this point to have port for owner device requires creating a dedicated switching object, to be located sometimes side by side inside the owner, sometimes outside.
All of these cases to be crafted, please rethink if this is _really_ needed as virtio object or not.