提交 8e59d254 编写于 作者: J Jack Morgenstein 提交者: David S. Miller

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

Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c82e9aa0
......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册