]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8b7daee9484f023e042b854bf6fd132c644e893
treed92472870c6cb997e449707b8adf52404fc6def6
parent0a98588f9ada5fb06f45c9b0f7a6e67a31406ce3
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