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>
This commit is contained in:
committed by
Jason Gunthorpe
parent
2e8039c656
commit
4fa2813d26
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user