IB/mlx4: Build the port IBoE GID table properly under bonding
authorMoni Shoua <monis@mellanox.co.il>
Wed, 5 Feb 2014 13:13:02 +0000 (15:13 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 13 Feb 2014 22:31:09 +0000 (14:31 -0800)
commitad4885d279b63c65347220236d07669a2f59634b
tree1d540ca627bc2b997320384dda5bd9d7907f40e9
parent5071456fe244e409adcda7226e5f0b5d1b879fd3
IB/mlx4: Build the port IBoE GID table properly under bonding

When scanning netdevices we need to check a few more conditions and
cases to build the IBoE GID table properly.  For example, under
bonding we must make sure that when a port is down, the bond IP
address isn't programmed as a GID, since doing so will cause failure
with IB core flows that selects ports by GID.

Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c