Searched refs:SMC_SINGLE_LINK (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/net/smc/ |
D | smc_ib.c | 360 sg_num = ib_map_mr_sg(buf_slot->mr_rx[SMC_SINGLE_LINK], in smc_ib_map_mr_sg() 361 buf_slot->sgt[SMC_SINGLE_LINK].sgl, in smc_ib_map_mr_sg() 362 buf_slot->sgt[SMC_SINGLE_LINK].orig_nents, in smc_ib_map_mr_sg() 372 if (buf_slot->mr_rx[SMC_SINGLE_LINK]) in smc_ib_get_memory_region() 375 buf_slot->mr_rx[SMC_SINGLE_LINK] = in smc_ib_get_memory_region() 377 if (IS_ERR(buf_slot->mr_rx[SMC_SINGLE_LINK])) { in smc_ib_get_memory_region() 380 rc = PTR_ERR(buf_slot->mr_rx[SMC_SINGLE_LINK]); in smc_ib_get_memory_region() 381 buf_slot->mr_rx[SMC_SINGLE_LINK] = NULL; in smc_ib_get_memory_region() 400 for_each_sg(buf_slot->sgt[SMC_SINGLE_LINK].sgl, sg, in smc_ib_sync_sg_for_cpu() 401 buf_slot->sgt[SMC_SINGLE_LINK].nents, i) { in smc_ib_sync_sg_for_cpu() [all …]
|
D | smc_core.c | 180 if (!smc_link_send_delete(&lgr->lnk[SMC_SINGLE_LINK])) { in smc_lgr_free_work() 188 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_free_work() 242 lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_create() 245 lnk->link_id = SMC_SINGLE_LINK; in smc_lgr_create() 344 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smcr_buf_free() 347 if (buf_desc->mr_rx[SMC_SINGLE_LINK]) in smcr_buf_free() 349 buf_desc->mr_rx[SMC_SINGLE_LINK]); in smcr_buf_free() 356 sg_free_table(&buf_desc->sgt[SMC_SINGLE_LINK]); in smcr_buf_free() 418 smc_link_clear(&lgr->lnk[SMC_SINGLE_LINK]); in smc_lgr_free() 444 smc_llc_link_inactive(&lgr->lnk[SMC_SINGLE_LINK]); in __smc_lgr_terminate() [all …]
|
D | smc_tx.c | 278 link = &lgr->lnk[SMC_SINGLE_LINK]; in smc_tx_rdma_write() 284 lgr->rtokens[conn->rtoken_idx][SMC_SINGLE_LINK].dma_addr + in smc_tx_rdma_write() 289 rdma_wr.rkey = lgr->rtokens[conn->rtoken_idx][SMC_SINGLE_LINK].rkey; in smc_tx_rdma_write() 320 sg_dma_address(conn->sndbuf_desc->sgt[SMC_SINGLE_LINK].sgl); in smcr_tx_rdma_writes() 321 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smcr_tx_rdma_writes() 514 smc_wr_tx_put_slot(&conn->lgr->lnk[SMC_SINGLE_LINK], in smcr_tx_sndbuf_nonempty()
|
D | smc_clc.c | 490 link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_clc_send_confirm() 502 htonl(conn->rmb_desc->mr_rx[SMC_SINGLE_LINK]->rkey); in smc_clc_send_confirm() 508 (conn->rmb_desc->sgt[SMC_SINGLE_LINK].sgl)); in smc_clc_send_confirm() 567 link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_clc_send_accept() 575 htonl(conn->rmb_desc->mr_rx[SMC_SINGLE_LINK]->rkey); in smc_clc_send_accept() 581 (conn->rmb_desc->sgt[SMC_SINGLE_LINK].sgl)); in smc_clc_send_accept()
|
D | smc_core.h | 118 #define SMC_SINGLE_LINK 0 macro 274 return container_of(link, struct smc_link_group, lnk[SMC_SINGLE_LINK]); in smc_get_lgr()
|
D | smc_cdc.c | 66 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_get_free_slot() 102 link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_msg_send() 166 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_tx_dismiss_slots()
|
D | af_smc.c | 307 if (smc_wr_reg_send(link, rmb_desc->mr_rx[SMC_SINGLE_LINK])) { in smc_reg_rmb() 329 link = &lgr->lnk[SMC_SINGLE_LINK]; in smc_clnt_conf_first_link() 560 link = &smc->conn.lgr->lnk[SMC_SINGLE_LINK]; in smc_connect_rdma() 950 link = &lgr->lnk[SMC_SINGLE_LINK]; in smc_serv_conf_first_link() 1142 struct smc_link *link = &new_smc->conn.lgr->lnk[SMC_SINGLE_LINK]; in smc_listen_rdma_reg() 1160 struct smc_link *link = &new_smc->conn.lgr->lnk[SMC_SINGLE_LINK]; in smc_listen_rdma_finish()
|
D | smc_llc.c | 233 htonl(rmb_desc->mr_rx[SMC_SINGLE_LINK]->rkey); in smc_llc_send_confirm_rkey() 235 (u64)sg_dma_address(rmb_desc->sgt[SMC_SINGLE_LINK].sgl)); in smc_llc_send_confirm_rkey()
|