net/i40e: fix dropping packets with ethertype 0x88A8
authorBeilei Xing <beilei.xing@intel.com>
Wed, 17 Aug 2016 01:58:06 +0000 (09:58 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit4d61120d5ce750ec5a3b3625cb45ad7c3a915d9e
tree92bcf308b70822260a94a94b7d7066a942fb5bc3
parente7a29e46d1e8781feb1f8df1126e47a143d6b507
net/i40e: fix dropping packets with ethertype 0x88A8

In FW default settings, Ethertype 0x88A8 is treated as S-TAG,
and packets with S-TAG should be received in Port Virtualizer mode.
However, Port Virtualizer mode is not initialized in DPDK, so X710 will
drop packets with Ethertype 0x88A8.
This patch fixes this issue by turning off S-TAG identification.

Fixes: 4861cde46116 ("i40e: new poll mode driver")

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