net/bnxt: reduce debug log messages
Removed the mark id log message since it is in the data path. Also optimized the link status debug message. Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com> Reviewed-by: Mike Baucom <michael.baucom@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
b011ad0863
commit
69975a5426
drivers/net/bnxt
@ -1343,15 +1343,10 @@ static int bnxt_hwrm_port_phy_qcfg(struct bnxt *bp,
|
||||
|
||||
HWRM_UNLOCK();
|
||||
|
||||
PMD_DRV_LOG(DEBUG, "Link Speed %d\n", link_info->link_speed);
|
||||
PMD_DRV_LOG(DEBUG, "Auto Mode %d\n", link_info->auto_mode);
|
||||
PMD_DRV_LOG(DEBUG, "Support Speeds %x\n", link_info->support_speeds);
|
||||
PMD_DRV_LOG(DEBUG, "Auto Link Speed %x\n", link_info->auto_link_speed);
|
||||
PMD_DRV_LOG(DEBUG, "Auto Link Speed Mask %x\n",
|
||||
link_info->auto_link_speed_mask);
|
||||
PMD_DRV_LOG(DEBUG, "Forced Link Speed %x\n",
|
||||
link_info->force_link_speed);
|
||||
|
||||
PMD_DRV_LOG(DEBUG, "Link Speed:%d,Auto:%d:%x:%x,Support:%x,Force:%x\n",
|
||||
link_info->link_speed, link_info->auto_mode,
|
||||
link_info->auto_link_speed, link_info->auto_link_speed_mask,
|
||||
link_info->support_speeds, link_info->force_link_speed);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
@ -194,9 +194,6 @@ ulp_mark_db_mark_get(struct bnxt_ulp_context *ctxt,
|
||||
ULP_MARK_DB_ENTRY_IS_INVALID(&mtbl->gfid_tbl[idx]))
|
||||
return -EINVAL;
|
||||
|
||||
BNXT_TF_DBG(DEBUG, "Get GFID[0x%0x] = 0x%0x\n",
|
||||
idx, mtbl->gfid_tbl[idx].mark_id);
|
||||
|
||||
*vfr_flag = ULP_MARK_DB_ENTRY_IS_VFR_ID(&mtbl->gfid_tbl[idx]);
|
||||
*mark = mtbl->gfid_tbl[idx].mark_id;
|
||||
} else {
|
||||
@ -204,9 +201,6 @@ ulp_mark_db_mark_get(struct bnxt_ulp_context *ctxt,
|
||||
ULP_MARK_DB_ENTRY_IS_INVALID(&mtbl->lfid_tbl[idx]))
|
||||
return -EINVAL;
|
||||
|
||||
BNXT_TF_DBG(DEBUG, "Get LFID[0x%0x] = 0x%0x\n",
|
||||
idx, mtbl->lfid_tbl[idx].mark_id);
|
||||
|
||||
*vfr_flag = ULP_MARK_DB_ENTRY_IS_VFR_ID(&mtbl->lfid_tbl[idx]);
|
||||
*mark = mtbl->lfid_tbl[idx].mark_id;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user