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)
commitac50525374315b9b609747f83b07f8dccb06b722
tree2d5f4773b916f70b58ebe38efdef631540178cd4
parentc3f66f7b0052ea854744372fdaae7817f5358e4f
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