RDMA/netink: Export lids and sm_lids
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 28 Jun 2017 12:38:36 +0000 (15:38 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:28:12 +0000 (13:28 +0300)
commit80a06dd36f79de7007f21f5cbe42181a4e5c7d6d
treed92472870c6cb997e449707b8adf52404fc6def6
parent12026fbba6af2fc53c3c6cf88bdfc6561986ba82
RDMA/netink: Export lids and sm_lids

According to the IB specification, the LID and SM_LID
are 16-bit wide, but to support OmniPath users, export
it as 32-bit value from the beginning.

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