Home
last modified time | relevance | path

Searched refs:srqc_entry (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_srq.c62 hermon_hw_srqc_t srqc_entry; in hermon_srq_alloc() local
318 bzero(&srqc_entry, sizeof (hermon_hw_srqc_t)); in hermon_srq_alloc()
319 srqc_entry.state = HERMON_SRQ_STATE_HW_OWNER; in hermon_srq_alloc()
320 srqc_entry.log_srq_size = log_srq_size; in hermon_srq_alloc()
321 srqc_entry.srqn = srq->srq_srqnum; in hermon_srq_alloc()
322 srqc_entry.log_rq_stride = srq->srq_wq_log_wqesz - 4; in hermon_srq_alloc()
325 srqc_entry.page_offs = srq->srq_wqinfo.qa_pgoffs >> 6; in hermon_srq_alloc()
326 srqc_entry.log2_pgsz = mr->mr_log2_pgsz; in hermon_srq_alloc()
327 srqc_entry.mtt_base_addrh = (uint32_t)((mr->mr_mttaddr >> 32) & 0xFF); in hermon_srq_alloc()
328 srqc_entry.mtt_base_addrl = mr->mr_mttaddr >> 3; in hermon_srq_alloc()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_srq.c63 tavor_hw_srqc_t srqc_entry; in tavor_srq_alloc() local
355 bzero(&srqc_entry, sizeof (tavor_hw_srqc_t)); in tavor_srq_alloc()
356 srqc_entry.wqe_addr_h = (addr >> 32); in tavor_srq_alloc()
357 srqc_entry.next_wqe_addr_l = 0; in tavor_srq_alloc()
358 srqc_entry.ds = (wqesz >> 4); in tavor_srq_alloc()
359 srqc_entry.state = TAVOR_SRQ_STATE_HW_OWNER; in tavor_srq_alloc()
360 srqc_entry.pd = pd->pd_pdnum; in tavor_srq_alloc()
361 srqc_entry.lkey = lkey; in tavor_srq_alloc()
362 srqc_entry.wqe_cnt = 0; in tavor_srq_alloc()
364 srqc_entry.uar = uarpg; in tavor_srq_alloc()
[all …]