mlx4: Disable HA for SRIOV PF RoCE devices
commit62a9ad17a245002cc611fc4667c2919ef422d8ee
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 25 Jun 2015 08:29:44 +0000 (25 11:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 16:49:30 +0000 (10 09:49 -0700)
treef5ada634197226c3374daab8e51decb1220fc518
parent1b74080050336e29a82abc2a9b2e1f901485a362
mlx4: Disable HA for SRIOV PF RoCE devices

[ Upstream commit 7254acffeeec3c0a75b9c5364c29a6eb00014930 ]

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: a57500903093 ('IB/mlx4: Add port aggregation support')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx4/intf.c