Home
last modified time | relevance | path

Searched refs:query_hca (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c83 ibnex_ctl_query_hca_t query_hca; in dapli_init_hca() local
114 bzero(&query_hca, sizeof (query_hca)); in dapli_init_hca()
115 query_hca.hca_guid = ib_attr.dia_hca_guid; in dapli_init_hca()
116 query_hca.hca_device_path = hca_device_path; in dapli_init_hca()
117 query_hca.hca_device_path_alloc_sz = sizeof (hca_device_path); in dapli_init_hca()
118 if (ioctl(ibnex_fd, IBNEX_CTL_QUERY_HCA, &query_hca) == -1) { in dapli_init_hca()
126 if (strcmp(query_hca.hca_info.hca_driver_name, "tavor") == 0) in dapli_init_hca()
128 else if (strcmp(query_hca.hca_info.hca_driver_name, "arbel") == 0) in dapli_init_hca()
130 else if (strcmp(query_hca.hca_info.hca_driver_name, "hermon") == 0) { in dapli_init_hca()
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c1318 ibnex_ctl_query_hca_t query_hca; in datadm_add_plink() local
1347 bzero(&query_hca, sizeof (query_hca)); in datadm_add_plink()
1348 query_hca.hca_guid = ib_attr.dia_hca_guid; in datadm_add_plink()
1349 if (ioctl(ia_args->ia_ibnex_fd, IBNEX_CTL_QUERY_HCA, &query_hca) == -1) in datadm_add_plink()
1353 query_hca.hca_info.hca_driver_name)) == NULL) in datadm_add_plink()
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c2964 ibnex_ctl_query_hca_t *query_hca = NULL; in ibnex_ctl_query_hca() local
3001 query_hca = kmem_zalloc(sizeof (ibnex_ctl_query_hca_t), in ibnex_ctl_query_hca()
3004 if (ddi_copyin((void *)arg, query_hca, in ibnex_ctl_query_hca()
3012 hca_guid = query_hca->hca_guid; in ibnex_ctl_query_hca()
3013 device_path = query_hca->hca_device_path; in ibnex_ctl_query_hca()
3014 device_path_alloc_sz = query_hca->hca_device_path_alloc_sz; in ibnex_ctl_query_hca()
3062 IBNEX_CTL_CP_HCA_INFO(&query_hca->hca_info, hca_attr, in ibnex_ctl_query_hca()
3067 if (ddi_copyout(&query_hca->hca_info, in ibnex_ctl_query_hca()
3089 if (query_hca) in ibnex_ctl_query_hca()
3090 kmem_free(query_hca, sizeof (ibnex_ctl_query_hca_t)); in ibnex_ctl_query_hca()