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>
}
ret = iavf_dev_init_vlan(dev);
- if (ret) {
+ if (ret)
PMD_DRV_LOG(ERR, "configure VLAN failed: %d", ret);
- return -1;
- }
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF) {
if (iavf_init_rss(ad) != 0) {