[dpdk-dev] [PATCH v4] vhost: fix zero-copy cannot be enabled

Ferruh Yigit ferruh.yigit at intel.com
Tue May 19 15:43:26 CEST 2020


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 <xuan.ding at intel.com>
> Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
> Tested-by: Yinan Wang <yinan.wang at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list