IB/mlx5: Report CapabilityMask2 in ib_query_port
CapabilityMask2 exists when IB_PORT_CAP_MASK2_SUP is set in the original capability mask. In such cases, query its value and report it in query port. Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Reviewed-by: Majd Dibbiny <majd@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
a5a5d19936
commit
4106a758f7
@@ -749,8 +749,8 @@ struct mlx5_hca_vport_context {
|
||||
u64 node_guid;
|
||||
u32 cap_mask1;
|
||||
u32 cap_mask1_perm;
|
||||
u32 cap_mask2;
|
||||
u32 cap_mask2_perm;
|
||||
u16 cap_mask2;
|
||||
u16 cap_mask2_perm;
|
||||
u16 lid;
|
||||
u8 init_type_reply; /* bitmask: see ib spec 14.2.5.6 InitTypeReply */
|
||||
u8 lmc;
|
||||
|
Reference in New Issue
Block a user