[dpdk-dev] [PATCH] vhost: fix packed ring zero-copy

Maxime Coquelin maxime.coquelin at redhat.com
Fri Apr 10 16:42:53 CEST 2020



On 3/16/20 4:38 PM, Marvin Liu wrote:
> Available buffer ID should be stored in the zmbuf in the packed-ring
> dequeue path. There's no guarantee that local queue avail index is
> equal to buffer ID.
> 
> Fixes: d1eafb532268 ("vhost: add packed ring zcopy batch and single dequeue")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Marvin Liu <yong.liu at intel.com>
> Reported-by: Yinan Wang <yinan.wang at intel.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Applied to dpdk-next-virtio/master.

Thanks,
Maxime



More information about the dev mailing list