qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [virtio-dev] Re: [PATCH v1] virtio-net: enable configur


From: Jason Wang
Subject: Re: [Qemu-devel] [virtio-dev] Re: [PATCH v1] virtio-net: enable configurable tx queue size
Date: Tue, 13 Jun 2017 14:31:43 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1



On 2017年06月13日 14:13, Wei Wang wrote:
On 06/13/2017 11:59 AM, Jason Wang wrote:

On 2017年06月13日 11:55, Jason Wang wrote:
The issue is what if there's a mismatch of max #sgs between qemu and
vhost?

When the vhost backend is used, QEMU is not involved in the data
path. The vhost backend
directly gets what is offered by the guest from the vq.
FYI, qemu will try to fallback to userspace if there's something wrong
with vhost-kernel (e.g the IOMMU support). This doesn't work for
vhost-user actually, but it works for vhost-kernel.

Thanks


That wouldn't be a problem. When it falls back to the QEMU backend,
the "max_chain_size" will be set according to the QEMU backend
(e.g. 1023). Guest will read the max_chain_size register.

What if there's backend that supports less than 1023? Or in the future, we increase the limit to e.g 2048?

Thanks


Best,
Wei





reply via email to

[Prev in Thread] Current Thread [Next in Thread]