net/virtio-user: fix multiple queues fail in server mode
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 11 May 2018 03:31:37 +0000 (11:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:53 +0000 (22:31 +0100)
commit201a41651715741de201269c6f76c6a684f790d1
tree236615b38f8cb4998a0724d53eb1f1937e3a4836
parent4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e
net/virtio-user: fix multiple queues fail in server mode

This patch fixes multiple queues failure when virtio-user works in
server mode.

This patch adds feature negotiation in the processing of virtio-user
connection and enables multiple-queue pairs.

Fixes: bd8f50a45d0f ("net/virtio-user: support server mode")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
drivers/net/virtio/virtio_user/vhost_user.c
drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net/virtio/virtio_user/virtio_user_dev.h
drivers/net/virtio/virtio_user_ethdev.c