RDMA/netlink: Export node_type
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 29 Jun 2017 13:01:29 +0000 (16:01 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:28:14 +0000 (13:28 +0300)
commit1bb77b8c1d57149ed0aa6825255ead80ae584034
treeb7c8ca2283e40c4826e56aa784de2dde22cbe141
parent5654e49db0b2d87c12b6e120b6a830abe3d3921b
RDMA/netlink: Export node_type

Add ability to get node_type for RDAM netlink users.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h