Home
last modified time | relevance | path

Searched refs:roce_pd (Results 1 – 4 of 4) sorted by relevance

/net/smc/
Dsmc_ib.c314 if (lnk->roce_pd) in smc_ib_dealloc_protection_domain()
315 ib_dealloc_pd(lnk->roce_pd); in smc_ib_dealloc_protection_domain()
316 lnk->roce_pd = NULL; in smc_ib_dealloc_protection_domain()
323 lnk->roce_pd = ib_alloc_pd(lnk->smcibdev->ibdev, 0); in smc_ib_create_protection_domain()
324 rc = PTR_ERR_OR_ZERO(lnk->roce_pd); in smc_ib_create_protection_domain()
325 if (IS_ERR(lnk->roce_pd)) in smc_ib_create_protection_domain()
326 lnk->roce_pd = NULL; in smc_ib_create_protection_domain()
546 lnk->roce_qp = ib_create_qp(lnk->roce_pd, &qp_attr); in smc_ib_create_queue_pair()
Dsmc_wr.c496 lnk->wr_tx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
498 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
500 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
502 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
504 lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
522 lnk->wr_rx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
Dsmc_core.h81 struct ib_pd *roce_pd; /* IB protection domain, member
Dsmc_core.c1856 rc = smc_ib_get_memory_region(lnk->roce_pd, in smcr_buf_map_link()