Home
last modified time | relevance | path

Searched refs:srq_ptr (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_srq_util.c57 DAPL_SRQ *srq_ptr; in dapl_srq_alloc() local
61 srq_ptr = (DAPL_SRQ *)dapl_os_alloc(sizeof (DAPL_SRQ)); in dapl_srq_alloc()
62 if (srq_ptr == NULL) { in dapl_srq_alloc()
67 (void) dapl_os_memzero(srq_ptr, sizeof (DAPL_SRQ)); in dapl_srq_alloc()
72 srq_ptr->header.provider = ia_ptr->header.provider; in dapl_srq_alloc()
73 srq_ptr->header.magic = DAPL_MAGIC_SRQ; in dapl_srq_alloc()
74 srq_ptr->header.handle_type = DAT_HANDLE_TYPE_SRQ; in dapl_srq_alloc()
75 srq_ptr->header.owner_ia = ia_ptr; in dapl_srq_alloc()
76 srq_ptr->header.user_context.as_64 = 0; in dapl_srq_alloc()
77 dapl_llist_init_entry(&srq_ptr->header.ia_list_entry); in dapl_srq_alloc()
[all …]
H A Ddapl_srq.c75 DAPL_SRQ *srq_ptr; in dapl_srq_create() local
126 srq_ptr = dapl_srq_alloc(ia_ptr, srq_attr); in dapl_srq_create()
127 if (srq_ptr == NULL) { in dapl_srq_create()
139 srq_ptr->param.ia_handle = ia_handle; in dapl_srq_create()
140 srq_ptr->param.srq_state = DAT_SRQ_STATE_OPERATIONAL; in dapl_srq_create()
141 srq_ptr->param.pz_handle = pz_handle; in dapl_srq_create()
142 srq_ptr->param.max_recv_dtos = srq_attr->max_recv_dtos; in dapl_srq_create()
143 srq_ptr->param.max_recv_iov = srq_attr->max_recv_iov; in dapl_srq_create()
144 srq_ptr->param.low_watermark = DAT_SRQ_LW_DEFAULT; in dapl_srq_create()
146 srq_ptr->param.available_dto_count = DAT_VALUE_UNKNOWN; in dapl_srq_create()
[all …]
H A Ddapl_ia_util.c1020 IN DAPL_SRQ *srq_ptr) in dapl_ia_link_srq() argument
1024 &srq_ptr->header.ia_list_entry, in dapl_ia_link_srq()
1025 srq_ptr); in dapl_ia_link_srq()
1048 IN DAPL_SRQ *srq_ptr) in dapl_ia_unlink_srq() argument
1052 &srq_ptr->header.ia_list_entry); in dapl_ia_unlink_srq()
H A Ddapl_evd_util.c931 DAPL_SRQ *srq_ptr; in dapli_evd_cqe_to_event() local
955 srq_ptr = cookie->queue.srq; in dapli_evd_cqe_to_event()
956 dapl_os_assert(NULL != srq_ptr); in dapli_evd_cqe_to_event()
957 dapl_os_assert(srq_ptr->header.magic == DAPL_MAGIC_SRQ); in dapli_evd_cqe_to_event()
959 ep_ptr = dapls_ib_srq_lookup_ep(srq_ptr, cqe_ptr); in dapli_evd_cqe_to_event()
1005 dapl_os_atomic_dec(&srq_ptr->recv_count); in dapli_evd_cqe_to_event()
1006 buffer = &srq_ptr->recv_buffer; in dapli_evd_cqe_to_event()
/titanic_44/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_qp.c43 static DAT_RETURN dapli_ib_srq_add_ep(IN ib_srq_handle_t srq_ptr,
45 static void dapli_ib_srq_remove_ep(IN ib_srq_handle_t srq_ptr,
47 static DAT_RETURN dapli_ib_srq_resize_internal(IN DAPL_SRQ *srq_ptr,
579 dapls_ib_srq_alloc(IN DAPL_IA *ia_ptr, IN DAPL_SRQ *srq_ptr) in dapls_ib_srq_alloc() argument
602 dapl_os_assert(srq_ptr->param.pz_handle != NULL); in dapls_ib_srq_alloc()
605 pz_handle = (DAPL_PZ *)srq_ptr->param.pz_handle; in dapls_ib_srq_alloc()
619 srqc_args.srqc_sizes.srqs_sz = srq_ptr->param.max_recv_dtos; in dapls_ib_srq_alloc()
620 srqc_args.srqc_sizes.srqs_sgl = srq_ptr->param.max_recv_iov; in dapls_ib_srq_alloc()
625 srq_ptr, pz_handle, srqc_args.srqc_pd_hkey, in dapls_ib_srq_alloc()
679 srq_ptr->srq_handle = ibsrq_p; in dapls_ib_srq_alloc()
[all …]
H A Ddapl_tavor_ibtf_dto.c220 IN DAPL_SRQ *srq_ptr, in dapls_ib_post_srq() argument
234 if (srq_ptr->srq_handle == NULL) { in dapls_ib_post_srq()
268 cookie->val.dto.size, srq_ptr->srq_handle->srq_hkey); in dapls_ib_post_srq()
279 retval = DAPL_SRECV(srq_ptr)(srq_ptr, &pr_wr, B_TRUE); in dapls_ib_post_srq()
H A Ddapl_tavor_ibtf_util.c1617 ib_srq_handle_t srq_ptr; in dapls_ib_free_premature_events() local
1621 srq_ptr = qp_ptr->qp_srq; in dapls_ib_free_premature_events()
1625 tail = srq_ptr->srq_freepr_tail; in dapls_ib_free_premature_events()
1626 srq_ptr->srq_freepr_events[tail] = free_index; in dapls_ib_free_premature_events()
1627 srq_ptr->srq_freepr_tail = (tail + 1) % srq_ptr->srq_wq_numwqe; in dapls_ib_free_premature_events()
1628 srq_ptr->srq_freepr_num_events++; in dapls_ib_free_premature_events()
1629 DAPL_SET_CQE_INVALID(&srq_ptr->srq_premature_events[free_index]); in dapls_ib_free_premature_events()
/titanic_44/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_srq_util.h46 dapl_srq_dealloc(IN DAPL_SRQ *srq_ptr);
H A Ddapl_adapter_util.h311 IN DAPL_SRQ *srq_ptr,
347 IN DAPL_SRQ *srq_ptr,
351 IN DAPL_SRQ *srq_ptr,