IB/mlx4: Reorder steps in RoCE GID table initialization
authorMoni Shoua <monis@mellanox.com>
Thu, 21 Aug 2014 11:28:39 +0000 (14:28 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 22 Sep 2014 16:46:52 +0000 (09:46 -0700)
commit655b2aaefc353604f9975c31960d9722e6eda449
tree37e810304b486fc336d76f609b9200de47a912ec
parentf5c4834d9328c4ed9fe5dcbec6128d6da16db69a
IB/mlx4: Reorder steps in RoCE GID table initialization

There's no need to reset the gid table twice and we need to do it only
for Ethernet ports. Also, no need to actively scan ndetdevs since it's
being done immediatly after we register netdev notifiers.

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