• Home
  • Raw
  • Download

Lines Matching full:pbl

334  * Note:  Set to always use a fixed length single page entry PBL.  This is to allow  in nes_alloc_mr()
335 * for the fast_reg_mr operation to always know the size of the PBL. in nes_alloc_mr()
786 __le64 *pbl = NULL; in nes_setup_virt_qp() local
796 nes_debug(NES_DBG_QP, "Userspace PBL, pbl_size=%u, pbl_entries = %d pbl_vbase=%p, pbl_pbase=%lx\n", in nes_setup_virt_qp()
800 pbl = (__le64 *) nespbl->pbl_vbase; /* points to first pbl entry */ in nes_setup_virt_qp()
802 /* the first pbl to be fro the rq_vbase... */ in nes_setup_virt_qp()
805 …nesqp->hwqp.sq_pbase = (le32_to_cpu(((__le32 *)pbl)[0])) | ((u64)((le32_to_cpu(((__le32 *)pbl)[1])… in nes_setup_virt_qp()
821 /* PBL entries were used by the rq.. */ in nes_setup_virt_qp()
822 pbl += sq_pbl_entries; in nes_setup_virt_qp()
823 …nesqp->hwqp.rq_pbase = (le32_to_cpu(((__le32 *)pbl)[0])) | ((u64)((le32_to_cpu(((__le32 *)pbl)[1])… in nes_setup_virt_qp()
824 /* nesqp->hwqp.rq_vbase = bus_to_virt(*pbl); */ in nes_setup_virt_qp()
825 /*nesqp->hwqp.rq_vbase = phys_to_virt(*pbl); */ in nes_setup_virt_qp()
856 /* fill in the page address in the pbl buffer.. */ in nes_setup_virt_qp()
858 pbl = (__le64 *)nespbl->pbl_vbase; in nes_setup_virt_qp()
860 *tpbl++ = *pbl++; in nes_setup_virt_qp()
863 *tpbl++ = *pbl++; in nes_setup_virt_qp()
1078 nes_debug(NES_DBG_QP, "Found PBL for virtual QP. nespbl=%p. user_base=0x%lx\n", in nes_create_qp()
1084 nes_debug(NES_DBG_QP, "Didn't Find PBL for virtual QP. address = %llx.\n", in nes_create_qp()
1477 nes_debug(NES_DBG_CQ, "Found PBL for virtual CQ. nespbl=%p.\n", in nes_create_cq()
1543 /* use 4k pbl */ in nes_create_cq()
1544 nes_debug(NES_DBG_CQ, "pbl_entries=%u, use a 4k PBL\n", pbl_entries); in nes_create_cq()
1565 /* use 256 byte pbl */ in nes_create_cq()
1566 nes_debug(NES_DBG_CQ, "pbl_entries=%u, use a 256 byte PBL\n", pbl_entries); in nes_create_cq()
2020 /* Allocate a 4K buffer for the PBL */ in nes_reg_phys_mr()
2023 nes_debug(NES_DBG_MR, "Allocating leaf PBL, va = %p, pa = 0x%016lX\n", in nes_reg_phys_mr()
2055 /* Make the leaf PBL the root if only one PBL */ in nes_reg_phys_mr()
2078 /* single PBL case */ in nes_reg_phys_mr()
2103 __le64 *pbl; in nes_reg_user_mr() local
2226 nes_debug(NES_DBG_MR, "Allocating root PBL, va = %p, pa = 0x%08X\n", in nes_reg_user_mr()
2261 nes_debug(NES_DBG_MR, "Allocating leaf PBL, va = %p, pa = 0x%08X\n", in nes_reg_user_mr()
2315 /* Make the leaf PBL the root if only one PBL */ in nes_reg_user_mr()
2391 nes_debug(NES_DBG_MR, "Attempting to allocate QP PBL memory"); in nes_reg_user_mr()
2393 nes_debug(NES_DBG_MR, "Attempting to allocate CP PBL memory"); in nes_reg_user_mr()
2398 pbl = pci_alloc_consistent(nesdev->pcidev, nespbl->pbl_size, in nes_reg_user_mr()
2400 if (!pbl) { in nes_reg_user_mr()
2404 nes_debug(NES_DBG_MR, "Unable to allocate PBL memory\n"); in nes_reg_user_mr()
2408 nespbl->pbl_vbase = (u64 *)pbl; in nes_reg_user_mr()
2410 nes_debug(NES_DBG_MR, "Allocated PBL memory, %u bytes, pbl_pbase=%lx," in nes_reg_user_mr()
2424 ((__le32 *)pbl)[0] = cpu_to_le32((u32) in nes_reg_user_mr()
2427 ((__le32 *)pbl)[1] = cpu_to_le32(((u64) in nes_reg_user_mr()
2430 nes_debug(NES_DBG_MR, "pbl=%p, *pbl=0x%016llx, 0x%08x%08x\n", pbl, in nes_reg_user_mr()
2431 (unsigned long long)*pbl, in nes_reg_user_mr()
2432 le32_to_cpu(((__le32 *)pbl)[1]), le32_to_cpu(((__le32 *)pbl)[0])); in nes_reg_user_mr()
2433 pbl++; in nes_reg_user_mr()
3215 /* Fill in PBL info: */ in nes_post_send()