[PATCH] net/mlx5: fix MPRQ stride size check

Slava Ovsiienko viacheslavo at nvidia.com
Mon Nov 13 11:42:42 CET 2023


> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Thursday, October 12, 2023 7:35 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Suanming Mou <suanmingm at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH] net/mlx5: fix MPRQ stride size check
> 
> We should only check that MPRQ stride size is bigger than the mbuf size in
> case no devarg configuration has been provided. Headroom check was
> indtroduced recently and removed this condition inadvertently.
> Restore this condition and only check if mprq_log_stride_size is not set.
> 
> Fixes: 8e7925aa77 ("net/mlx5: fix MPRQ stride size to accommodate the
> headroom")
> 
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>


More information about the dev mailing list