net/bnxt: set VLAN strip mode before default VNIC cfg
authorBei Sun <bei.sun@broadcom.com>
Sat, 29 Sep 2018 02:00:04 +0000 (19:00 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit3153ec8bd1eedbc6d34671b0e2b51bf97896caa3
tree5778f8711bfcd08b04dcae671b4559d077256c09
parent5bf10cdb67db5ee7308cc752b51f0f12dcdcb0e8
net/bnxt: set VLAN strip mode before default VNIC cfg

Firmware sets pf pair in default VNIC cfg. If the VLAN strip
setting is not available at this time, it will not be
configured correctly in the CFA.
Set the desired VLAN strip mode before default VNIC configuration.

Fixes: 7fe5668d2ea3 ("net/bnxt: support VLAN filter and strip")
Cc: stable@dpdk.org
Signed-off-by: Bei Sun <bei.sun@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c