Searched refs:rmb_desc (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/net/smc/ |
D | smc_rx.c | 67 smc_curs_add(conn->rmb_desc->len, &cons, len); in smc_rx_update_consumer() 71 diff = smc_curs_comp(conn->rmb_desc->len, &cons, in smc_rx_update_consumer() 83 smc_curs_add(conn->rmb_desc->len, &cons, 1); in smc_rx_update_consumer() 161 nr_pages = !lgr->is_smcd && smc->conn.rmb_desc->is_vm ? in smc_rx_splice() 180 (!lgr->is_smcd && !smc->conn.rmb_desc->is_vm)) { in smc_rx_splice() 184 partial[0].offset = src - (char *)smc->conn.rmb_desc->cpu_addr; in smc_rx_splice() 187 pages[0] = smc->conn.rmb_desc->pages; in smc_rx_splice() 215 if (!lgr->is_smcd && smc->conn.rmb_desc->is_vm) { in smc_rx_splice() 219 get_page(smc->conn.rmb_desc->pages); in smc_rx_splice() 304 if (smc_curs_diff(conn->rmb_desc->len, &cons, in smc_rx_recv_urg() [all …]
|
D | smc_llc.h | 97 struct smc_buf_desc *rmb_desc); 99 struct smc_buf_desc *rmb_desc);
|
D | smc_cdc.c | 292 base = (char *)conn->rmb_desc->cpu_addr + conn->rx_off; in smc_cdc_handle_urg_data_arrival() 296 conn->urg_rx_byte = *(base + conn->rmb_desc->len - 1); in smc_cdc_handle_urg_data_arrival() 345 diff_prod = smc_curs_diff(conn->rmb_desc->len, &prod_old, in smc_cdc_msg_recv_action() 421 data_cdc = (struct smcd_cdc_msg *)conn->rmb_desc->cpu_addr; in smcd_cdc_rx_tsklet()
|
D | smc_diag.c | 112 .rmbe_size = conn->rmb_desc ? conn->rmb_desc->len : 0, in __smc_diag_dump() 177 dinfo.token = conn->rmb_desc->token; in __smc_diag_dump()
|
D | smc_tx.c | 723 int sender_free = conn->rmb_desc->len; in smc_tx_consumer_update() 728 to_confirm = smc_curs_diff(conn->rmb_desc->len, &cfed, &cons); in smc_tx_consumer_update() 731 sender_free = conn->rmb_desc->len - in smc_tx_consumer_update() 732 smc_curs_diff_large(conn->rmb_desc->len, in smc_tx_consumer_update() 739 ((sender_free <= (conn->rmb_desc->len / 2)) || in smc_tx_consumer_update()
|
D | smc_llc.c | 488 struct smc_buf_desc *rmb_desc) in smc_llc_send_confirm_rkey() argument 512 htonl(rmb_desc->mr[link->link_idx]->rkey); in smc_llc_send_confirm_rkey() 513 rkeyllc->rtoken[rtok_ix].rmb_vaddr = rmb_desc->is_vm ? in smc_llc_send_confirm_rkey() 514 cpu_to_be64((uintptr_t)rmb_desc->cpu_addr) : in smc_llc_send_confirm_rkey() 516 (rmb_desc->sgt[link->link_idx].sgl)); in smc_llc_send_confirm_rkey() 523 htonl(rmb_desc->mr[send_link->link_idx]->rkey); in smc_llc_send_confirm_rkey() 524 rkeyllc->rtoken[0].rmb_vaddr = rmb_desc->is_vm ? in smc_llc_send_confirm_rkey() 525 cpu_to_be64((uintptr_t)rmb_desc->cpu_addr) : in smc_llc_send_confirm_rkey() 527 (rmb_desc->sgt[send_link->link_idx].sgl)); in smc_llc_send_confirm_rkey() 537 struct smc_buf_desc *rmb_desc) in smc_llc_send_delete_rkey() argument [all …]
|
D | smc_ism.c | 78 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; in smc_ism_set_conn() 87 if (!conn->rmb_desc) in smc_ism_unset_conn() 91 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = NULL; in smc_ism_unset_conn()
|
D | smc_clc.c | 1026 clc->d0.token = conn->rmb_desc->token; in smc_clc_send_confirm_accept() 1061 htonl(conn->rmb_desc->mr[link->link_idx]->rkey); in smc_clc_send_confirm_accept() 1073 clc->r0.rmb_dma_addr = conn->rmb_desc->is_vm ? in smc_clc_send_confirm_accept() 1074 cpu_to_be64((uintptr_t)conn->rmb_desc->cpu_addr) : in smc_clc_send_confirm_accept() 1076 (conn->rmb_desc->sgt[link->link_idx].sgl)); in smc_clc_send_confirm_accept()
|
D | af_smc.c | 547 struct smc_buf_desc *rmb_desc) in smcr_lgr_reg_rmbs() argument 561 if (!rmb_desc->is_reg_mr[link->link_idx]) { in smcr_lgr_reg_rmbs() 577 rc = smcr_link_reg_buf(&lgr->lnk[i], rmb_desc); in smcr_lgr_reg_rmbs() 583 rc = smc_llc_do_confirm_rkey(link, rmb_desc); in smcr_lgr_reg_rmbs() 588 rmb_desc->is_conf_rkey = true; in smcr_lgr_reg_rmbs() 630 if (smcr_link_reg_buf(link, smc->conn.rmb_desc)) in smcr_clnt_conf_first_link() 634 smc->conn.rmb_desc->is_conf_rkey = true; in smcr_clnt_conf_first_link() 1319 if (smcr_lgr_reg_rmbs(link, smc->conn.rmb_desc)) { in smc_connect_rdma() 1864 if (smcr_link_reg_buf(link, smc->conn.rmb_desc)) in smcr_serv_conf_first_link() 1889 smc->conn.rmb_desc->is_conf_rkey = true; in smcr_serv_conf_first_link() [all …]
|
D | smc_core.c | 1153 if (conn->rmb_desc) { in smc_buf_unuse() 1155 smcr_buf_unuse(conn->rmb_desc, true, lgr); in smc_buf_unuse() 1157 memzero_explicit(conn->rmb_desc->cpu_addr, in smc_buf_unuse() 1158 conn->rmb_desc->len + sizeof(struct smcd_cdc_msg)); in smc_buf_unuse() 1159 WRITE_ONCE(conn->rmb_desc->used, 0); in smc_buf_unuse() 2391 conn->rmb_desc = buf_desc; in __smc_buf_create() 2421 if (!conn->rmb_desc->is_dma_need_sync) in smc_rmb_sync_sg_for_cpu() 2428 smc_ib_sync_sg_for_cpu(&conn->lgr->lnk[i], conn->rmb_desc, in smc_rmb_sync_sg_for_cpu()
|
D | smc.h | 166 struct smc_buf_desc *rmb_desc; /* RMBE descriptor */ member
|
D | smc_core.h | 582 int smcr_link_reg_buf(struct smc_link *link, struct smc_buf_desc *rmb_desc);
|