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

Parav Pandit
2023-08-03T09:45:51Z

> From: Michael S. Tsirkin <mst@redhat.com>
> Sent: Thursday, August 3, 2023 3:14 PM
>
> On Thu, Aug 03, 2023 at 04:31:50PM +0800, Xuan Zhuo wrote:
> > Now we have the concept of the device group. This allows us to support
> > sr-iov and siov more conveniently.
> >
> > The following description uses pf, vf as an example. The scene with sf
> > should be similar.
> >
> > According to my understanding, the management at the level of
> > virtqueue should be handled by admin queue. And the net related
> > management is still managed by cvq of pf. So this patch works with the cvq of
> the pf.
> >
> > The problem I am trying to solve is when there are multiple vf
> > virtio-net devices under one pf.
> > It is necessary for administrators to query the status and information
> > of each vf and configure mac.
> >
> > Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
>
>
> I think we should use admin queue for this, and not cvq.
>
+1