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>
This commit is contained in:

committed by
Leon Romanovsky

parent
c3f66f7b00
commit
ac50525374
@@ -257,6 +257,11 @@ enum rdma_nldev_attr {
|
||||
*/
|
||||
RDMA_NLDEV_ATTR_PORT_INDEX, /* u32 */
|
||||
|
||||
/*
|
||||
* Device and port capabilities
|
||||
*/
|
||||
RDMA_NLDEV_ATTR_CAP_FLAGS, /* u64 */
|
||||
|
||||
RDMA_NLDEV_ATTR_MAX
|
||||
};
|
||||
#endif /* _UAPI_RDMA_NETLINK_H */
|
||||
|
Reference in New Issue
Block a user