[PATCH] net/mlx5: fix flex item capability check

Raslan Darawsheh rasland at nvidia.com
Tue Mar 24 14:03:11 CET 2026


Hi,


On 23/03/2026 12:20 PM, Dariusz Sosnowski wrote:
> Whenever installed BlueField FW was too old and it did not support
> flex parser, mlx5 PMD reported an unrelated error
> on flex item creation.
> For example it reported that:
> 
>      unsupported header length field mode (FIXED)
> 
> This was caused by lack of check for flex parser support.
> 
> This patch adds missing capability check and
> adds proper error reporting.
> Limitations of flex item described in PMD docs are also adjusted.
> 
> Fixes: 71adf25dbfb3 ("net/mlx5: fix flex item availability")
> Cc: getelson at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list