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

Maxime Coquelin maxime.coquelin at redhat.com
Wed May 16 08:05:28 CEST 2018



On 05/11/2018 09:26 AM, Jiayu Hu wrote:
> When the backend is vhost-net, virtio-user must work in client mode and
> needs to request features from the backend in virtio_user_dev_init().
> But currently, virtio-user is assigned to default features in this case.
> 
> This patch is to fix this inappropriate feature setting.
> 
> Fixes: bd8f50a45d0f ("net/virtio-user: support server mode")
> Signed-off-by: Jiayu Hu <jiayu.hu at intel.com>
> Tested-by: Lei Yao <lei.a.yao at intel.com>
> ---
> changes in v3:
> - remove unnecessary code change.
> changes in v2:
> - remove unnecessary indent change.
> - change commit log.
> 
>   drivers/net/virtio/virtio_user/virtio_user_dev.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 


Applied to dpdk-next-virtio/master.

Thanks!
Maxime


More information about the dev mailing list