Searched refs:roce_pd (Results 1 – 4 of 4) sorted by relevance
282 if (lnk->roce_pd) in smc_ib_dealloc_protection_domain()283 ib_dealloc_pd(lnk->roce_pd); in smc_ib_dealloc_protection_domain()284 lnk->roce_pd = NULL; in smc_ib_dealloc_protection_domain()291 lnk->roce_pd = ib_alloc_pd(lnk->smcibdev->ibdev, 0); in smc_ib_create_protection_domain()292 rc = PTR_ERR_OR_ZERO(lnk->roce_pd); in smc_ib_create_protection_domain()293 if (IS_ERR(lnk->roce_pd)) in smc_ib_create_protection_domain()294 lnk->roce_pd = NULL; in smc_ib_create_protection_domain()348 lnk->roce_qp = ib_create_qp(lnk->roce_pd, &qp_attr); in smc_ib_create_queue_pair()
471 lnk->wr_tx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()473 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()475 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()477 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()479 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()497 lnk->wr_rx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
76 struct ib_pd *roce_pd; /* IB protection domain, member
779 rc = smc_ib_get_memory_region(lnk->roce_pd, in smcr_new_buf_create()