Searched refs:attr_array (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/contrib/ofed/opensm/opensm/
H A Dmain.c431 ib_port_attr_t attr_array[MAX_LOCAL_IBPORTS]; local
437 attr_array[i].num_pkeys = 0;
438 attr_array[i].p_pkey_table = NULL;
439 attr_array[i].num_gids = 0;
440 attr_array[i].p_gid_table = NULL;
444 status = osm_vendor_get_all_port_attr(p_osm->p_vendor, attr_array,
461 cl_hton64(attr_array[0].port_guid));
462 return attr_array[0].port_guid;
467 if (attr_array[i].link_state > IB_LINK_DOWN)
472 cl_hton64(attr_array[
[all...]
/freebsd-current/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mtl_hca_guid.c552 ib_port_attr_t attr_array[GUID_ARRAY_SIZE]; local
574 status = osm_vendor_get_all_port_attr(p_vend, attr_array, &num_ports);
595 cl_ntoh64(attr_array[i].port_guid),
596 cl_ntoh16(attr_array[i].lid),
597 ib_get_port_state_str(attr_array[i].link_state));
611 attr_array[choice - 1].port_guid,
620 return (attr_array[choice - 1].port_guid);

Completed in 93 milliseconds