[dpdk-dev] [PATCH v1] net/iavf: adjust the VLAN failure handling
Haiyue Wang
haiyue.wang at intel.com
Mon Jan 25 12:44:21 CET 2021
Change the fatal returning to print the error message only, 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 at intel.com>
---
drivers/net/iavf/iavf_ethdev.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index 8e741031ec..af655084d2 100644
--- a/drivers/net/iavf/iavf_ethdev.c
+++ b/drivers/net/iavf/iavf_ethdev.c
@@ -429,10 +429,8 @@ iavf_dev_configure(struct rte_eth_dev *dev)
}
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) {
--
2.30.0
More information about the dev
mailing list