mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 23:02:27 +07:00
staging/rdma/hfi1: Reduce syslog message severity and provide speed information
The syslog message causes unnecessary alarm for the single and dual port x8 cards by reporting at an error level. This patch reduces the severity to informational only and adds speed information. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
a92ba6d628
commit
82ab09e131
@ -398,9 +398,7 @@ int pcie_speeds(struct hfi1_devdata *dd)
|
||||
/* obtain the link width and current speed */
|
||||
update_lbus_info(dd);
|
||||
|
||||
/* check against expected pcie width and complain if "wrong" */
|
||||
if (dd->lbus_width < 16)
|
||||
dd_dev_err(dd, "PCIe width %u (x16 HFI)\n", dd->lbus_width);
|
||||
dd_dev_info(dd, "%s\n", dd->lbus_info);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user