Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Liu, Yong
> -Original Message- > From: Liu, Yong > Sent: Thursday, November 07, 2019 4:29 PM > To: Maxime Coquelin ; Bie, Tiwei > ; Wang, Zhihong > Cc: dev@dpdk.org > Subject: RE: [PATCH] vhost: fix batch enqueue only handle few packets > > > > > -Original Message- > > From: Maxime Coqu

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, November 07, 2019 4:20 PM > To: Liu, Yong ; Bie, Tiwei ; Wang, > Zhihong > Cc: dev@dpdk.org > Subject: Re: [PATCH] vhost: fix batch enqueue only handle few packets > > > > On 11/7/19 3:37 PM, Marvin Liu wrote: > > After e

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Maxime Coquelin
On 11/7/19 3:37 PM, Marvin Liu wrote: > After enqueue function finished, packet index has been increased. Batch > enqueue function should retrieve mbuf structure pointed by that index. > > Fixes: 0294211bb6dc ("vhost: optimize packed ring enqueue") > > Signed-off-by: Marvin Liu > --- > lib/l

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Maxime Coquelin
On 11/7/19 3:37 PM, Marvin Liu wrote: > After enqueue function finished, packet index has been increased. Batch > enqueue function should retrieve mbuf structure pointed by that index. > > Fixes: 0294211bb6dc ("vhost: optimize packed ring enqueue") > > Signed-off-by: Marvin Liu > --- > lib/l

[dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-06 Thread Marvin Liu
After enqueue function finished, packet index has been increased. Batch enqueue function should retrieve mbuf structure pointed by that index. Fixes: 0294211bb6dc ("vhost: optimize packed ring enqueue") Signed-off-by: Marvin Liu --- lib/librte_vhost/virtio_net.c | 3 ++- 1 file changed, 2 inser