[PATCH] net/mlx5: forbid MPRQ restart

Slava Ovsiienko viacheslavo at nvidia.com
Tue Jul 4 07:57:18 CEST 2023


> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Tuesday, July 4, 2023 12:22 AM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: forbid MPRQ restart
> 
> The queue restart is only supported by the non-vectorized single-packet
> receive queue today. Restarting MPRQ will result in corrupted packets
> because of CQE and WQE mismatch.
> Prevent this by not allowing the MPRQ Rx queue stop.
> 
> Fixes: 161d103b23 ("net/mlx5: add queue start and stop")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list