DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/3] virtio-user: fix virtio-user server mode
@ 2020-10-20 15:20 Adrian Moreno
  2020-10-20 15:20 ` [dpdk-dev] [PATCH v2 1/3] virtio-user: fix backend selection if stat fails Adrian Moreno
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Adrian Moreno @ 2020-10-20 15:20 UTC (permalink / raw)
  To: dev; +Cc: yinan.wang, patrick.fu, amorenoz

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-10-23  5:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20 15:20 [dpdk-dev] [PATCH v2 0/3] virtio-user: fix virtio-user server mode Adrian Moreno
2020-10-20 15:20 ` [dpdk-dev] [PATCH v2 1/3] virtio-user: fix backend selection if stat fails Adrian Moreno
2020-10-20 15:26   ` Maxime Coquelin
2020-10-20 16:52   ` Kevin Traynor
2020-10-20 15:20 ` [dpdk-dev] [PATCH v2 2/3] virtio_user: don't set/get_status until FEATURES_OK Adrian Moreno
2020-10-20 16:17   ` Maxime Coquelin
2020-10-20 15:20 ` [dpdk-dev] [PATCH v2 3/3] virtio-user: set status on virtio-user reconnect Adrian Moreno
2020-10-20 16:42   ` Maxime Coquelin
2020-10-22  4:01     ` Wang, Yinan
2020-10-22  7:13       ` Maxime Coquelin
2020-10-22  7:37         ` Xia, Chenbo
2020-10-22  8:12           ` Adrian Moreno
2020-10-22  8:32             ` Maxime Coquelin
2020-10-23  5:21               ` Jiang, YuX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).