mlx4_ib: disable SRIOV mode for IB ports (not yet supported)
Subsystems (4)
PATCH 13/21 mlx4_ib: disable SRIOV mode for IB ports (not yet supported)
From: Jack Morgenstein <[email protected]>
Signed-off-by Jack Morgenstein <[email protected]>
--- drivers/infiniband/hw/mlx4/main.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/infiniband/hw/mlx4/main.c +5 -0
@@ -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++;
Signature · 1 line
1.7.7