net/i40e: fix floating VEB
authorBeilei Xing <beilei.xing@intel.com>
Fri, 4 Nov 2016 11:08:08 +0000 (19:08 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 16:43:09 +0000 (17:43 +0100)
commit0284624f14a4ab55a6163179dfb53d891dc85650
tree359eb24ef88961b30503747f86021c2cb353f7de
parentc6431c891d9e9691e3205fe5c5350071cbaeb852
net/i40e: fix floating VEB

Turning off S-TAG identification will impact floating VEB,
VFs can't communicate with each other.
This patch fixes this issue by judging whether floating
VEB is enabled, S-TAG identification will be turned off
only when floating VEB is disabled.

Fixes: 4d61120d5ce7 ("net/i40e: fix dropping packets with ethertype 0x88A8")

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
doc/guides/nics/i40e.rst
drivers/net/i40e/i40e_ethdev.c