Re: [dpdk-dev] mbuf vlan_tci validity unclear

2018-01-22 Thread Olivier Matz
Hi Morten, On Wed, Jan 17, 2018 at 10:20:53PM +0100, Morten Brørup wrote: > In rte_mbuf.h, the description of the PKT_RX_VLAN flag (lines 93-94) says that > mbuf->vlan_tci contains the VLAN TCI if the flag is set; however, the > description of the vlan_tci field (line 513) says that the > PKT_RX_V

[dpdk-dev] mbuf vlan_tci validity unclear

2018-01-17 Thread Morten Brørup
In rte_mbuf.h, the description of the PKT_RX_VLAN flag (lines 93-94) says that mbuf->vlan_tci contains the VLAN TCI if the flag is set; however, the description of the vlan_tci field (line 513) says that the PKT_RX_VLAN_STRIPPED flag must be set for it to be valid. Which one is it? And will