]> 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)
commitf364b470f034f4973035935abb0f016bda0996b1
tree37e810304b486fc336d76f609b9200de47a912ec
parentf40c94094dbbf06bf1cd1f9d4b8432fd75d2f0e1
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