svn commit: r359538 - stable/12/sys/dev/mlx5/mlx5_core

Konstantin Belousov kib at FreeBSD.org
Wed Apr 1 19:46:40 UTC 2020


Author: kib
Date: Wed Apr  1 19:46:31 2020
New Revision: 359538
URL: https://svnweb.freebsd.org/changeset/base/359538

Log:
  MFC r359106:
  mlx5_core: lower the severity of message noting that no SR-IOV cap is present.

Modified:
  stable/12/sys/dev/mlx5/mlx5_core/mlx5_main.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_main.c
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_core/mlx5_main.c	Wed Apr  1 19:45:27 2020	(r359537)
+++ stable/12/sys/dev/mlx5/mlx5_core/mlx5_main.c	Wed Apr  1 19:46:31 2020	(r359538)
@@ -1607,7 +1607,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-stable-12 mailing list