aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/main.c
diff options
context:
space:
mode:
authorJonathan Toppins <jtoppins@redhat.com>2018-01-04 16:04:13 -0500
committerDoug Ledford <dledford@redhat.com>2018-01-05 14:35:31 -0500
commit8fc12d94ee997625dbae102e597ac0f4a21f2142 (patch)
treebeccecdcdc55fd23cb73c9cc4054bf1208bb97d4 /drivers/infiniband/hw/bnxt_re/main.c
parentRDMA/core: Add encode/decode FDR/EDR rates (diff)
downloadlinux-dev-8fc12d94ee997625dbae102e597ac0f4a21f2142.tar.xz
linux-dev-8fc12d94ee997625dbae102e597ac0f4a21f2142.zip
bnxt_re: report RoCE device support at info level
Reporting that a device doesn't support RoCE seems like a valuable piece of information to have when trying to determine why a driver is not binding to a device. Better to report this at info log level instead of requiring a user to enable all debug messages in the driver. Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> Acked-By: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/bnxt_re/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/main.c b/drivers/infiniband/hw/bnxt_re/main.c
index aafc19aa5de1..bf268bf1f496 100644
--- a/drivers/infiniband/hw/bnxt_re/main.c
+++ b/drivers/infiniband/hw/bnxt_re/main.c
@@ -417,7 +417,7 @@ static struct bnxt_en_dev *bnxt_re_dev_probe(struct net_device *netdev)
return ERR_PTR(-EINVAL);
if (!(en_dev->flags & BNXT_EN_FLAG_ROCE_CAP)) {
- dev_dbg(&pdev->dev,
+ dev_info(&pdev->dev,
"%s: probe error: RoCE is not supported on this device",
ROCE_DRV_MODULE_NAME);
return ERR_PTR(-ENODEV);