From: Shreyansh Jain Date: Wed, 17 Oct 2018 10:10:38 +0000 (+0000) Subject: net/dpaa2: decrease link state log level X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=44e87c27a51ef82f16c24c105b5fec16480e558e;p=dpdk.git net/dpaa2: decrease link state log level In case the link is down during initial link state check, messages for link state check flood the console. Reducing the log level for these. Signed-off-by: Shreyansh Jain --- diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 3987d13df4..d8b7fa186e 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1412,7 +1412,7 @@ dpaa2_dev_link_update(struct rte_eth_dev *dev, ret = dpni_get_link_state(dpni, CMD_PRI_LOW, priv->token, &state); if (ret < 0) { - DPAA2_PMD_ERR("error: dpni_get_link_state %d", ret); + DPAA2_PMD_DEBUG("error: dpni_get_link_state %d", ret); return -1; } @@ -1474,7 +1474,7 @@ dpaa2_dev_set_link_up(struct rte_eth_dev *dev) } ret = dpni_get_link_state(dpni, CMD_PRI_LOW, priv->token, &state); if (ret < 0) { - DPAA2_PMD_ERR("Unable to get link state (%d)", ret); + DPAA2_PMD_DEBUG("Unable to get link state (%d)", ret); return -1; }