projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82e9aa
)
mlx4_ib: disable SRIOV mode for IB ports (not yet supported)
author
Jack Morgenstein
<jackm@dev.mellanox.co.il>
Tue, 13 Dec 2011 04:15:46 +0000
(
04:15
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Dec 2011 18:56:07 +0000
(13:56 -0500)
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/mlx4/main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx4/main.c
b/drivers/infiniband/hw/mlx4/main.c
index 34f8a5d9da755261f88cab87c602d72ab64e23cf..b8279deb614d0dd722668581e2575d4ef2b1b2c8 100644
(file)
--- a/
drivers/infiniband/hw/mlx4/main.c
+++ b/
drivers/infiniband/hw/mlx4/main.c
@@
-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++;