mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mlx4_ib: disable SRIOV mode for IB ports (not yet supported)
Signed-off-by: Jack Morgenstein <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c82e9aa0a8
commit
8e59d254fe
1 changed files with 5 additions and 0 deletions
|
|
@ -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++;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue