Re: [dpdk-dev] [PATCH v4] net/virtio-user: fix packed ring server mode

2020-01-14 Thread Ding, Xuan
Hi Maxime, Replies are inline. > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, January 14, 2020 11:04 PM > To: Ding, Xuan ; Bie, Tiwei ; Wang, > Zhihong ; Liu, Yong ; Ye, > Xiaolong > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH v4] net/virtio-user: fix packed

Re: [dpdk-dev] [PATCH v4] net/virtio-user: fix packed ring server mode

2020-01-14 Thread Maxime Coquelin
On 12/23/19 8:25 AM, Xuan Ding wrote: > This patch fixes the situation where datapath does not work properly when > vhost reconnects to virtio in server mode with packed ring. > > Currently, virtio and vhost share memory of vring. For split ring, vhost > can read the status of discriptors direc

[dpdk-dev] [PATCH v4] net/virtio-user: fix packed ring server mode

2019-12-22 Thread Xuan Ding
This patch fixes the situation where datapath does not work properly when vhost reconnects to virtio in server mode with packed ring. Currently, virtio and vhost share memory of vring. For split ring, vhost can read the status of discriptors directly from the available ring and the used ring durin