Thread (7 messages) flat view 7 messages, 2 authors, 22d ago

Re: [PATCH v2 2/4] net/af_packet: make Rx VLAN stripped flag handling explicit

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

On Wed, 26 Aug 2026 13:38:39 -0400
William Bland [off-list ref] wrote:
Rx VLAN handling set RTE_MBUF_F_RX_VLAN_STRIPPED unconditionally,
relying on rte_vlan_insert() to clear it again. This produced correct
flags, but in a way that was not readily apparent from the driver.

Make the flag handling explicit in the driver itself: only set
RTE_MBUF_F_RX_VLAN_STRIPPED when vlan_strip is requested, or when
reinsertion fails. No behavioral change.

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