Hi Hal Partition tables blocks are always 16 bits. This resolves the need to later cast back and forth.
Thanks Eitan Signed-off-by: Eitan Zahavi <[EMAIL PROTECTED]> Index: include/opensm/osm_pkey.h =================================================================== --- include/opensm/osm_pkey.h (revision 9502) +++ include/opensm/osm_pkey.h (working copy) @@ -143,7 +143,7 @@ typedef struct _osm_pkey_tbl typedef struct _osm_pending_pkey { cl_list_item_t list_item; uint16_t pkey; - uint32_t block; + uint16_t block; uint8_t index; boolean_t is_new; } osm_pending_pkey_t; @@ -396,7 +396,7 @@ ib_api_status_t osm_pkey_tbl_get_block_and_idx( IN osm_pkey_tbl_t *p_pkey_tbl, IN uint16_t *p_pkey, - OUT uint32_t *block_idx, + OUT uint16_t *block_idx, OUT uint8_t *pkey_index); /* * p_pkey_tbl _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general