i40e: fix VLAN stripping from inner header
authorJingjing Wu <jingjing.wu@intel.com>
Wed, 4 May 2016 05:42:25 +0000 (13:42 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 6 May 2016 13:51:22 +0000 (15:51 +0200)
commitdb340cf2ef71af231af67be8e42fd603e4bab0ac
treed9e5b9efea2a8c24e4fb83258ab53b60520ecb86
parentb9a10de8d37bd373246e74ad1a414b1abd53c680
i40e: fix VLAN stripping from inner header

Previously, for tunnel packets, such as VXLAN/NVGRE, the vlan
tags of the inner header will be stripped without putting vlan
info to descriptor, what is not expected behaviour.
This patch fixes it by changing hardware configuration to leave
the inner packet alone.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
doc/guides/rel_notes/release_16_07.rst
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_rxtx.c