Re: [dpdk-dev] [PATCH] reset src fd field to -1 in fdset_move of vhost

2018-01-21 Thread Zhao, Bing
On 2018/1/19 22:37, Yuanhan Liu wrote: On Thu, Dec 21, 2017 at 05:15:40PM +0800, Bing Zhao wrote: In the fdset_move, after copying the fd&rwfds from the src to the dst, the fd should be set to -1. Or else in some cases, there will be a fault missing. E.g: Before: 1 -1 3 4 -1 6 7 -1 9 10 After:

Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod loading when doing enqueue/dequeue

2017-10-12 Thread Zhao, Bing
Hi Jerin, The patch is as below. Jie and I just modified from the original case. 1. If all consumers(slave lcore) start to work after the producer fill the ring in every iteration test, there will be no problem. 2. If only one consumer with one producer, there will not be any problem eithe

Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod loading when doing enqueue/dequeue

2017-10-16 Thread Zhao, Bing
make the CH over the PT. Thanks BR. Bing -Original Message- From: Liu, Jie2 Sent: 2017年10月13日 8:25 To: Ananyev, Konstantin ; Olivier MATZ ; dev@dpdk.org; jerin.ja...@caviumnetworks.com Cc: He, Jia ; Zhao, Bing ; Jia He Subject: RE: [PATCH] ring: guarantee ordering of cons/prod loading

Re: [dpdk-dev] [PATCH] ring: guarantee ordering of cons/prod loading when doing enqueue/dequeue

2017-10-19 Thread Zhao, Bing
Hi, On 2017/10/19 18:02, Ananyev, Konstantin wrote: Hi Jia, Hi On 10/13/2017 9:02 AM, Jia He Wrote: Hi Jerin On 10/13/2017 1:23 AM, Jerin Jacob Wrote: -Original Message- Date: Thu, 12 Oct 2017 17:05:50 + [...] On the same lines, Jia He, jie2.liu, bing.zhao, Is this pa

Re: [dpdk-dev] [PATCH] vhost: fix dequeue zero copy not work with virtio1

2017-12-19 Thread Zhao, Bing
On 2017/12/15 20:48, Yuanhan Liu wrote: On Fri, Dec 15, 2017 at 10:33:41AM +, Loftus, Ciara wrote: >> >> Hi Junjie, >> >> On 12/13/2017 05:50 PM, Junjie Chen wrote: >>> This fix dequeue zero copy can not work with Qemu >>> version >= 2.7. Since from Qemu 2.7 virtio device >>> use virtio-1 pro