IB/core: Register SA ibnl client during ib_core initialization
authorMark Bloch <markb@mellanox.com>
Thu, 19 May 2016 14:12:35 +0000 (17:12 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 May 2016 18:43:43 +0000 (14:43 -0400)
commit735c631ae99d4b6cffc9e2774258329c526daa65
tree40e7cc29ac5f19c83b818b44f7a2ca17f77ebbdc
parentc34d3761872a2784d7bae2a0bb6205e8ee07a7f7
IB/core: Register SA ibnl client during ib_core initialization

Move SA ibnl client registration to ib_core module init.
This will allow us to register a single client to handle
all RDMA_NL_LS operations and make it SA independent.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/device.c
drivers/infiniband/core/sa_query.c