]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/netlink: Expose device and port capability masks
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 20 Jun 2017 11:47:08 +0000 (14:47 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:28:10 +0000 (13:28 +0300)
commit2da687ee323cd5755e1b731ca387d038074d231a
tree2d5f4773b916f70b58ebe38efdef631540178cd4
parent6acee9b5ecb120af959326fbb580315454c431e3
RDMA/netlink: Expose device and port capability masks

The port capability mask is exposed to user space via sysfs interface,
while device capabilities are available for verbs only.

This patch provides those capabilities through netlink interface.

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