[dpdk-stable] [PATCH v2 1/2] vdpa/mlx5: workaround FW first completion in start

Xueming(Steven) Li xuemingl at nvidia.com
Thu Oct 21 14:36:30 CEST 2021


On Thu, 2021-10-21 at 14:27 +0200, Maxime Coquelin wrote:
> 
> On 10/15/21 17:05, Xueming Li wrote:
> > After a vDPA application restart, qemu restores VQ with used and
> > available index, new incoming packet triggers virtio driver to
> > handle buffers. Under heavy traffic, no available buffer for
> > firmware to receive new packets, no Rx interrupts generated,
> > driver is stuck on endless interrupt waiting.
> > 
> > As a firmware workaround, this patch sends a notification after
> > VQ setup to ask driver handling buffers and filling new buffers.
> > 
> > Fixes: bff735011078 ("vdpa/mlx5: prepare virtio queues")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> > Reviewed-by: Matan Azrad <matan at nvidia.com>
> > ---
> >   drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 4 ++++
> >   1 file changed, 4 insertions(+)
> > 
> 
> 
> Applied to dpdk-next-virtio/main.

Thanks Maxime!

> 
> Thanks,
> Maxime
> 



More information about the stable mailing list