net/iavf: fix VLAN strip configuration
authorJunfeng Guo <junfeng.guo@intel.com>
Fri, 22 Jan 2021 13:35:41 +0000 (13:35 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commit87b81daeeb871660cc1c96e64e1887c43ec4c3b2
treedd87a3f318f0175b4999c15b3b0a2af39edd296b
parent3e7ff9d5d80386b9f588f401c91b044ea08a68c5
net/iavf: fix VLAN strip configuration

For AVF with single VLAN mode (SVM), port VLAN stripping config
has already been disabled by PF. In this scenario, the error of
-ENOTSUP can be ignored.

Fixes: 1c301e8c3cff ("net/iavf: support new VLAN capabilities")

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
drivers/net/iavf/iavf_ethdev.c