/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hca_util.c | 56 * hca_ptr 66 DAPL_HCA *hca_ptr; local 68 hca_ptr = dapl_os_alloc(sizeof (DAPL_HCA)); 69 if (NULL != hca_ptr) { 70 (void) dapl_os_memzero(hca_ptr, sizeof (DAPL_HCA)); 74 DAT_TRUE, &hca_ptr->lmr_hash_table)) { 75 dapl_os_lock_init(&hca_ptr->lock); 76 dapl_llist_init_head(&hca_ptr->ia_list_head); 78 hca_ptr->name = dapl_os_strdup(name); 79 hca_ptr 106 dapl_hca_free(DAPL_HCA *hca_ptr) argument 138 dapl_hca_link_ia(IN DAPL_HCA *hca_ptr, IN DAPL_IA *ia_ptr) argument 163 dapl_hca_unlink_ia(IN DAPL_HCA *hca_ptr, IN DAPL_IA *ia_ptr) argument [all...] |
H A D | dapl_init.c | 174 DAPL_HCA *hca_ptr; local 178 hca_ptr = NULL; 188 hca_ptr = dapl_hca_alloc((char *)provider_info->ia_name, 0); 189 if (NULL == hca_ptr) { 195 provider->extension = hca_ptr; 212 if (NULL != hca_ptr) { 213 dapl_hca_free(hca_ptr);
|
H A D | dapl_ia_open.c | 58 DAPL_HCA *hca_ptr, 62 static void dapli_hca_cleanup(DAPL_HCA *hca_ptr, DAT_BOOLEAN dec_ref); 179 DAPL_HCA *hca_ptr; local 185 hca_ptr = NULL; 221 /* get the hca_ptr */ 222 hca_ptr = (DAPL_HCA *)provider->extension; 227 dapl_os_lock(&hca_ptr->lock); 228 if (hca_ptr->ib_hca_handle == IB_INVALID_HANDLE) { 230 dat_status = dapls_ib_open_hca(hca_ptr, 231 &hca_ptr 448 dapli_hca_cleanup( DAPL_HCA *hca_ptr, DAT_BOOLEAN dec_ref) argument 503 dapli_assign_hca_ip_address( DAPL_HCA *hca_ptr, char *device_name) argument 577 dapli_setup_dummy_addr( IN DAPL_HCA *hca_ptr, IN char *rhost_name) argument [all...] |
H A D | dapl_osd.c | 364 DAPL_HCA *hca_ptr; local 379 hca_ptr = (DAPL_HCA *) cur_node->data.extension; 386 while (!dapl_llist_is_empty(&hca_ptr->ia_list_head)) { 388 dapl_llist_peek_head(&hca_ptr->ia_list_head); 454 owner_ia->hca_ptr->lmr_hash_table, 503 dapl_hca_unlink_ia(ia_ptr->hca_ptr, ia_ptr);
|
H A D | dapl_ia_util.c | 49 DAPL_HCA *hca_ptr); 68 dapl_ia_alloc(DAT_PROVIDER * provider, DAPL_HCA * hca_ptr) argument 96 ia_ptr->hca_ptr = hca_ptr; 114 dapl_hca_link_ia(hca_ptr, ia_ptr); 148 DAPL_HCA *hca_ptr; local 307 hca_ptr = ia_ptr->hca_ptr; 316 hca_ptr->async_evd = NULL; /* It was our async EVD; nuke it. */ 335 dapli_ia_release_hca(hca_ptr); 367 DAPL_HCA *hca_ptr; local 462 dapli_ia_release_hca( DAPL_HCA *hca_ptr) argument [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hca.c | 61 static DAT_RETURN dapli_process_ia(dladm_ib_attr_t *ib_attr, DAPL_HCA *hca_ptr, 75 IN DAPL_HCA *hca_ptr) 102 if ((dladm_name2info(dlh, hca_ptr->name, &linkid, NULL, &class, 110 hca_ptr->name); 122 hca_ptr->name); 127 dapls_init_funcs_tavor(hca_ptr); 129 dapls_init_funcs_arbel(hca_ptr); 131 dapls_init_funcs_hermon(hca_ptr); 136 "init_hca: %s not found\n", hca_ptr->name); 145 hca_ptr 74 dapli_init_hca( IN DAPL_HCA *hca_ptr) argument 311 dapli_process_ia(dladm_ib_attr_t *ib_attr, DAPL_HCA *hca_ptr, int hca_idx) argument 468 dapls_ib_open_hca( IN DAPL_HCA *hca_ptr, OUT ib_hca_handle_t *ib_hca_handle_p) argument 620 dapli_process_fake_ibds(DAPL_HCA *hca_ptr, int hca_idx) argument 629 DAPL_HCA *hca_ptr; local [all...] |
H A D | dapl_arbel_hw.c | 1615 dapls_init_funcs_arbel(DAPL_HCA *hca_ptr) argument 1617 hca_ptr->post_send = dapli_arbel_post_send; 1618 hca_ptr->post_recv = dapli_arbel_post_recv; 1619 hca_ptr->post_srq = dapli_arbel_post_srq; 1620 hca_ptr->cq_peek = dapli_arbel_cq_peek; 1621 hca_ptr->cq_poll = dapli_arbel_cq_poll; 1622 hca_ptr->cq_poll_one = dapli_arbel_cq_poll_one; 1623 hca_ptr->cq_notify = dapli_arbel_cq_notify; 1624 hca_ptr->srq_flush = dapli_arbel_cq_srq_entries_flush; 1625 hca_ptr [all...] |
H A D | dapl_hermon_hw.c | 1649 dapls_init_funcs_hermon(DAPL_HCA *hca_ptr) argument 1651 hca_ptr->post_send = dapli_hermon_post_send; 1652 hca_ptr->post_recv = dapli_hermon_post_recv; 1653 hca_ptr->post_srq = dapli_hermon_post_srq; 1654 hca_ptr->cq_peek = dapli_hermon_cq_peek; 1655 hca_ptr->cq_poll = dapli_hermon_cq_poll; 1656 hca_ptr->cq_poll_one = dapli_hermon_cq_poll_one; 1657 hca_ptr->cq_notify = dapli_hermon_cq_notify; 1658 hca_ptr->srq_flush = dapli_hermon_cq_srq_entries_flush; 1659 hca_ptr [all...] |
H A D | dapl_tavor_hw.c | 1890 dapls_init_funcs_tavor(DAPL_HCA *hca_ptr) argument 1892 hca_ptr->post_send = dapli_tavor_post_send; 1893 hca_ptr->post_recv = dapli_tavor_post_recv; 1894 hca_ptr->post_srq = dapli_tavor_post_srq; 1895 hca_ptr->cq_peek = dapli_tavor_cq_peek; 1896 hca_ptr->cq_poll = dapli_tavor_cq_poll; 1897 hca_ptr->cq_poll_one = dapli_tavor_cq_poll_one; 1898 hca_ptr->cq_notify = dapli_tavor_cq_notify; 1899 hca_ptr->srq_flush = dapli_tavor_cq_srq_entries_flush; 1900 hca_ptr [all...] |
H A D | dapl_tavor_ibtf_util.c | 113 ia_fd = ia_ptr->hca_ptr->ib_hca_handle->ia_fd; 114 hca_fd = ia_ptr->hca_ptr->ib_hca_handle->hca_fd; 206 cq_handle->cq_iauar = ia_ptr->hca_ptr->ib_hca_handle->ia_uar; 289 DAPL_HCA *hca_ptr; local 309 hca_ptr = evd_ptr->header.owner_ia->hca_ptr; 312 if (hca_ptr->hermon_resize_cq == 0) { 325 ia_fd = hca_ptr->ib_hca_handle->ia_fd; 326 hca_fd = hca_ptr->ib_hca_handle->hca_fd; 370 if (hca_ptr 535 dapls_ib_cqd_create( IN DAPL_HCA *hca_ptr) argument 560 dapls_ib_cqd_destroy( IN DAPL_HCA *hca_ptr) argument 1386 dapls_ib_query_ia( IN dapl_hca_attr_t *hca_attr, IN DAPL_HCA *hca_ptr, OUT DAT_IA_ATTR *ia_attr) argument 1489 dapls_ib_query_ep( IN dapl_hca_attr_t *hca_attr, IN DAPL_HCA *hca_ptr, OUT DAT_EP_ATTR *ep_attr) argument 1522 dapls_ib_query_hca( IN DAPL_HCA *hca_ptr, OUT DAT_IA_ATTR *ia_attr, OUT DAT_EP_ATTR *ep_attr, OUT DAT_SOCK_ADDR6 *ip_addr, OUT DAT_SRQ_ATTR *srq_attr) argument [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl.h | 354 #define DAPL_SEND(x) (x->header.owner_ia->hca_ptr->post_send) 355 #define DAPL_RECV(x) (x->header.owner_ia->hca_ptr->post_recv) 356 #define DAPL_SRECV(x) (x->header.owner_ia->hca_ptr->post_srq) 357 #define DAPL_PEEK(x) (x->header.owner_ia->hca_ptr->cq_peek) 358 #define DAPL_POLL(x) (x->header.owner_ia->hca_ptr->cq_poll) 359 #define DAPL_POLL1(x) (x->header.owner_ia->hca_ptr->cq_poll_one) 360 #define DAPL_NOTIFY(x) (x->header.owner_ia->hca_ptr->cq_notify) 361 #define DAPL_FLUSH(x) (x->header.owner_ia->hca_ptr->srq_flush) 362 #define DAPL_INIT_QP(x) (x->hca_ptr->qp_init) 363 #define DAPL_INIT_CQ(x) (x->hca_ptr 388 DAPL_HCA *hca_ptr; member in struct:dapl_ia [all...] |