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

2020-05-19 Thread Ferruh Yigit
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.

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

2020-05-19 Thread Xuan Ding
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 w