On Mon, Mar 30, 2026 at 09:23:19AM +0530, Shaiq Wani wrote:
> L2TPv2 types with the Length bit set have a 2-byte Length field before
> Tunnel ID, placing session_id at UDP payload offset 14, not 12. The
> driver always used offset 12, causing FDIR to match on wrong bytes.
>
> Wire up ICE_FLOW_FIELD_IDX_L2TPV2_LEN_SESS_ID which was defined but
> never used, and select it based on the L-bit in flags_version.
>
> Fixes: 733640dae75e ("net/ice: support L2TPv2 flow pattern matching")
>
> Signed-off-by: Shaiq Wani <[email protected]>
> ---
> drivers/net/intel/ice/ice_fdir_filter.c | 13 +++++++++++--
> drivers/net/intel/ice/ice_generic_flow.h | 3 +++
> 2 files changed, 14 insertions(+), 2 deletions(-)
Acked-by: Bruce Richardson <[email protected]>
Applied to dpdk-next-net-intel.
Thanks,
/Bruce