|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] [RFC v2 5/8] virtio: queue pop for packed ring |
Date: | Wed, 6 Jun 2018 11:41:18 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 2018年06月06日 11:38, Wei Xu wrote:
+ + head = vq->last_avail_idx; + i = head; + + caches = vring_get_region_caches(vq); + cache = &caches->desc; + vring_packed_desc_read(vdev, &desc, cache, i);I think we'd better find a way to avoid reading descriptor twice.Do you mean here and the read for empty check? Wei
Yes. Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |