Home
last modified time | relevance | path

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

/Linux-v4.19/net/smc/
Dsmc_ib.c274 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()
Dsmc_core.h58 struct ib_pd *roce_pd; /* IB protection domain, member
Dsmc_wr.c465 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()
Dsmc_tx.c334 sges[srcchunk].lkey = link->roce_pd->local_dma_lkey; in smcr_tx_rdma_writes()
Dsmc_core.c756 rc = smc_ib_get_memory_region(lnk->roce_pd, in smcr_new_buf_create()