[dpdk-dev] mbuf vlan_tci validity unclear
Morten Brørup
mb at smartsharesystems.com
Wed Jan 17 22:20:53 CET 2018
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 someone please update the comments in rte_mbuf.h accordingly.
Med venlig hilsen / kind regards
Morten Brørup
CTO
SmartShare Systems A/S
Tonsbakken 16-18
DK-2740 Skovlunde
Denmark
Office +45 70 20 00 93
Direct +45 89 93 50 22
Mobile +45 25 40 82 12
mb at smartsharesystems.com <mailto:mb at smartsharesystems.com>
www.smartsharesystems.com <https://www.smartsharesystems.com/>
More information about the dev
mailing list