libibmad: Add remaining SM GUIDInfo attribute fields
PATCH v3 1/3 libibmad: Add remaining SM GUIDInfo attribute fields
---
Change since v2:
Another config change to try to fix formatting
Change since v1:
Hopefully fix formatting problem after sending
libibmad/include/infiniband/mad.h | 9 ++++++++- libibmad/src/fields.c | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-)
libibmad/include/infiniband/mad.h +8 -1
@@ -1,7 +1,7 @@/* * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. * Copyright (c) 2009 HNR Consulting. All rights reserved. -* Copyright (c) 2009 Mellanox Technologies LTD. All rights reserved. +* Copyright (c) 2009-2010 Mellanox Technologies LTD. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU
@@ -580,6 +580,13 @@ enum MAD_FIELDS {* GUIDInfo fields */ IB_GUID_GUID0_F , +IB_GUID_GUID1_F , +IB_GUID_GUID2_F , +IB_GUID_GUID3_F , +IB_GUID_GUID4_F , +IB_GUID_GUID5_F , +IB_GUID_GUID6_F , +IB_GUID_GUID7_F ,/* * ClassPortInfo fields
libibmad/src/fields.c +8 -1
@@ -1,7 +1,7 @@/* * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. * Copyright (c) 2009 HNR Consulting. All rights reserved. -* Copyright (c) 2009 Mellanox Technologies LTD. All rights reserved. +* Copyright (c) 2009-2010 Mellanox Technologies LTD. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU
@@ -380,6 +380,13 @@ static const ib_field_t ib_mad_f[] = {* GUIDInfo fields */ {0, 64, "GUID0", mad_dump_hex}, + {64, 64, "GUID1", mad_dump_hex}, + {128, 64, "GUID2", mad_dump_hex}, + {192, 64, "GUID3", mad_dump_hex}, + {256, 64, "GUID4", mad_dump_hex}, + {320, 64, "GUID5", mad_dump_hex}, + {384, 64, "GUID6", mad_dump_hex}, + {448, 64, "GUID7", mad_dump_hex},/* * ClassPortInfo fields
Signature · 6 lines
1.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html