Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_srq.c63 tavor_hw_srqc_t srqc_entry; in tavor_srq_alloc() local
332 bzero(&srqc_entry, sizeof (tavor_hw_srqc_t)); in tavor_srq_alloc()
333 srqc_entry.wqe_addr_h = (addr >> 32); in tavor_srq_alloc()
334 srqc_entry.next_wqe_addr_l = 0; in tavor_srq_alloc()
335 srqc_entry.ds = (wqesz >> 4); in tavor_srq_alloc()
336 srqc_entry.state = TAVOR_SRQ_STATE_HW_OWNER; in tavor_srq_alloc()
337 srqc_entry.pd = pd->pd_pdnum; in tavor_srq_alloc()
338 srqc_entry.lkey = lkey; in tavor_srq_alloc()
339 srqc_entry.wqe_cnt = 0; in tavor_srq_alloc()
341 srqc_entry.uar = uarpg; in tavor_srq_alloc()
[all …]