Re: [RFC PATCH 12/12] virtio: guarantee a virtqueue can publish its first descriptor chain

Randy Dunlap <[email protected]>
Newsgroups org.kernel.vger.linux-doc,dev.linux.lists.virtualization,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/9/26 3:41 PM, Michael S. Tsirkin wrote:
> On Sun, Aug 09, 2026 at 06:20:10PM +0000, Alexander Graf wrote:
>> A device's pool is shared by every virtqueue it has and nothing
>> partitions it between them, so a virtqueue that asks late can get
>> nothing at all. virtnet_open() pre-fills the receive queues in index
>> order and discards the result, and a queue that came up with nothing is
>> one the device cannot signal a completion on.
>>
>> Withhold a range of the pool from ordinary claims and let a virtqueue
>> whose ring is empty draw on it for one descriptor chain.
> Why bother? one chain can just go inline in the ring.

https://people.kernel.org/tglx/notes-about-netiquette
or
https://subspace.kernel.org/etiquette.html

It would be good if 100s (or 1000s) or people didn't need to scan a 65 KB
email to see that most of it can be ignored.

-- 
~Randy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.