OSDN Git Service

RDMA/nldev: Expose port_cap_flags2
authorMichael Guralnik <michaelgur@mellanox.com>
Sun, 9 Dec 2018 09:58:05 +0000 (11:58 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 20 Dec 2018 22:18:24 +0000 (15:18 -0700)
commit4fa2813d26c82680216e535c18a690ca0c4e860a
tree0754334e1e6b1dd923625c25cca6a1f34f3c6301
parent2e8039c656224b4a21e1947f45946d32a59bae53
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>
drivers/infiniband/core/nldev.c
include/uapi/rdma/rdma_netlink.h