qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] vhost-user breaks after 96a3d98.
@ 2016-12-30 12:41 Flavio Leitner
  2017-01-03  3:09 ` Jason Wang
  0 siblings, 1 reply; 10+ messages in thread
From: Flavio Leitner @ 2016-12-30 12:41 UTC (permalink / raw)
  To: Jason Wang, Michael S. Tsirkin; +Cc: qemu-devel


Hi,

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 <jasowang@redhat.com>
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
    all.
[...]

Thanks,
-- 
Flavio

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-04 13:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 12:41 [Qemu-devel] vhost-user breaks after 96a3d98 Flavio Leitner
2017-01-03  3:09 ` Jason Wang
2017-01-03 10:28   ` Jason Wang
2017-01-03 16:27     ` Michael S. Tsirkin
2017-01-04  3:26       ` Jason Wang
2017-01-04  7:52         ` Jason Wang
2017-01-04 13:00           ` Flavio Leitner
2017-01-04 13:10             ` Michael S. Tsirkin
2017-01-03 17:33     ` Flavio Leitner
2017-01-03 22:13       ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).