svn commit: r359106 - head/sys/dev/mlx5/mlx5_core

Konstantin Belousov kib at FreeBSD.org
Wed Mar 18 22:47:15 UTC 2020


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);


More information about the svn-src-head mailing list