From: Zerun Fu <zerun...@corigine.com> Here the invoke of `nfp_eth_read_ports()` may fail, but it's acceptable because it will recover soon once the link status changed.
So modify the level of the log to avoid confusing users. Signed-off-by: Zerun Fu <zerun...@corigine.com> Reviewed-by: Chaoyong He <chaoyong...@corigine.com> Reviewed-by: Long Wu <long...@corigine.com> Reviewed-by: Peng Zhang <peng.zh...@corigine.com> --- drivers/net/nfp/nfp_net_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_net_common.c b/drivers/net/nfp/nfp_net_common.c index de7140db0a..70531bc337 100644 --- a/drivers/net/nfp/nfp_net_common.c +++ b/drivers/net/nfp/nfp_net_common.c @@ -779,7 +779,7 @@ nfp_net_pf_speed_update(struct rte_eth_dev *dev, if (pf_dev->speed_updated || aneg == NFP_ANEG_AUTO) { nfp_eth_table = nfp_eth_read_ports(pf_dev->cpp); if (nfp_eth_table == NULL) { - PMD_DRV_LOG(WARNING, "Failed to update port speed."); + PMD_DRV_LOG(DEBUG, "Failed to get nfp_eth_table."); } else { pf_dev->nfp_eth_table->ports[idx] = nfp_eth_table->ports[idx]; free(nfp_eth_table); -- 2.39.1