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

Maxime Coquelin maxime.coquelin at redhat.com
Thu Nov 7 09:20:17 CET 2019



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?

Thanks,
Maxime



More information about the dev mailing list