Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/erdma/
Derdma_verbs.c27 if (mem->mtt_nents > ERDMA_MAX_INLINE_MTT_ENTRIES) { in assemble_qbuf_mtt_for_cmd()
33 memcpy(addr1, mtt->buf + 1, MTT_SIZE(mem->mtt_nents - 1)); in assemble_qbuf_mtt_for_cmd()
99 user_qp->sq_mem.mtt_nents); in create_qp_cmd()
103 user_qp->rq_mem.mtt_nents); in create_qp_cmd()
219 if (mem->mtt_nents == 1) { in create_cq_cmd()
233 mem->mtt_nents); in create_cq_cmd()
771 mem->mtt_nents = ib_umem_num_dma_blocks(mem->umem, mem->page_size); in get_mtt_entries()
772 mem->page_cnt = mem->mtt_nents; in get_mtt_entries()
1121 if (mr->mem.mtt_nents >= mr->mem.page_cnt) in erdma_set_page()
1124 mr->mem.mtt->buf[mr->mem.mtt_nents] = addr; in erdma_set_page()
[all …]
Derdma_qp.c406 mr->mem.mtt_nents); in erdma_push_one_sqe()
408 if (mr->mem.mtt_nents <= ERDMA_MAX_INLINE_MTT_ENTRIES) { in erdma_push_one_sqe()
413 mr->mem.mtt->buf, MTT_SIZE(mr->mem.mtt_nents)); in erdma_push_one_sqe()
415 MTT_SIZE(mr->mem.mtt_nents); in erdma_push_one_sqe()
Derdma_verbs.h118 u32 mtt_nents; member