Home
last modified time | relevance | path

Searched refs:pd_num (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_pd.c46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); in mthca_pd_alloc()
47 if (pd->pd_num == -1) in mthca_pd_alloc()
51 err = mthca_mr_alloc_notrans(dev, pd->pd_num, in mthca_pd_alloc()
56 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_alloc()
66 mthca_free(&dev->pd_table.alloc, pd->pd_num); in mthca_pd_free()
Dmthca_provider.c377 if (ib_copy_to_udata(udata, &pd->pd_num, sizeof (__u32))) { in mthca_alloc_pd()
652 udata ? ucmd.pdn : to_mdev(ibdev)->driver_pd.pd_num, in mthca_create_cq()
841 to_mpd(pd)->pd_num, in mthca_get_dma_mr()
932 err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, in mthca_reg_user_mr()
973 err = mthca_fmr_alloc(to_mdev(pd->device), to_mpd(pd)->pd_num, in mthca_alloc_fmr()
Dmthca_provider.h99 u32 pd_num; member
Dmthca_eq.c518 err = mthca_mr_alloc_phys(dev, dev->driver_pd.pd_num, in mthca_create_eq()
537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()
540 eq_context->tavor_pd = cpu_to_be32(dev->driver_pd.pd_num); in mthca_create_eq()
Dmthca_srq.c109 context->state_pd = cpu_to_be32(pd->pd_num); in mthca_tavor_init_srq_context()
144 context->eq_pd = cpu_to_be32(MTHCA_EQ_ASYNC << 24 | pd->pd_num); in mthca_arbel_init_srq_context()
Dmthca_allocator.c262 err = mthca_mr_alloc_phys(dev, pd->pd_num, in mthca_buf_alloc()
Dmthca_av.c199 av->port_pd = cpu_to_be32(pd->pd_num | in mthca_create_ah()
Dmthca_qp.c709 qp_context->pd = cpu_to_be32(to_mpd(ibqp->pd)->pd_num); in __mthca_modify_qp()