Home
last modified time | relevance | path

Searched refs:wr_rx_sges (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_wr.c519 lnk->wr_rx_sges[i].addr = in smc_wr_init_sge()
521 lnk->wr_rx_sges[i].length = SMC_WR_BUF_SIZE; in smc_wr_init_sge()
522 lnk->wr_rx_sges[i].lkey = lnk->roce_pd->local_dma_lkey; in smc_wr_init_sge()
524 lnk->wr_rx_ibs[i].sg_list = &lnk->wr_rx_sges[i]; in smc_wr_init_sge()
575 kfree(lnk->wr_rx_sges); in smc_wr_free_link_mem()
576 lnk->wr_rx_sges = NULL; in smc_wr_free_link_mem()
622 link->wr_rx_sges = kcalloc(SMC_WR_BUF_CNT * 3, in smc_wr_alloc_link_mem()
623 sizeof(link->wr_rx_sges[0]), in smc_wr_alloc_link_mem()
625 if (!link->wr_rx_sges) in smc_wr_alloc_link_mem()
649 kfree(link->wr_rx_sges); in smc_wr_alloc_link_mem()
Dsmc_core.h101 struct ib_sge *wr_rx_sges; /* WR recv scatter meta data */ member