On 4/27/2026 4:31 AM, Shaiq Wani wrote:
ice_fdir_input_set_hdrs() sets identical headers on both outer and inner segments and groups all PPP variants into a single fall-through, so the HW cannot distinguish inner IPv4 from IPv6 or TCP from UDP.Add a seg_idx parameter and expand each L2TPv2/PPP ptype into its own case with per-segment header selection. Also ensure the inner segment headers are always programmed even when no inner fields are extracted, so ptype-only narrowing works correctly. Fixes: 733640dae75e ("net/ice: support L2TPv2 flow pattern matching") Signed-off-by: Shaiq Wani <[email protected]> ---
Nitpick: TCP cases can be reordered to slightly reduce code churn. Otherwise,
Acked-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

