Author: kib
Date: Wed Mar 18 22:47:14 2020
New Revision: 359106
URL: https://svnweb.freebsd.org/changeset/base/359106

Log:
  mlx5_core: lower the severity of message noting that no SR-IOV cap is present.
  
  Reviewed by:  hselasky
  Sponsored by: Mellanox Technologies
  MFC after:    2 weeks

Modified:
  head/sys/dev/mlx5/mlx5_core/mlx5_main.c

Modified: head/sys/dev/mlx5/mlx5_core/mlx5_main.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_core/mlx5_main.c     Wed Mar 18 22:44:48 2020        
(r359105)
+++ head/sys/dev/mlx5/mlx5_core/mlx5_main.c     Wed Mar 18 22:47:14 2020        
(r359106)
@@ -1608,7 +1608,7 @@ static int init_one(struct pci_dev *pdev,
                        num_vfs = pci_read_config(bsddev, sriov_pos +
                            PCIR_SRIOV_TOTAL_VFS, 2);
                } else {
-                       mlx5_core_err(dev, "cannot find SR-IOV PCIe cap\n");
+                       mlx5_core_info(dev, "cannot find SR-IOV PCIe cap\n");
                        num_vfs = 0;
                }
                err = mlx5_eswitch_init(dev, 1 + num_vfs);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to