]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mlx4: Activate SR-IOV mode for IB
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Fri, 3 Aug 2012 08:40:55 +0000 (08:40 +0000)
committerRoland Dreier <roland@purestorage.com>
Sun, 23 Sep 2012 16:26:58 +0000 (09:26 -0700)
commit5832181b32715a38ee29da25a1894a3c91291447
treef021b57f3d383e254d46fa3e04df3db6ad31bea6
parentf293d6c05aba101dabbc09a53b7e4f29bb6e9201
mlx4: Activate SR-IOV mode for IB

Remove the error returns for IB ports from mlx4_ib_add,
mlx4_INIT_PORT_wrapper, and mlx4_CLOSE_PORT_wrapper.

Currently, SRIOV is supported only for devices for which the
link layer is IB on all ports; RoCE support will be added later.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/fw.c
include/linux/mlx4/device.h