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

Raslan Darawsheh
2026-03-24T13:03:26Z

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@nvidia.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh