[Top][All Lists]

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

Re: [Qemu-devel] vhost-user breaks after 96a3d98.

From: Jason Wang
Subject: Re: [Qemu-devel] vhost-user breaks after 96a3d98.
Date: Tue, 3 Jan 2017 11:09:40 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2016年12月30日 20:41, Flavio Leitner wrote:

While I was testing vhost-user using OVS 2.5 and DPDK 2.2.0 in the
host and testpmd dpdk 2.2.0 in the guest, I found that the commit
below breaks the environment and no packets gets into the guest.

dpdk port --> OVS --> vhost-user --> guest --> testpmd
                          ^--- drops here         ^--- no packets here.

commit 96a3d98d2cdbd897ff5ab33427aa4cfb94077665
Author: Jason Wang <address@hidden>
Date:   Mon Aug 1 16:07:58 2016 +0800

     vhost: don't set vring call if no vector
We used to set vring call fd unconditionally even if guest driver does
     not use MSIX for this vritqueue at all. This will cause lots of
     unnecessary userspace access and other checks for drivers does not use
     interrupt at all (e.g virtio-net pmd). So check and clean vring call
     fd if guest does not use any vector for this virtqueue at


Hi Flavio:

Thanks for reporting this issue, could this be a bug of vhost-user? (I believe virito-net pmd does not use interrupt for rx/tx at all)

Anyway, will try to reproduce it.

reply via email to

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