Commit 82ab09e1 authored by Easwar Hariharan's avatar Easwar Hariharan Committed by Doug Ledford
Browse files

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: default avatarDennis Dalessandro <>
Signed-off-by: default avatarEaswar Hariharan <>
Signed-off-by: default avatarJubin John <>
Signed-off-by: default avatarDoug Ledford <>
parent a92ba6d6
...@@ -398,9 +398,7 @@ int pcie_speeds(struct hfi1_devdata *dd) ...@@ -398,9 +398,7 @@ int pcie_speeds(struct hfi1_devdata *dd)
/* obtain the link width and current speed */ /* obtain the link width and current speed */
update_lbus_info(dd); update_lbus_info(dd);
/* check against expected pcie width and complain if "wrong" */ dd_dev_info(dd, "%s\n", dd->lbus_info);
if (dd->lbus_width < 16)
dd_dev_err(dd, "PCIe width %u (x16 HFI)\n", dd->lbus_width);
return 0; return 0;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment