Home
last modified time | relevance | path

Searched refs:num_pbes (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.c575 u32 num_pbes, int two_layer_capable) in qedr_prepare_pbl_tbl() argument
582 if (num_pbes > MAX_PBES_TWO_LAYER) { in qedr_prepare_pbl_tbl()
584 num_pbes); in qedr_prepare_pbl_tbl()
593 while (pbl_capacity < num_pbes) { in qedr_prepare_pbl_tbl()
606 roundup_pow_of_two((num_pbes * sizeof(u64)))); in qedr_prepare_pbl_tbl()
612 pbl_info->num_pbes = num_pbes; in qedr_prepare_pbl_tbl()
630 if (!pbl_info->num_pbes) in qedr_populate_pbls()
659 if (total_num_pbes == pbl_info->num_pbes) in qedr_populate_pbls()
973 page_cnt = cq->q.pbl_info.num_pbes; in qedr_create_cq()
1588 page_cnt = srq->usrq.pbl_info.num_pbes; in qedr_create_srq()
[all …]
H A Dqedr.h259 u32 num_pbes; member
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c764 u32 num_pbes) in ocrdma_get_pbl_info() argument
777 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
782 mr->hwmr.num_pbes = num_pbes; in ocrdma_get_pbl_info()
824 if (!mr->hwmr.num_pbes) in build_user_pbes()
2032 int num_pbes = 0, i; in ocrdma_build_reg() local
2063 num_pbes += 1; in ocrdma_build_reg()
2069 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()
2952 if (unlikely(mr->npages == mr->hwmr.num_pbes)) in ocrdma_set_page()
H A Docrdma.h185 u32 num_pbes; member