OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [virtio-dev] Re: [PATCH v3] virtio-net: support the virtqueue coalescing moderation



> From: Heng Qi <hengqi@linux.alibaba.com>
> Sent: Friday, February 17, 2023 12:17 PM

> Yes, but there seems to be such a situation: when the device is reactivated, as
> the specification says, all parameters are set to 0 (use parameters as the default
> configuration on the device).
> When CTRL_COAL_SET and CTRL_COAL_VQ_SET are sent, the configuration is
> updated (the parameters of each vq may be different, but the global parameter
> configuration may be recorded), at this time, if vq is reset, should the
> parameters be 0 or a recorded global parameters after it is re-enabled?

Recorded global parameters should be fine to report on an enabled vq even if the COAL_VQ_SET was not done.
This is because the global value reflects on the VQ.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]