Searched refs:lids (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_ucast_mgr.c | 680 uint16_t lids; in ucast_mgr_setup_all_switches() local 682 lids = (uint16_t) cl_ptr_vector_get_size(&p_subn->port_lid_tbl); in ucast_mgr_setup_all_switches() 683 lids = lids ? lids - 1 : 0; in ucast_mgr_setup_all_switches() 688 if (osm_switch_prepare_path_rebuild(p_sw, lids)) { in ucast_mgr_setup_all_switches()
|
H A D | osm_ucast_dfsssp.c | 108 uint16_t *lids; /* sorted array of all lids in the subnet */ member 361 qsort(vltable->lids, vltable->num_lids, sizeof(ib_net16_t), cmp_lids); in vltable_sort_lids() 372 (ib_net16_t *) bsearch(key, vltable->lids, vltable->num_lids, in vltable_get_lidindex() 375 return found_lid - vltable->lids; in vltable_get_lidindex() 445 "\n", cl_ntoh16(vltable->lids[ind1]), in vltable_print() 446 cl_ntoh16(vltable->lids[ind2]), in vltable_print() 457 if ((*vltable)->lids) in vltable_dealloc() 458 free((*vltable)->lids); in vltable_dealloc() 473 (*vltable)->lids = (ib_net16_t *) malloc(size * sizeof(ib_net16_t)); in vltable_alloc() 474 if (!((*vltable)->lids)) in vltable_alloc() [all …]
|
H A D | osm_switch.c | 604 static int alloc_lft(IN osm_switch_t * p_sw, uint16_t lids) in alloc_lft() argument 609 lft_size = (lids / IB_SMP_DATA_SIZE + 1) * IB_SMP_DATA_SIZE; in alloc_lft()
|