]> 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)
commitcb9888e5695d25fb1ed0acaaa20137253d7af910
tree2d5f4773b916f70b58ebe38efdef631540178cd4
parent4dc8796efe29cc42c7549db45bb7bcab9f2ce03b
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