DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] mbuf vlan_tci validity unclear
@ 2018-01-17 21:20 Morten Brørup
  2018-01-22 12:51 ` Olivier Matz
  2018-01-29  9:36 ` [dpdk-dev] [PATCH] mbuf: fix API documentation regarding VLAN flags Olivier Matz
  0 siblings, 2 replies; 4+ messages in thread
From: Morten Brørup @ 2018-01-17 21:20 UTC (permalink / raw)
  To: DPDK

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@smartsharesystems.com <mailto:mb@smartsharesystems.com> 

www.smartsharesystems.com <https://www.smartsharesystems.com/> 

 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-29 16:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17 21:20 [dpdk-dev] mbuf vlan_tci validity unclear Morten Brørup
2018-01-22 12:51 ` Olivier Matz
2018-01-29  9:36 ` [dpdk-dev] [PATCH] mbuf: fix API documentation regarding VLAN flags Olivier Matz
2018-01-29 16:24   ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).