IB/mlx4: Get upper dev addresses as RoCE GIDs when port comes up
authorMoni Shoua <monis@mellanox.com>
Thu, 21 Aug 2014 11:28:40 +0000 (14:28 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 22 Sep 2014 16:46:52 +0000 (09:46 -0700)
commitbccb84f1dfab92ed180adf09c76cfa9ddc90edb9
tree095c0d9da9bc1ed99a7adfabe64245b7ec946d14
parent655b2aaefc353604f9975c31960d9722e6eda449
IB/mlx4: Get upper dev addresses as RoCE GIDs when port comes up

When a RoCE port becomes active and the netdev of the port has upper
device (e.g bond/team), GIDs derived from the upper dev should appear
in the port's RoCE GID table.

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