[dpdk-dev] [PATCH v3] mbuf: clarify QINQ flag usage

Olivier Matz olivier.matz at 6wind.com
Tue Oct 9 10:59:37 CEST 2018


On Wed, Oct 03, 2018 at 04:19:12PM +0100, Ferruh Yigit wrote:
> Update implementation that when PKT_RX_QINQ_STRIPPED mbuf ol_flags
> set by PMD, PKT_RX_QINQ, PKT_RX_VLAN_STRIPPED & PKT_RX_VLAN
> should be also set.
> 
> Clarify mbuf documentations that when PKT_RX_QINQ set PKT_RX_VLAN also
> should be set.
> 
> So that appllication can rely on PKT_RX_QINQ flag to access both
> mbuf.vlan_tci & mbuf.vlan_tci_outer
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list