]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d12b5c148629a9abf71d8396ac0e78b8f980cca
tree1d540ca627bc2b997320384dda5bd9d7907f40e9
parent79ed1473715dda2cff7307a39f303a8300b963f8
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