[dpdk-dev] [PATCH] net/mlx5: fix Rx queues completion index consistency
Raslan Darawsheh
rasland at nvidia.com
Mon Nov 9 15:38:36 CET 2020
Hi,
> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Sent: Friday, November 6, 2020 7:16 PM
> To: dev at dpdk.org
> Cc: Raslan Darawsheh <rasland at nvidia.com>; Alexander Kozyrev
> <akozyrev at nvidia.com>; Matan Azrad <matan at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix Rx queues completion index consistency
>
> The Rx queue completion consumer index got temporary
> wrong value pointing to the midst of the compressed CQE
> session. If application crashed at the moment the next
> queue restart caused handling wrong CQEs pointed by index
> and losing consuming index synchronization, that made
> reliable queue restart impossible.
>
> Fixes: 88c0733535d6 ("net/mlx5: extend Rx completion with error handling")
> Cc: stable at dpdk.org
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> drivers/net/mlx5/mlx5_rxq.c | 2 +-
> drivers/net/mlx5/mlx5_rxtx.c | 16 +++++++++++-----
> 2 files changed, 12 insertions(+), 6 deletions(-)
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list