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

Kevin Traynor ktraynor at redhat.com
Tue Oct 20 18:52:59 CEST 2020


On 20/10/2020 16:20, 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(-)

Acked-by: Kevin Traynor <ktraynor at redhat.com>



More information about the stable mailing list