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

Liu, Yong yong.liu at intel.com
Thu Nov 7 09:29:19 CET 2019



> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin at redhat.com>
> Sent: Thursday, November 07, 2019 4:20 PM
> To: Liu, Yong <yong.liu at intel.com>; Bie, Tiwei <tiwei.bie at intel.com>; Wang,
> Zhihong <zhihong.wang at intel.com>
> Cc: dev at dpdk.org
> Subject: Re: [PATCH] vhost: fix batch enqueue only handle few packets
> 
> 
> 
> 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 <yong.liu at intel.com>
> > ---
> >  lib/librte_vhost/virtio_net.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Applied to dpdk-next-virtio/master
> 
> Can you please run again the performance benchmarks, and see what is the
> loss, if any?
> 
Sure, I will rerun the performance benchmarks.

Thanks,
Marvin

> Thanks,
> Maxime



More information about the dev mailing list