numam-dpdk/lib/librte_vhost
Zhiyong Yang 04d8122796 vhost: workaround MQ fails to startup
vhost since dpdk17.02 + qemu2.7 and above will cause failures of
new connection when negotiating to set MQ. (one queue pair works
well).

Because there exist some bugs in qemu code when introducing
VHOST_USER_PROTOCOL_F_REPLY_ACK to qemu. when dealing with the vhost
message VHOST_USER_SET_MEM_TABLE for the second time, qemu indeed
doesn't send the messge (The message needs to be sent only once)but
still will be waiting for dpdk's reply ack, then, qemu is always
freezing. DPDK code indeed works in the right way.

The feature VHOST_USER_PROTOCOL_F_REPLY_ACK has to be disabled
by default at the dpdk side in order to avoid the feature support of
DPDK + qemu at the same time. if doing like that, MQ can works well.

Cc: stable@dpdk.org

Reported-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Tested-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-04-28 06:28:37 +02:00
..
fd_man.c vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
fd_man.h vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
Makefile vhost: rename header file 2017-04-01 10:42:44 +02:00
rte_vhost_version.map vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
rte_vhost.h vhost: fix header for strict compilation flags 2017-05-01 00:13:15 +02:00
socket.c vhost: fix use after free 2017-04-19 10:49:06 +02:00
vhost_user.c vhost: do not destroy device on repeat mem table message 2017-04-01 10:42:44 +02:00
vhost_user.h vhost: workaround MQ fails to startup 2017-04-28 06:28:37 +02:00
vhost.c vhost: rename header file 2017-04-01 10:42:44 +02:00
vhost.h vhost: rename header file 2017-04-01 10:42:44 +02:00
virtio_net.c vhost: fix dequeue zero copy 2017-04-19 10:49:06 +02:00