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: [email protected]
>
> Signed-off-by: Marvin Liu <[email protected]>
> Reported-by: Yinan Wang <[email protected]>
> Reviewed-by: Maxime Coquelin <[email protected]>
>
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.
Thanks,
Maxime