mbuf: clarify QinQ flag usage
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 3 Oct 2018 15:19:12 +0000 (16:19 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commitb2fd0273897e9254d0ae7965fbd4e5f4e9618d1d
treef1c90cbd8508bcd19754e5304b9aa015696e31b2
parent7e43a32ee06054e7af9de6b9830b61b783df063b
mbuf: clarify QinQ flag usage

Update implementation that when PKT_RX_QINQ_STRIPPED mbuf ol_flags
set by PMD, PKT_RX_QINQ, PKT_RX_VLAN_STRIPPED & PKT_RX_VLAN
should be also set.

Clarify mbuf documentations that when PKT_RX_QINQ set PKT_RX_VLAN also
should be set.

So that appllication can rely on PKT_RX_QINQ flag to access both
mbuf.vlan_tci & mbuf.vlan_tci_outer

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/rxonly.c
doc/guides/nics/features.rst
drivers/net/i40e/i40e_rxtx.c
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h