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

2020-05-19 Thread Ferruh Yigit
On 5/19/2020 8:13 AM, Ye Xiaolong wrote: > Hi, Maxime & Ferruh > > This patch is used to fix the regression caused by commit > 715070ea10e6 ("vhost: prevent zero-copy with incompatible client mode") which > was introduced in RC2, I think we should get it in this release. +1, v4 of the patch appl

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

2020-05-19 Thread Ye Xiaolong
Hi, Maxime & Ferruh This patch is used to fix the regression caused by commit 715070ea10e6 ("vhost: prevent zero-copy with incompatible client mode") which was introduced in RC2, I think we should get it in this release. Thanks, Xiaolong On 05/19, Ye Xiaolong wrote: >On 05/13, Xuan Ding wrote:

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

2020-05-19 Thread Wang, Yinan
Tested-by: Wang, Yinan > -Original Message- > From: dev On Behalf Of Xuan Ding > Sent: 2020年5月13日 10:14 > To: maxime.coque...@redhat.com; Wang, Zhihong ; > Ye, Xiaolong > Cc: dev@dpdk.org; Ding, Xuan ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] vhost: fi

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

2020-05-18 Thread Ye Xiaolong
On 05/13, 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. > >Cc: sta...@dpd

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

2020-05-12 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. Cc: sta...@dpdk.org Signed-off-by: Xuan Ding -