--- zzzz-none-000/linux-5.15.111/net/8021q/vlan_core.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/net/8021q/vlan_core.c 2024-02-07 10:23:29.000000000 +0000 @@ -58,6 +58,16 @@ } skb->priority = vlan_get_ingress_priority(vlan_dev, skb->vlan_tci); +#ifdef CONFIG_TI_PACKET_PROCESSOR + /* + * Need to save the vpid vlan_tci before it will erased + * We will use it later in the ingress hook to reproduce + * the vlan_tci of the real internal vpid's Vlan. + */ + if (skb->vpid_vlan_tci != 0) + skb->parent_vpid_vlan_tci = skb->vpid_vlan_tci; + skb->vpid_vlan_tci = skb_vlan_tag_get(skb); +#endif __vlan_hwaccel_clear_tag(skb); rx_stats = this_cpu_ptr(vlan_dev_priv(vlan_dev)->vlan_pcpu_stats);