net/iavf: adjust VLAN initialize failure handling
authorHaiyue Wang <haiyue.wang@intel.com>
Mon, 25 Jan 2021 11:44:21 +0000 (19:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:08 +0000 (18:16 +0100)
commitf3bbf08fafa51ce70451b8f4b6bbe8d1673df366
treea9c8993e94c6b1aa77d4c134fed2402e14150fb8
parente4d0e050ffd47cdb9cab7f52b7a2950bae7bedfd
net/iavf: adjust VLAN initialize failure handling

Instead of returning error on VLAN init failure, just log the error, so
that the VF device can continue to be configured.

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

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c