[dpdk-dev] [PATCH v2 1/3] virtio-user: fix backend selection if stat fails

Maxime Coquelin maxime.coquelin at redhat.com
Tue Oct 20 17:26:24 CEST 2020



On 10/20/20 5:20 PM, Adrian Moreno wrote:
> If stat fails because the file does not exist, it means that
> the backend must be vhost-user in server mode.
> 
> Also, log the detected backend type.
> 
> Bugzilla ID: 559
> Fixes: f908b22ea47a ("net/virtio: move backend type selection to ethdev")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Adrian Moreno <amorenoz at redhat.com>
> ---
>  drivers/net/virtio/virtio_user/virtio_user_dev.c | 7 +++++++
>  drivers/net/virtio/virtio_user/virtio_user_dev.h | 1 +
>  drivers/net/virtio/virtio_user_ethdev.c          | 6 +++++-
>  3 files changed, 13 insertions(+), 1 deletion(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list