From: Qi Zhang Date: Tue, 15 Dec 2020 04:30:32 +0000 (+0800) Subject: net/ice/base: change get PHY capability log level X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=553be3ed18543fc7fe0beb3c62c5ec764c945eef;p=dpdk.git net/ice/base: change get PHY capability log level As the user may be expected to take action on this issue, change the message to a warning so that the message is more easily accessible than a debug. Also, add the error code to further aide in identifying the problem. Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index 8c6503afab..5c59dd63cb 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -782,7 +782,8 @@ enum ice_status ice_init_hw(struct ice_hw *hw) ICE_AQC_REPORT_TOPO_CAP, pcaps, NULL); ice_free(hw, pcaps); if (status) - ice_debug(hw, ICE_DBG_PHY, "Get PHY capabilities failed, continuing anyway\n"); + ice_warn(hw, "Get PHY capabilities failed status = %d, continuing anyway\n", + status); /* Initialize port_info struct with link information */ status = ice_aq_get_link_info(hw->port_info, false, NULL, NULL);