Re: [dpdk-dev] [PATCH v3] net/virtio-user: fix multiple queues fail in server mode

2018-05-10 Thread Yang, Zhiyong
> -Original Message- > From: Bie, Tiwei > Sent: Friday, May 11, 2018 10:50 AM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh ; > maxime.coque...@redhat.com; sta...@dpdk.org > Subject: Re: [PATCH v3] net/virtio-user: fix multiple queues fail in server > mode > > On Fri, May 11, 20

Re: [dpdk-dev] [PATCH v3] net/virtio-user: fix multiple queues fail in server mode

2018-05-10 Thread Tiwei Bie
On Fri, May 11, 2018 at 10:12:47AM +0800, zhiyong.y...@intel.com wrote: [...] > @@ -447,11 +447,17 @@ virtio_user_handle_mq(struct virtio_user_dev *dev, > uint16_t q_pairs) > return -1; > } > > - for (i = 0; i < q_pairs; ++i) > - ret |= dev->ops->enable_qp(dev

[dpdk-dev] [PATCH v3] net/virtio-user: fix multiple queues fail in server mode

2018-05-10 Thread zhiyong . yang
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: sta...@dpdk.org Signed-off-by: Zhiyon