]> git.feebdaed.xyz Git - 0xmirror/dpdk.git/commit
net/mlx5: fix flex flow item header length
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Tue, 18 Nov 2025 14:57:06 +0000 (16:57 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 24 Nov 2025 15:52:29 +0000 (16:52 +0100)
commita2234609bf7e4f5bb1ad8f6f60c5f574f32c3558
tree66d090958fa7d25841664b94d8b245cf057b016b
parentfe433b5c99cfedbf976d167500797bb8cac799c2
net/mlx5: fix flex flow item header length

There is the updated firmware providing the new capability
bit "header_length_field_offset_mode". If this bit is set
the length field offset in flex parser configuration should
not be adjusted by the supported field mask left margin,
and the bit "header_length_field_offset_mode" should be set
in configuration command on the flex parser creation
firmware call.

Fixes: b04b06f4cb3f ("net/mlx5: fix flex item header length field translation")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_flow_flex.c