Searched refs:sginfo (Results 1 – 9 of 9) sorted by relevance
67 struct bng_re_sg_info *sginfo) in bng_alloc_pbl() argument73 if (sginfo->nopte) in bng_alloc_pbl()75 pages = sginfo->npages; in bng_alloc_pbl()89 pbl->pg_size = sginfo->pgsize; in bng_alloc_pbl()132 struct bng_re_sg_info sginfo = {}; in bng_re_alloc_init_hwq() local141 pg_size = hwq_attr->sginfo->pgsize; in bng_re_alloc_init_hwq()152 hwq_attr->sginfo->npages = npages; in bng_re_alloc_init_hwq()154 if (npages == MAX_PBL_LVL_0_PGS && !hwq_attr->sginfo->nopte) { in bng_re_alloc_init_hwq()156 rc = bng_alloc_pbl(res, &hwq->pbl[BNG_PBL_LVL_0], hwq_attr->sginfo); in bng_re_alloc_init_hwq()174 sginfo.pgsize = npde * pg_size; in bng_re_alloc_init_hwq()[all …]
65 struct bng_re_sg_info sginfo = {}; in bng_re_alloc_fw_channel() local74 sginfo.pgsize = PAGE_SIZE; in bng_re_alloc_fw_channel()75 sginfo.pgshft = PAGE_SHIFT; in bng_re_alloc_fw_channel()77 hwq_attr.sginfo = &sginfo; in bng_re_alloc_fw_channel()91 sginfo.pgsize = bng_fw_cmdqe_page_size(rcfw->cmdq_depth); in bng_re_alloc_fw_channel()
100 struct bng_re_sg_info *sginfo; member
84 struct bnxt_qplib_sg_info *sginfo) in bnxt_qplib_fill_user_dma_pages() argument89 rdma_umem_for_each_dma_block(sginfo->umem, &biter, sginfo->pgsize) { in bnxt_qplib_fill_user_dma_pages()99 struct bnxt_qplib_sg_info *sginfo) in __alloc_pbl() argument106 if (sginfo->nopte) in __alloc_pbl()108 if (sginfo->umem) in __alloc_pbl()109 pages = ib_umem_num_dma_blocks(sginfo->umem, sginfo->pgsize); in __alloc_pbl()111 pages = sginfo->npages; in __alloc_pbl()126 pbl->pg_size = sginfo->pgsize; in __alloc_pbl()128 if (!sginfo->umem) { in __alloc_pbl()140 bnxt_qplib_fill_user_dma_pages(pbl, sginfo); in __alloc_pbl()[all …]
585 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_reg_mr() local605 hwq_attr.sginfo = &sginfo; in bnxt_qplib_reg_mr()606 hwq_attr.sginfo->umem = umem; in bnxt_qplib_reg_mr()607 hwq_attr.sginfo->npages = pages; in bnxt_qplib_reg_mr()608 hwq_attr.sginfo->pgsize = buf_pg_size; in bnxt_qplib_reg_mr()609 hwq_attr.sginfo->pgshft = ilog2(buf_pg_size); in bnxt_qplib_reg_mr()672 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_fast_reg_page_list() local684 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_fast_reg_page_list()685 sginfo.nopte = true; in bnxt_qplib_alloc_fast_reg_page_list()690 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_fast_reg_page_list()
935 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_rcfw_channel() local944 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_rcfw_channel()945 sginfo.pgshft = PAGE_SHIFT; in bnxt_qplib_alloc_rcfw_channel()947 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_rcfw_channel()961 sginfo.pgsize = bnxt_qplib_cmdqe_page_size(rcfw->cmdq_depth); in bnxt_qplib_alloc_rcfw_channel()
594 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_alloc_nq() local602 sginfo.pgsize = PAGE_SIZE; in bnxt_qplib_alloc_nq()603 sginfo.pgshft = PAGE_SHIFT; in bnxt_qplib_alloc_nq()605 hwq_attr.sginfo = &sginfo; in bnxt_qplib_alloc_nq()655 hwq_attr.sginfo = &srq->sg_info; in bnxt_qplib_create_srq()842 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp1()870 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp1()962 struct bnxt_qplib_sg_info sginfo = {}; in bnxt_qplib_create_qp() local1000 hwq_attr.sginfo = &sq->sg_info; in bnxt_qplib_create_qp()1047 hwq_attr.sginfo = &rq->sg_info; in bnxt_qplib_create_qp()[all …]
115 struct sginfo { struct188 struct sginfo t_src[MAX_SG];189 struct sginfo t_dst[MAX_SG];249 struct sginfo t_src[MAX_SG];250 struct sginfo t_dst[MAX_SG];
263 struct sginfo { struct281 struct sginfo t_src[MAXDESC]; argument282 struct sginfo t_dst[MAXDESC];