]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: Disable HA for SRIOV PF RoCE devices
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 25 Jun 2015 08:29:44 +0000 (11:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2015 09:06:29 +0000 (02:06 -0700)
commit9c2f6bba6553845e2da1b1d72dfe5b97efb042a1
tree528321f5c5c97c74d5b6e74ef6b40d256ba6c9a2
parent5f82a8db7745076e69550966f9f0caa49a31d3d2
mlx4: Disable HA for SRIOV PF RoCE devices

When in HA mode, the driver exposes an IB (RoCE) device instance with only
one port. Under SRIOV, the existing implementation doesn't go well with
the PF RoCE driver's role of Special QPs Para-Virtualization, etc.

As such, disable HA for the mlx4 PF RoCE device in SRIOV mode.

Fixes: a835630e56ff ('IB/mlx4: Add port aggregation support')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/intf.c