Searched refs:hca_cap (Results 1 – 2 of 2) sorted by relevance
| /src/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_mlx_hca.c | 174 VAPI_hca_cap_t hca_cap; in __osm_ca_info_init() local 197 vapi_res = VAPI_query_hca_cap(hca_hndl, &hca_vendor, &hca_cap); in __osm_ca_info_init() 206 memcpy(&(p_ca_info->guid), hca_cap.node_guid, 8 * sizeof(u_int8_t)); in __osm_ca_info_init() 209 memcpy(&(p_ca_info->p_attr->ca_guid), hca_cap.node_guid, in __osm_ca_info_init() 213 p_ca_info->p_attr->num_ports = hca_cap.phys_port_num; in __osm_ca_info_init() 215 (ib_port_attr_t *) malloc(hca_cap.phys_port_num * in __osm_ca_info_init() 413 VAPI_hca_cap_t hca_cap; in osm_vendor_get_guid_ca_and_port() local 457 vapi_res = VAPI_query_hca_cap(hca_hndl, &hca_vendor, &hca_cap); in osm_vendor_get_guid_ca_and_port() 467 for (portIdx = 0; portIdx < hca_cap.phys_port_num; portIdx++) { in osm_vendor_get_guid_ca_and_port()
|
| H A D | osm_vendor_mtl_hca_guid.c | 194 VAPI_hca_cap_t hca_cap; in __osm_ca_info_init() local 217 vapi_res = VAPI_query_hca_cap(hca_hndl, &hca_vendor, &hca_cap); in __osm_ca_info_init() 226 memcpy(&(p_ca_info->guid), hca_cap.node_guid, 8 * sizeof(u_int8_t)); in __osm_ca_info_init() 229 memcpy(&(p_ca_info->p_attr->ca_guid), hca_cap.node_guid, in __osm_ca_info_init() 233 p_ca_info->p_attr->num_ports = hca_cap.phys_port_num; in __osm_ca_info_init() 235 (ib_port_attr_t *) malloc(hca_cap.phys_port_num * in __osm_ca_info_init() 431 VAPI_hca_cap_t hca_cap; in osm_vendor_get_guid_ca_and_port() local 475 vapi_res = VAPI_query_hca_cap(hca_hndl, &hca_vendor, &hca_cap); in osm_vendor_get_guid_ca_and_port() 485 for (portIdx = 0; portIdx < hca_cap.phys_port_num; portIdx++) { in osm_vendor_get_guid_ca_and_port()
|