Searched refs:roce_pd (Results 1 – 5 of 5) sorted by relevance
274 if (lnk->roce_pd) in smc_ib_dealloc_protection_domain()275 ib_dealloc_pd(lnk->roce_pd); in smc_ib_dealloc_protection_domain()276 lnk->roce_pd = NULL; in smc_ib_dealloc_protection_domain()283 lnk->roce_pd = ib_alloc_pd(lnk->smcibdev->ibdev, 0); in smc_ib_create_protection_domain()284 rc = PTR_ERR_OR_ZERO(lnk->roce_pd); in smc_ib_create_protection_domain()285 if (IS_ERR(lnk->roce_pd)) in smc_ib_create_protection_domain()286 lnk->roce_pd = NULL; in smc_ib_create_protection_domain()340 lnk->roce_qp = ib_create_qp(lnk->roce_pd, &qp_attr); in smc_ib_create_queue_pair()
58 struct ib_pd *roce_pd; /* IB protection domain, member
465 lnk->wr_tx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()477 lnk->wr_rx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
334 sges[srcchunk].lkey = link->roce_pd->local_dma_lkey; in smcr_tx_rdma_writes()
756 rc = smc_ib_get_memory_region(lnk->roce_pd, in smcr_new_buf_create()