Re: [virtio-dev] RE: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Heng Qi
在 2023/3/23 上午1:02, Parav Pandit 写道: From: Michael S. Tsirkin Sent: Wednesday, March 22, 2023 12:53 PM On Wed, Mar 22, 2023 at 04:49:58PM +, Parav Pandit wrote: From: Michael S. Tsirkin Sent: Wednesday, March 22, 2023 12:47 PM I agree with Cornelia here. Yes if devices do not want to

[virtio-dev] RE: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Parav Pandit
> From: Michael S. Tsirkin > Sent: Wednesday, March 22, 2023 12:53 PM > > On Wed, Mar 22, 2023 at 04:49:58PM +, Parav Pandit wrote: > > > > > From: Michael S. Tsirkin > > > Sent: Wednesday, March 22, 2023 12:47 PM > > > > > > I agree with Cornelia here. Yes if devices do not want to trust

[virtio-dev] Re: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Michael S. Tsirkin
On Wed, Mar 22, 2023 at 04:49:58PM +, Parav Pandit wrote: > > > From: Michael S. Tsirkin > > Sent: Wednesday, March 22, 2023 12:47 PM > > > > I agree with Cornelia here. Yes if devices do not want to trust drivers > > then they > > will validate input but what exactly happens then is

[virtio-dev] Re: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Michael S. Tsirkin
On Wed, Mar 22, 2023 at 04:46:36PM +, Parav Pandit wrote: > > > From: Cornelia Huck > > Sent: Wednesday, March 22, 2023 12:44 PM > > > > >> Well, I think we want to avoid having to add a normative statement > > >> for the device, so we need to be strict with what the driver is allowed > >

[virtio-dev] RE: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Parav Pandit
> From: Michael S. Tsirkin > Sent: Wednesday, March 22, 2023 12:47 PM > > I agree with Cornelia here. Yes if devices do not want to trust drivers then > they > will validate input but what exactly happens then is currently up to device. > If we want to try and specify devices in all cases of

[virtio-dev] Re: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Michael S. Tsirkin
On Wed, Mar 22, 2023 at 05:44:27PM +0100, Cornelia Huck wrote: > On Wed, Mar 22 2023, Parav Pandit wrote: > > >> From: Cornelia Huck > >> Sent: Wednesday, March 22, 2023 12:37 PM > >> > >> On Wed, Mar 22 2023, Parav Pandit wrote: > >> > >> >> From: Cornelia Huck > >> >> Sent: Wednesday,

[virtio-dev] RE: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Parav Pandit
> From: Cornelia Huck > Sent: Wednesday, March 22, 2023 12:44 PM > > >> Well, I think we want to avoid having to add a normative statement > >> for the device, so we need to be strict with what the driver is allowed to > >> do. > > Drivers are untrusted entities. > > device normative

[virtio-dev] Re: [virtio-comment] RE: [PATCH v13] virtio-net: support the virtqueue coalescing moderation

2023-03-22 Thread Cornelia Huck
On Wed, Mar 22 2023, Parav Pandit wrote: >> From: Cornelia Huck >> Sent: Wednesday, March 22, 2023 12:37 PM >> >> On Wed, Mar 22 2023, Parav Pandit wrote: >> >> >> From: Cornelia Huck >> >> Sent: Wednesday, March 22, 2023 11:21 AM >> >> >> >> On Wed, Mar 22 2023, Heng Qi wrote: >> >> >> >>