Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c82 ibnex_ctl_query_hca_t query_hca; in dapli_init_hca() local
113 bzero(&query_hca, sizeof (query_hca)); in dapli_init_hca()
114 query_hca.hca_guid = ib_attr.dia_hca_guid; in dapli_init_hca()
115 query_hca.hca_device_path = hca_device_path; in dapli_init_hca()
116 query_hca.hca_device_path_alloc_sz = sizeof (hca_device_path); in dapli_init_hca()
117 if (ioctl(ibnex_fd, IBNEX_CTL_QUERY_HCA, &query_hca) == -1) { in dapli_init_hca()
125 if (strcmp(query_hca.hca_info.hca_driver_name, "tavor") == 0) in dapli_init_hca()
127 else if (strcmp(query_hca.hca_info.hca_driver_name, "arbel") == 0) in dapli_init_hca()
129 else if (strcmp(query_hca.hca_info.hca_driver_name, "hermon") == 0) { in dapli_init_hca()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c2962 ibnex_ctl_query_hca_t *query_hca = NULL; in ibnex_ctl_query_hca() local
2995 query_hca = kmem_zalloc(sizeof (ibnex_ctl_query_hca_t), in ibnex_ctl_query_hca()
2998 if (ddi_copyin((void *)arg, query_hca, in ibnex_ctl_query_hca()
3006 hca_guid = query_hca->hca_guid; in ibnex_ctl_query_hca()
3007 device_path = query_hca->hca_device_path; in ibnex_ctl_query_hca()
3008 device_path_alloc_sz = query_hca->hca_device_path_alloc_sz; in ibnex_ctl_query_hca()
3042 IBNEX_CTL_CP_HCA_INFO(&query_hca->hca_info, hca_attr, in ibnex_ctl_query_hca()
3047 if (ddi_copyout(&query_hca->hca_info, in ibnex_ctl_query_hca()
3068 if (query_hca) in ibnex_ctl_query_hca()
3069 kmem_free(query_hca, sizeof (ibnex_ctl_query_hca_t)); in ibnex_ctl_query_hca()