[dpdk-dev] [PATCH v2 0/3] virtio-user: fix virtio-user server mode
Adrian Moreno
amorenoz at redhat.com
Tue Oct 20 17:20:49 CEST 2020
This series addresses some issues identified in the virtio-user driver
when configured in server mode.
Firstly, properly identify the backend type in this mode.
Secondly, ensure no get/set status commands are sent before protocol
feature negotiation to avoid sending them to a backend that does not support them
And finally, add get/set status as per virtio spec so that it can work with
modern vhost-user backends that rely on this message to start the device.
--
v1->v2:
Added patch 2 and 3 addressing additional issues
Check errno to select vhost-user backend and log the detected backend
type
Adrian Moreno (3):
virtio-user: fix backend selection if stat fails
virtio_user: don't set/get_status until FEATURES_OK
virtio-user: set status on virtio-user reconnect
drivers/net/virtio/virtio_user/vhost_user.c | 10 ++++++----
.../net/virtio/virtio_user/virtio_user_dev.c | 7 +++++++
.../net/virtio/virtio_user/virtio_user_dev.h | 1 +
drivers/net/virtio/virtio_user_ethdev.c | 20 ++++++++++++++++---
4 files changed, 31 insertions(+), 7 deletions(-)
--
2.26.2
More information about the dev
mailing list