[dpdk-dev] [PATCH] net/mlx5: fix assert in dynamic metadata handling

Raslan Darawsheh rasland at mellanox.com
Thu Apr 30 11:16:19 CEST 2020


Hi,

> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at mellanox.com>
> Sent: Monday, April 27, 2020 9:20 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Raslan Darawsheh <rasland at mellanox.com>; Slava
> Ovsiienko <viacheslavo at mellanox.com>
> Subject: [PATCH] net/mlx5: fix assert in dynamic metadata handling
> 
> The assert in dynamic flow metadata handling is wrong after the
> fix for the performance degradation. The assert meant to check
> the metadata mask but was updated with the metadata offset instead.
> Fix this assert and restore proper metadata mask checking.
> 
> Fixes: 6c55b62 ("net/mlx5: set dynamic flow metadata in Rx queues")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Alexander Kozyrev <akozyrev at mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 7 ++++---
>  drivers/net/mlx5/mlx5_rxtx_vec_neon.h    | 5 +++--
>  drivers/net/mlx5/mlx5_rxtx_vec_sse.h     | 3 ++-
>  3 files changed, 9 insertions(+), 6 deletions(-)
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list