[PATCH 21.11] net/mlx5: fix miniCQEs number calculation
Kevin Traynor
ktraynor at redhat.com
Wed Dec 4 12:36:00 CET 2024
On 27/11/2024 18:42, Alexander Kozyrev wrote:
> Use the information from the CQE, not from the title packet,
> for getting the number of miniCQEs in the compressed CQEs array.
> This way we can avoid segfaults in the rxq_cq_decompress_v()
> in case of mbuf corruption (due to double mbuf free, for example).
>
> Fixes: 6cb559d67b ("net/mlx5: add vectorized Rx/Tx burst for x86")
>
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
> ---
> drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 3 +--
> drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 3 +--
> drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 3 +--
> 3 files changed, 3 insertions(+), 6 deletions(-)
>
Thanks for rebasing. Applied and pushed to 21.11 branch.
Kevin.
More information about the stable
mailing list