On 5/19/2020 11:15 AM, Xuan Ding wrote:
> This patch fixes the situation where vhost-user cannot start as server with
> dequeue_zero_copy enabled.
>
> Using flag instead of vsocket->is_server to determine whether vhost-user is
> in client mode. Because vsocket->is_server is not ready at this time.
>
> Fixes: 715070ea10e6 ("vhost: prevent zero-copy with incompatible client mode")
>
> Signed-off-by: Xuan Ding <[email protected]>
> Acked-by: Xiaolong Ye <[email protected]>
> Tested-by: Yinan Wang <[email protected]>
Applied to dpdk-next-net/master, thanks.