Home
last modified time | relevance | path

Searched refs:pdid (Results 1 – 15 of 15) sorted by relevance

/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
HDmem.c249 u32 *stag, u8 stag_state, u32 pdid, in write_tpt_entry() argument
282 __func__, stag_state, type, pdid, stag_idx); in write_tpt_entry()
291 V_FW_RI_TPTE_STAGTYPE(type) | V_FW_RI_TPTE_PDID(pdid)); in write_tpt_entry()
337 static int allocate_window(struct c4iw_rdev *rdev, u32 * stag, u32 pdid) in allocate_window() argument
340 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_MW, 0, 0, 0, in allocate_window()
350 static int allocate_stag(struct c4iw_rdev *rdev, u32 *stag, u32 pdid, in allocate_stag() argument
354 return write_tpt_entry(rdev, 0, stag, 0, pdid, FW_RI_STAG_NSMR, 0, 0, 0, in allocate_stag()
376 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, in register_mem()
421 mhp->attr.pdid = php->pdid; in c4iw_get_dma_mr()
430 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, php->pdid, in c4iw_get_dma_mr()
[all …]
HDprovider.c233 CTR3(KTR_IW_CXGBE, "%s: pd %p, pdid 0x%x", __func__, pd, php->pdid); in c4iw_deallocate_pd()
235 c4iw_put_resource(&rhp->rdev.resource.pdid_table, php->pdid); in c4iw_deallocate_pd()
249 u32 pdid; in c4iw_allocate_pd() local
255 pdid = c4iw_get_resource(&rhp->rdev.resource.pdid_table); in c4iw_allocate_pd()
256 if (!pdid) in c4iw_allocate_pd()
260 c4iw_put_resource(&rhp->rdev.resource.pdid_table, pdid); in c4iw_allocate_pd()
263 php->pdid = pdid; in c4iw_allocate_pd()
266 if (ib_copy_to_udata(udata, &php->pdid, sizeof(u32))) { in c4iw_allocate_pd()
279 ibdev, context, udata, pdid, php); in c4iw_allocate_pd()
HDiw_cxgbe.h358 u32 pdid; member
372 u32 pdid; member
HDqp.c682 V_FW_RI_TPTE_PDID(mhp->attr.pdid)); in build_tpte_memreg()
1389 wqe->u.init.pdid = cpu_to_be32(qhp->attr.pd); in rdma_init()
1777 qhp->attr.pd = php->pdid; in c4iw_create_qp()
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_provider.c337 CTR3(KTR_IW_CXGB, "%s ibpd %p pdid 0x%x", __FUNCTION__, pd, php->pdid); in iwch_deallocate_pd()
338 cxio_hal_put_pdid(rhp->rdev.rscp, php->pdid); in iwch_deallocate_pd()
348 u32 pdid; in iwch_allocate_pd() local
353 pdid = cxio_hal_get_pdid(rhp->rdev.rscp); in iwch_allocate_pd()
354 if (!pdid) in iwch_allocate_pd()
358 cxio_hal_put_pdid(rhp->rdev.rscp, pdid); in iwch_allocate_pd()
361 php->pdid = pdid; in iwch_allocate_pd()
364 if (ib_copy_to_udata(udata, &php->pdid, sizeof (__u32))) { in iwch_allocate_pd()
369 CTR3(KTR_IW_CXGB, "%s pdid 0x%0x ptr 0x%p", __FUNCTION__, pdid, php); in iwch_allocate_pd()
453 mhp->attr.pdid = php->pdid; in iwch_register_phys_mem()
[all …]
HDiw_cxgb_hal.h151 int cxio_register_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
154 int cxio_reregister_phys_mem(struct cxio_rdev *rdev, u32 * stag, u32 pdid,
159 int cxio_allocate_window(struct cxio_rdev *rdev, u32 * stag, u32 pdid);
164 void cxio_hal_put_pdid(struct cxio_hal_resource *rscp, u32 pdid);
HDiw_cxgb_hal.c735 u32 *stag, u8 stag_state, u32 pdid, in __cxio_tpt_op() argument
755 __FUNCTION__, stag_state, type, pdid, stag_idx); in __cxio_tpt_op()
766 V_TPT_STAG_TYPE(type) | V_TPT_PDID(pdid)); in __cxio_tpt_op()
827 cxio_register_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_register_phys_mem() argument
832 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem()
837 cxio_reregister_phys_mem(struct cxio_rdev *rdev_p, u32 *stag, u32 pdid, in cxio_reregister_phys_mem() argument
841 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem()
854 cxio_allocate_window(struct cxio_rdev *rdev_p, u32 * stag, u32 pdid) in cxio_allocate_window() argument
857 return __cxio_tpt_op(rdev_p, 0, stag, 0, pdid, TPT_MW, 0, 0, 0ULL, 0, 0, in cxio_allocate_window()
889 wqe->pdid = htobe32(attr->pdid); in cxio_rdma_init()
HDiw_cxgb_mem.c99 &stag, mhp->attr.pdid, in iwch_register_mem()
129 &stag, mhp->attr.pdid, in iwch_reregister_mem()
HDiw_cxgb_provider.h38 u32 pdid; member
62 u32 pdid; member
HDiw_cxgb_resource.c277 void cxio_hal_put_pdid(struct cxio_hal_resource *rscp, u32 pdid) in cxio_hal_put_pdid() argument
279 cxio_hal_put_resource(rscp->pdid_fifo, pdid, &rscp->pdid_fifo_lock); in cxio_hal_put_pdid()
HDiw_cxgb_wr.h297 u32 pdid; member
320 __be32 pdid; member
HDiw_cxgb_qp.c852 init_attr.pdid = qhp->attr.pd; in rdma_init()
/freebsd-11-stable/contrib/ofed/libcxgb4/
HDcxgb4-abi.h47 uint32_t pdid; member
HDt4fw_ri_api.h710 __be32 pdid; member
/freebsd-11-stable/sys/dev/cxgbe/firmware/
HDt4fw_interface.h1574 __be32 pdid; member
2108 __be32 pdid; member