[PATCH v2] net/mlx5: fix out of order completions in ordinary Rx burst
Raslan Darawsheh
rasland at nvidia.com
Wed Jul 9 13:06:37 CEST 2025
Hi,
On 08/07/2025 1:46 PM, Viacheslav Ovsiienko wrote:
> The existing Rx burst routines suppose the completions in CQ
> arrive in order and address the WQEs in receiving queue in order.
> That is not true for the shared RQs, CQEs can arrive in out of
> order and to address appropriate WQE we should fetch its index
> from the CQE wqe_counter field.
>
> Also, we can advance the RQ CI if and only if all the WQEs are
> handled in the covered range. This requires slide window to track
> handled WQEs. We support the out-of-order window size up to the
> full queue size.
>
> Fixes: 09c2555303be ("net/mlx5: support shared Rx queue")
> Cc: stable at dpdk.org
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
>
> ---
> v2: added Cc: stable
> ---
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list