Home
last modified time | relevance | path

Searched refs:num_pbls (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c693 u32 pdid, int acc, u32 num_pbls, u32 addr_check) in ocrdma_alloc_lkey()
704 mr->hwmr.num_pbls = num_pbls; in ocrdma_alloc_lkey()
749 for (i = 0; i < mr->num_pbls; i++) { in ocrdma_free_mr_pbl_tbl()
764 u32 num_pbls = 0; in ocrdma_get_pbl_info() local
775 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
776 num_pbls = num_pbls / (pbl_size / sizeof(u64)); in ocrdma_get_pbl_info()
778 } while (num_pbls >= dev->attr.max_num_mr_pbl); in ocrdma_get_pbl_info()
781 mr->hwmr.num_pbls in ocrdma_get_pbl_info()
692 ocrdma_alloc_lkey(struct ocrdma_dev *dev, struct ocrdma_mr *mr, u32 pdid, int acc, u32 num_pbls, u32 addr_check) ocrdma_alloc_lkey() argument
[all...]
H A Docrdma.h184 u32 num_pbls; member
H A Docrdma_hw.c1930 (hwmr->num_pbls << OCRDMA_ALLOC_LKEY_PBL_SIZE_SHIFT); in ocrdma_mbx_alloc_lkey()
1971 pdid | (hwmr->num_pbls << OCRDMA_REG_NSMR_NUM_PBL_SHIFT); in ocrdma_mbx_reg_mr()
2044 u32 pending_pbl_cnt = hwmr->num_pbls; in ocrdma_reg_mr()
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c695 u32 pdid, int acc, u32 num_pbls, u32 addr_check) in ocrdma_alloc_lkey()
706 mr->hwmr.num_pbls = num_pbls; in ocrdma_alloc_lkey()
751 for (i = 0; i < mr->num_pbls; i++) { in ocrdma_free_mr_pbl_tbl()
766 u32 num_pbls = 0; in ocrdma_get_pbl_info() local
777 num_pbls = roundup(num_pbes, (pbl_size / sizeof(u64))); in ocrdma_get_pbl_info()
778 num_pbls = num_pbls / (pbl_size / sizeof(u64)); in ocrdma_get_pbl_info()
780 } while (num_pbls >= dev->attr.max_num_mr_pbl); in ocrdma_get_pbl_info()
783 mr->hwmr.num_pbls in ocrdma_get_pbl_info()
694 ocrdma_alloc_lkey(struct ocrdma_dev *dev, struct ocrdma_mr *mr, u32 pdid, int acc, u32 num_pbls, u32 addr_check) ocrdma_alloc_lkey() argument
[all...]
H A Docrdma.h184 u32 num_pbls; member
H A Docrdma_hw.c1926 (hwmr->num_pbls << OCRDMA_ALLOC_LKEY_PBL_SIZE_SHIFT); in ocrdma_mbx_alloc_lkey()
1967 pdid | (hwmr->num_pbls << OCRDMA_REG_NSMR_NUM_PBL_SHIFT); in ocrdma_mbx_reg_mr()
2040 u32 pending_pbl_cnt = hwmr->num_pbls; in ocrdma_reg_mr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c653 struct ib_umem *umem, int num_pbls, u32 buf_pg_size) in bnxt_qplib_reg_mr()
664 if (num_pbls) { in bnxt_qplib_reg_mr()
668 pg_ptrs = roundup_pow_of_two(num_pbls); in bnxt_qplib_reg_mr()
652 bnxt_qplib_reg_mr(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mr, struct ib_umem *umem, int num_pbls, u32 buf_pg_size) bnxt_qplib_reg_mr() argument
H A Dqplib_sp.h257 struct ib_umem *umem, int num_pbls, u32 buf_pg_size);
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.h338 struct ib_umem *umem, int num_pbls, u32 buf_pg_size);
H A Dqplib_sp.c595 struct ib_umem *umem, int num_pbls, u32 buf_pg_size) in bnxt_qplib_reg_mr()
607 if (num_pbls) { in bnxt_qplib_reg_mr()
608 pages = roundup_pow_of_two(num_pbls); in bnxt_qplib_reg_mr()
594 bnxt_qplib_reg_mr(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mr, struct ib_umem *umem, int num_pbls, u32 buf_pg_size) bnxt_qplib_reg_mr() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.c510 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_free_pbl()
538 pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); in qedr_alloc_pbl_tbl()
542 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_alloc_pbl_tbl()
556 for (i = 0; i < pbl_info->num_pbls - 1; i++) in qedr_alloc_pbl_tbl()
577 u32 num_pbls; in qedr_prepare_pbl_tbl() local
597 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()
598 num_pbls++; /* One for the layer0 ( points to the pbls) */ in qedr_prepare_pbl_tbl()
602 num_pbls = 1; in qedr_prepare_pbl_tbl()
608 pbl_info->num_pbls = num_pbls; in qedr_prepare_pbl_tbl()
[all...]
H A Dqedr.h258 u32 num_pbls; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/
H A Dverbs.c512 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_free_pbl()
540 pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); in qedr_alloc_pbl_tbl()
544 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_alloc_pbl_tbl()
558 for (i = 0; i < pbl_info->num_pbls - 1; i++) in qedr_alloc_pbl_tbl()
579 u32 num_pbls; in qedr_prepare_pbl_tbl() local
599 num_pbls = DIV_ROUND_UP(num_pbes, NUM_PBES_ON_PAGE(pbl_size)); in qedr_prepare_pbl_tbl()
600 num_pbls++; /* One for the layer0 ( points to the pbls) */ in qedr_prepare_pbl_tbl()
604 num_pbls = 1; in qedr_prepare_pbl_tbl()
610 pbl_info->num_pbls = num_pbls; in qedr_prepare_pbl_tbl()
[all...]
H A Dqedr.h258 u32 num_pbls; member

Completed in 30 milliseconds