[ofa-general] [PATCH] opensm/osm_partition.h: trivial - fixing pkey order in struct
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Sun Mar 23 16:01:01 PDT 2008
Pkey in partition struct should be in network order.
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
opensm/include/opensm/osm_partition.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/include/opensm/osm_partition.h b/opensm/include/opensm/osm_partition.h
index 539b1aa..70da27d 100644
--- a/opensm/include/opensm/osm_partition.h
+++ b/opensm/include/opensm/osm_partition.h
@@ -96,7 +96,7 @@ BEGIN_C_DECLS
*/
typedef struct _osm_prtn {
cl_map_item_t map_item;
- uint16_t pkey;
+ ib_net16_t pkey;
uint8_t sl;
cl_map_t full_guid_tbl;
cl_map_t part_guid_tbl;
--
1.5.1.4
More information about the general
mailing list