]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf60d3286ca97e22a7119618dd5990872da34c93f
tree37e810304b486fc336d76f609b9200de47a912ec
parent17ea8d921c7040c56b5ce090e56114a212984f3e
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