Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e59d254 authored by Jack Morgenstein's avatar Jack Morgenstein Committed by David S. Miller
Browse files

mlx4_ib: disable SRIOV mode for IB ports (not yet supported)

parent c82e9aa0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1075,6 +1075,11 @@ static void *mlx4_ib_add(struct mlx4_dev *dev)

	printk_once(KERN_INFO "%s", mlx4_ib_version);

	if (mlx4_is_mfunc(dev)) {
		printk(KERN_WARNING "IB not yet supported in SRIOV\n");
		return NULL;
	}

	mlx4_foreach_ib_transport_port(i, dev)
		num_ports++;