[PATCH net v4] net: stmmac: remove software VLAN tag stripping

Maxime Chevallier maxime.chevallier at bootlin.com
Wed Sep 2 05:37:27 PDT 2026


Hi,

> -
> - if ((vlan_proto == htons(ETH_P_8021Q) &&
> - dev->features & NETIF_F_HW_VLAN_CTAG_RX) ||
> - (vlan_proto == htons(ETH_P_8021AD) &&
> - dev->features & NETIF_F_HW_VLAN_STAG_RX)) {
> - /* pop the vlan tag */
> - vlanid = ntohs(veth->h_vlan_TCI);
> - memmove(skb->data + VLAN_HLEN, veth, ETH_ALEN * 2);
> - skb_pull(skb, VLAN_HLEN);
> - __vlan_hwaccel_put_tag(skb, vlan_proto, vlanid);
> - }
The patch is all mangled and doesn't apply, something went wrong
when generating/sending it :/

Maxime



More information about the linux-arm-kernel mailing list