Re: [dpdk-dev] [PATCH] net/virtio-user: fix feature setting with vhost-net backend

2018-05-10 Thread Hu, Jiayu
Hi Tiwei, > -Original Message- > From: Bie, Tiwei > Sent: Thursday, May 10, 2018 1:05 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Yang, Zhiyong ; > maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] [PATCH] net/virtio-user: fix feature setting with > vhost-net bac

Re: [dpdk-dev] [PATCH] net/virtio-user: fix feature setting with vhost-net backend

2018-05-09 Thread Tiwei Bie
On Tue, May 08, 2018 at 03:44:22PM +0800, Jiayu Hu wrote: > Hi Tiwei, > > On Tue, May 08, 2018 at 10:49:50AM +0800, Tiwei Bie wrote: > > On Mon, May 07, 2018 at 02:50:06PM +0800, Jiayu Hu wrote: > > > Currently, when the backend is vhost-net, which implies > > > virtio-user works in client mode, v

Re: [dpdk-dev] [PATCH] net/virtio-user: fix feature setting with vhost-net backend

2018-05-08 Thread Jiayu Hu
Hi Tiwei, On Tue, May 08, 2018 at 10:49:50AM +0800, Tiwei Bie wrote: > On Mon, May 07, 2018 at 02:50:06PM +0800, Jiayu Hu wrote: > > Currently, when the backend is vhost-net, which implies > > virtio-user works in client mode, virtio-user is assigned > > to the default feature VIRTIO_USER_SUPPORTE

Re: [dpdk-dev] [PATCH] net/virtio-user: fix feature setting with vhost-net backend

2018-05-07 Thread Tiwei Bie
On Mon, May 07, 2018 at 02:50:06PM +0800, Jiayu Hu wrote: > Currently, when the backend is vhost-net, which implies > virtio-user works in client mode, virtio-user is assigned > to the default feature VIRTIO_USER_SUPPORTED_FEATURES. > However, virtio-user should request features from the > backend

[dpdk-dev] [PATCH] net/virtio-user: fix feature setting with vhost-net backend

2018-05-06 Thread Jiayu Hu
Currently, when the backend is vhost-net, which implies virtio-user works in client mode, virtio-user is assigned to the default feature VIRTIO_USER_SUPPORTED_FEATURES. However, virtio-user should request features from the backend in this case. Fixes: bd8f50a45d0f ("net/virtio-user: support server