net/i40e: fix single VLAN tag to be outer VLAN tag
authorBeilei Xing <beilei.xing@intel.com>
Wed, 22 Jun 2016 02:53:51 +0000 (10:53 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 24 Jun 2016 16:28:09 +0000 (18:28 +0200)
commit5b2d37858d32ec6aba78f15dc065f286108d6b4e
tree400d6f57c0beda08f7e236fc18a1d6b6d8317c8f
parent40d941a5179a7460adbd1226f216ee625edbd15d
net/i40e: fix single VLAN tag to be outer VLAN tag

In current i40e codebase, if single VLAN header is added in a packet,
it's treated as inner VLAN. Generally, a single VLAN header is
treated as the outer VLAN header, so update the driver behaviour
appropriately.

Fixes: 19b16e2f6442 ("ethdev: add vlan type when setting ether type")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
doc/guides/rel_notes/release_16_07.rst
drivers/net/i40e/i40e_ethdev.c
lib/librte_ether/rte_ethdev.h