Searched refs:roce_pd (Results 1 – 4 of 4) sorted by relevance
566 lnk->wr_tx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()568 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()570 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()572 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()574 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()594 lnk->wr_tx_v2_sge->lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()616 lnk->wr_rx_sges[x].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()623 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
453 if (lnk->roce_pd) in smc_ib_dealloc_protection_domain()454 ib_dealloc_pd(lnk->roce_pd); in smc_ib_dealloc_protection_domain()455 lnk->roce_pd = NULL; in smc_ib_dealloc_protection_domain()462 lnk->roce_pd = ib_alloc_pd(lnk->smcibdev->ibdev, 0); in smc_ib_create_protection_domain()463 rc = PTR_ERR_OR_ZERO(lnk->roce_pd); in smc_ib_create_protection_domain()464 if (IS_ERR(lnk->roce_pd)) in smc_ib_create_protection_domain()465 lnk->roce_pd = NULL; in smc_ib_create_protection_domain()687 lnk->roce_qp = ib_create_qp(lnk->roce_pd, &qp_attr); in smc_ib_create_queue_pair()
97 struct ib_pd *roce_pd; /* IB protection domain, member
2176 rc = smc_ib_get_memory_region(lnk->roce_pd, access_flags, in smcr_buf_map_link()