[PATCH 3/7] net/ice: fix L2TPv2 inner segment header setup

Burakov, Anatoly anatoly.burakov at intel.com
Fri Jun 5 16:47:18 CEST 2026


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 <shaiq.wani at intel.com>
> ---

Nitpick: TCP cases can be reordered to slightly reduce code churn. 
Otherwise,

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list