diff options
author | Michael Guralnik <michaelgur@mellanox.com> | 2018-12-09 12:58:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-12-21 01:18:24 +0300 |
commit | 4fa2813d26c82680216e535c18a690ca0c4e860a (patch) | |
tree | 0754334e1e6b1dd923625c25cca6a1f34f3c6301 /include/uapi | |
parent | 2e8039c656224b4a21e1947f45946d32a59bae53 (diff) | |
download | linux-4fa2813d26c82680216e535c18a690ca0c4e860a.tar.xz |
RDMA/nldev: Expose port_cap_flags2
port_cap_flags2 represents IBTA PortInfo:CapabilityMask2.
The field safely extends the RDMA_NLDEV_ATTR_CAP_FLAGS operand as it was
exported as 64 bit to allow this kind of extension.
Signed-off-by: Michael Guralnik <michaelgur@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/rdma/rdma_netlink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h index f9c41bf59efc..2e18b77a817f 100644 --- a/include/uapi/rdma/rdma_netlink.h +++ b/include/uapi/rdma/rdma_netlink.h @@ -283,6 +283,9 @@ enum rdma_nldev_attr { /* * Device and port capabilities + * + * When used for port info, first 32-bits are CapabilityMask followed by + * 16-bit CapabilityMask2. */ RDMA_NLDEV_ATTR_CAP_FLAGS, /* u64 */ |