Thread (7 messages) flat view 7 messages, 2 authors, 2026-08-26

Re: [PATCH v2 3/4] net: add VLAN insert function with a TPID argument

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2026-08-26 20:50:34

On Wed, 26 Aug 2026 13:38:40 -0400
William Bland [off-list ref] 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 <redacted>
---
Applied to next-net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help