Re: [dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode

2020-04-30 Thread Maxime Coquelin
On 4/29/20 4:59 AM, Xuan Ding wrote: > In server mode, virtio-user inits under the assumption that vhost-user > supports a list of features. However, this could be problematic when > in_order feature is negotiated but not supported by vhost-user when > enables dequeue_zero_copy later. > > Add h

Re: [dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode

2020-04-29 Thread Maxime Coquelin
On 4/29/20 4:59 AM, Xuan Ding wrote: > In server mode, virtio-user inits under the assumption that vhost-user > supports a list of features. However, this could be problematic when > in_order feature is negotiated but not supported by vhost-user when > enables dequeue_zero_copy later. > > Add h

Re: [dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode

2020-04-29 Thread Maxime Coquelin
gt; Cc: dev@dpdk.org; Ding, Xuan >> Subject: [dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode >> >> In server mode, virtio-user inits under the assumption that vhost-user >> supports a >> list of features. However, this could be problematic when in_o

Re: [dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode

2020-04-29 Thread Wang, Yinan
Tested-by: Yinan Wang > -Original Message- > From: dev On Behalf Of Xuan Ding > Sent: 2020年4月29日 11:00 > To: maxime.coque...@redhat.com; Wang, Zhihong ; > Ye, Xiaolong > Cc: dev@dpdk.org; Ding, Xuan > Subject: [dpdk-dev] [PATCH] vhost: zero_copy incompatible wit

[dpdk-dev] [PATCH] vhost: zero_copy incompatible with client mode

2020-04-28 Thread Xuan Ding
In server mode, virtio-user inits under the assumption that vhost-user supports a list of features. However, this could be problematic when in_order feature is negotiated but not supported by vhost-user when enables dequeue_zero_copy later. Add handling when vhost-user enables dequeue_zero_copy as