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

2023-08-07 Thread Jason Wang
On Fri, Aug 4, 2023 at 12:05 PM Parav Pandit wrote: > > > > > From: Jason Wang > > Sent: Friday, August 4, 2023 9:02 AM > > > I think we probably need some split here. > > > > E.g the fields belonging to configuration space might go with a more general > > interface like admin command/queue. > >

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

2023-08-03 Thread Parav Pandit
> From: Jason Wang > Sent: Friday, August 4, 2023 9:02 AM > I think we probably need some split here. > > E.g the fields belonging to configuration space might go with a more general > interface like admin command/queue. > > The net specific ones need to go through a net specific interface. >

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

2023-08-03 Thread Jason Wang
On Thu, Aug 3, 2023 at 5:44 PM Michael S. Tsirkin wrote: > > 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

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

2023-08-03 Thread Parav Pandit
> From: Xuan Zhuo > 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

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

2023-08-03 Thread Parav Pandit
> From: Xuan Zhuo > Sent: Thursday, August 3, 2023 2:02 PM > To: virtio-dev@lists.oasis-open.org > Cc: jasow...@redhat.com; Michael S. Tsirkin ; Parav Pandit > ; virtio-comm...@lists.oasis-open.org > Subject: [RFC] virtio-net: support access and control the member devices > > Now we have the co

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

2023-08-03 Thread Parav Pandit
> From: Michael S. Tsirkin > 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 a

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

2023-08-03 Thread Michael S. Tsirkin
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 understandin