[dpdk-dev] [PATCH v7] net/virtio-user: add support for server mode

Maxime Coquelin maxime.coquelin at redhat.com
Tue Apr 10 13:55:13 CEST 2018



On 04/08/2018 02:36 AM, Tan, Jianfeng wrote:
> 
>> -----Original Message-----
>> From: Yang, Zhiyong
>> Sent: Friday, April 6, 2018 5:26 PM
>> To:dev at dpdk.org
>> Cc: Yang, Zhiyong;maxime.coquelin at redhat.com; Tan, Jianfeng; Bie, Tiwei;
>> Wang, Zhihong; Wang, Dong1;thomas at 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.yang at intel.com>
> Reviewed-by: Jianfeng Tan<jianfeng.tan at intel.com>

Applied to dpdk-next-virtio/master.

Thanks,
Maxime


More information about the dev mailing list