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

David Marchand david.marchand at redhat.com
Mon Feb 24 11:32:12 CET 2020


On Mon, Feb 24, 2020 at 9:28 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> 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.

I might have cold feet, but taking this fix right now feels risky.
If the problem has been there since 19.11, it can wait 20.05 and it
will go to 19.11 after proper validation.


-- 
David Marchand



More information about the stable mailing list