From: Olivier Matz Date: Mon, 22 Jan 2018 12:53:03 +0000 (+0100) Subject: mbuf: fix API documentation regarding VLAN flags X-Git-Tag: spdx-start~3 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f9fe1abaddee779310f78e54a873583cc51a7194;p=dpdk.git mbuf: fix API documentation regarding VLAN flags Fix inconsistency between mbuf structure documentation and flags documentation. Reported-by: Morten Brørup Signed-off-by: Olivier Matz --- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 2fd4f5ef97..7835a2be82 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -510,7 +510,7 @@ struct rte_mbuf { uint32_t pkt_len; /**< Total pkt len: sum of all segments. */ uint16_t data_len; /**< Amount of data in segment buffer. */ - /** VLAN TCI (CPU order), valid if PKT_RX_VLAN_STRIPPED is set. */ + /** VLAN TCI (CPU order), valid if PKT_RX_VLAN is set. */ uint16_t vlan_tci; union { @@ -536,7 +536,7 @@ struct rte_mbuf { uint32_t usr; /**< User defined tags. See rte_distributor_process() */ } hash; /**< hash information */ - /** Outer VLAN TCI (CPU order), valid if PKT_RX_QINQ_STRIPPED is set. */ + /** Outer VLAN TCI (CPU order), valid if PKT_RX_QINQ is set. */ uint16_t vlan_tci_outer; uint16_t buf_len; /**< Length of segment buffer. */