Home
last modified time | relevance | path

Searched refs:max_lid (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c106 uint16_t max_lid; member
137 uint16_t max_lid; in lid_mgr_validate_db() local
157 &min_lid, &max_lid)) in lid_mgr_validate_db()
164 if (min_lid > max_lid || min_lid == 0 in lid_mgr_validate_db()
166 || max_lid > p_mgr->p_subn->max_ucast_lid_ho) { in lid_mgr_validate_db()
171 max_lid, p_item->guid); in lid_mgr_validate_db()
173 } else if (min_lid != max_lid in lid_mgr_validate_db()
182 min_lid, max_lid, p_item->guid, in lid_mgr_validate_db()
187 for (lid = min_lid; lid <= max_lid; lid++) { in lid_mgr_validate_db()
203 for (lid = min_lid; lid <= max_lid; lid++) { in lid_mgr_validate_db()
[all …]
H A Dosm_db_pack.c56 static inline void pack_lids(uint16_t min_lid, uint16_t max_lid, char *lid_str) in pack_lids() argument
58 sprintf(lid_str, "0x%04x 0x%04x", min_lid, max_lid); in pack_lids()
165 uint16_t min_lid, max_lid; in osm_db_guid2lid_get() local
171 if (unpack_lids(p_lid_str, &min_lid, &max_lid)) in osm_db_guid2lid_get()
177 *p_max_lid = max_lid; in osm_db_guid2lid_get()
183 IN uint16_t min_lid, IN uint16_t max_lid) in osm_db_guid2lid_set() argument
189 pack_lids(min_lid, max_lid, lid_str); in osm_db_guid2lid_set()
H A Dosm_dump.c308 unsigned max_lid = p_sw->max_lid_ho; in dump_lid_matrix() local
315 for (lid = 1; lid <= max_lid; lid++) { in dump_lid_matrix()
336 unsigned max_lid = p_sw->max_lid_ho; in dump_ucast_lfts() local
343 max_lid, cl_ntoh16(osm_node_get_base_lid(p_node, 0)), in dump_ucast_lfts()
345 for (lid = 0; lid <= max_lid; lid++) { in dump_ucast_lfts()
365 fprintf(file, "%u lids dumped\n", max_lid); in dump_ucast_lfts()
H A Dosm_ucast_file.c61 uint16_t min_lid, max_lid; in remap_lid() local
72 osm_port_get_lid_range_ho(p_port, &min_lid, &max_lid); in remap_lid()
73 if (min_lid <= lid && lid <= max_lid) in remap_lid()
H A Dosm_ucast_mgr.c924 if (p_mgr->max_lid < p_sw->max_lid_ho) in ucast_mgr_set_fwd_top()
925 p_mgr->max_lid = p_sw->max_lid_ho; in ucast_mgr_set_fwd_top()
1041 unsigned i, max_block = p_mgr->max_lid / IB_SMP_DATA_SIZE + 1; in ucast_mgr_pipeline_fwd_tbl()
1052 p_mgr->max_lid = 0; in osm_ucast_mgr_set_fwd_tables()
H A Dosm_state_mgr.c1109 size_t max_lid, ref_size, curr_size, lid; in state_mgr_check_tbl_consistency() local
1148 max_lid = (ref_size > curr_size) ? ref_size : curr_size; in state_mgr_check_tbl_consistency()
1150 for (lid = 1; lid < max_lid; lid++) { in state_mgr_check_tbl_consistency()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_ucast_mgr.h98 uint16_t max_lid; member
H A Dosm_db_pack.h189 IN uint16_t min_lid, IN uint16_t max_lid);