On 04/08/2018 02:36 AM, Tan, Jianfeng wrote:
From: Yang, Zhiyong
Sent: Friday, April 6, 2018 5:26 PM
Cc: Yang, Zhiyong;maxime.coque...@redhat.com; Tan, Jianfeng; Bie, Tiwei;
Wang, Zhihong; Wang, Dong1;tho...@monjalon.net
Subject: [PATCH v7] net/virtio-user: add support for server mode
In a container environment if the vhost-user backend restarts, there's
no way for it to reconnect to virtio-user. To address this, support for
server mode is added. In this mode the socket file is created by virtio-
user, which the backend then connects to. This means that if the backend
restarts, it can reconnect to virtio-user and continue communications.
With current implementation, LSC is enabled at virtio-user side to
support to accept the coming connection.
Server mode virtio-user only supports to work with vhost-user.
Release note is updated in this patch.
Signed-off-by: Zhiyong Yang<zhiyong.y...@intel.com>
Reviewed-by: Jianfeng Tan<jianfeng....@intel.com>
Applied to dpdk-next-virtio/master.