Searched refs:IRDMA_HW_PAGE_SIZE (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_umain.c | 176 iwvctx->db = mmap(NULL, IRDMA_HW_PAGE_SIZE, PROT_WRITE | PROT_READ, in irdma_init_context() 185 munmap(iwvctx->db, IRDMA_HW_PAGE_SIZE); in irdma_init_context() 208 munmap(iwvctx->db, IRDMA_HW_PAGE_SIZE); in irdma_cleanup_context()
|
H A D | irdma_uverbs.c | 351 buf = memalign(IRDMA_HW_PAGE_SIZE, size); in irdma_alloc_hw_buf() 392 return roundup(cq_size * sizeof(struct irdma_cqe), IRDMA_HW_PAGE_SIZE); in get_cq_total_bytes() 1226 map = mmap(NULL, IRDMA_HW_PAGE_SIZE, PROT_WRITE | PROT_READ, MAP_SHARED, in irdma_mmap() 1231 if (ibv_dontfork_range(map, IRDMA_HW_PAGE_SIZE)) { in irdma_mmap() 1232 munmap(map, IRDMA_HW_PAGE_SIZE); in irdma_mmap() 1242 ibv_dofork_range(map, IRDMA_HW_PAGE_SIZE); in irdma_munmap() 1243 munmap(map, IRDMA_HW_PAGE_SIZE); in irdma_munmap() 1291 sqsize = roundup(info->sq_depth * IRDMA_QP_WQE_MIN_SIZE, IRDMA_HW_PAGE_SIZE); in irdma_vmapped_qp() 1292 rqsize = roundup(info->rq_depth * IRDMA_QP_WQE_MIN_SIZE, IRDMA_HW_PAGE_SIZE); in irdma_vmapped_qp()
|
H A D | irdma_defs.h | 72 #define IRDMA_HW_PAGE_SIZE 4096 macro
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_verbs.c | 287 bar_off += IRDMA_HW_PAGE_SIZE; in irdma_compute_push_wqe_offset() 293 bar_off += (u64)page_idx * IRDMA_HW_PAGE_SIZE; in irdma_compute_push_wqe_offset() 331 bar_off += IRDMA_HW_PAGE_SIZE; in irdma_setup_push_mmap_entries() 2016 iwmr->page_msk = ~(IRDMA_HW_PAGE_SIZE - 1); in irdma_alloc_iwmr() 2017 iwmr->page_size = IRDMA_HW_PAGE_SIZE; in irdma_alloc_iwmr() 3094 IRDMA_HW_PAGE_SIZE); in irdma_attach_mcast()
|
H A D | irdma_kcompat.c | 1054 iwcq->kmem.size = round_up(rsize, IRDMA_HW_PAGE_SIZE); in irdma_create_cq() 1056 iwcq->kmem.size, IRDMA_HW_PAGE_SIZE); in irdma_create_cq()
|
H A D | irdma_defs.h | 193 #define IRDMA_HW_PAGE_SIZE 4096 macro
|
H A D | irdma_puda.c | 697 rsrc->qpmem.size, IRDMA_HW_PAGE_SIZE); in irdma_puda_qp_create()
|
H A D | irdma_hw.c | 1819 IRDMA_HW_PAGE_SIZE); in irdma_setup_init_state()
|