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 <shreyansh.jain@nxp.com>
This commit is contained in:
parent
43cbea1edf
commit
44e87c27a5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user