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

Maxime Coquelin maxime.coquelin at redhat.com
Mon Feb 24 09:28:16 CET 2020

Hi David & Thomas,

On 2/24/20 4:14 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>

If it is not too late, I think we should pick this patch for
v20.02. It is fixing a regression introduced in DPDK v19.11.

The risk of this patch causing a regression is very low, as it is
touching only the zero-copy packed ring dequeue path, which wihtout this
patch is anyway broken.


More information about the dev mailing list