Skip to content

Commit 8fc12d9

Browse files
Jonathan Toppinsdledford
authored andcommitted
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>
1 parent e2dda36 commit 8fc12d9

File tree

1 file changed

+1
-1
lines changed
  • drivers/infiniband/hw/bnxt_re

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/bnxt_re/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ static struct bnxt_en_dev *bnxt_re_dev_probe(struct net_device *netdev)
417417
return ERR_PTR(-EINVAL);
418418

419419
if (!(en_dev->flags & BNXT_EN_FLAG_ROCE_CAP)) {
420-
dev_dbg(&pdev->dev,
420+
dev_info(&pdev->dev,
421421
"%s: probe error: RoCE is not supported on this device",
422422
ROCE_DRV_MODULE_NAME);
423423
return ERR_PTR(-ENODEV);

0 commit comments

Comments
 (0)