[PATCH v2 3/4] net: add VLAN insert function with a TPID argument
Stephen Hemminger
stephen at networkplumber.org
Wed Aug 26 22:27:36 CEST 2026
On Wed, 26 Aug 2026 13:38:40 -0400
William Bland <blandwwa at gmail.com> wrote:
> rte_vlan_insert() hardcodes EtherType 0x8100 (802.1Q). This is wrong
> when reinserting a stripped tag whose original TPID was 0x88a8 (802.1ad
> QinQ).
>
> Add rte_vlan_insert_tpid() which takes an explicit tpid parameter, and
> rewrite rte_vlan_insert() as a wrapper that passes RTE_ETHER_TYPE_VLAN.
>
> Signed-off-by: William Bland <blandwwa at gmail.com>
> ---
Applied to next-net.
More information about the dev
mailing list