From: Olivier Matz Date: Mon, 29 Jan 2018 09:36:06 +0000 (+0100) Subject: mbuf: fix VLAN flags documentation X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=de677ca0a94133088ff741fcd5d95dc25208357e;p=dpdk.git mbuf: fix VLAN flags documentation Fix inconsistency between mbuf structure documentation and flags documentation. Fixes: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags") Cc: stable@dpdk.org 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 d6fd10d6c3..719d04dda2 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -517,7 +517,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 { @@ -543,7 +543,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. */