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
This commit is contained in:
Konstantin Belousov 2020-03-18 22:47:14 +00:00
parent bbcb656af2
commit 4ad58ea85b

View file

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