Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qedr/
Dverbs.c575 u32 num_pbes, int two_layer_capable) in qedr_prepare_pbl_tbl() argument
581 if ((num_pbes > MAX_PBES_ON_PAGE) && two_layer_capable) { in qedr_prepare_pbl_tbl()
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()
599 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); 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()
616 pbl_info->num_pbes, pbl_info->num_pbls, pbl_info->pbl_size); in qedr_prepare_pbl_tbl()
630 if (!pbl_info->num_pbes) in qedr_populate_pbls()
[all …]
Dqedr.h259 u32 num_pbes; member
/drivers/infiniband/hw/ocrdma/
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()
2034 int num_pbes = 0, i; in ocrdma_build_reg() local
2065 num_pbes += 1; in ocrdma_build_reg()
2071 if (num_pbes == (mr->hwmr.pbl_size/sizeof(u64))) { in ocrdma_build_reg()
2954 if (unlikely(mr->npages == mr->hwmr.num_pbes)) in ocrdma_set_page()
Docrdma.h185 u32 num_pbes; member