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

Xuan Zhuo
2023-08-03T11:05:55Z

On Thu, 3 Aug 2023 10:59:53 +0000, Parav Pandit <parav@nvidia.com> wrote:
>
> > From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
> > Sent: Thursday, August 3, 2023 4:22 PM
> >
> > Do you mean we introduce a new admin queue command
> > VIRTIO_ADMIN_CMD_VIRTIO_NET_GET_INFO?
> >
> > Then we will have too much commands for net, block.....
>
> VIRTIO_ADMIN_CMD_DEV_CTX_GET
>
> One command that gives device context information in TLV (type length value) format.
> One of field of the device context is device config space.
> Device will return the information depending what device it is, net/blk/console each returns different info.

Ok, I got.

That is ok for me about the device context information.

But how about the configuration of the mac? By admin queue?

Thanks.