Lines Matching refs:send_link
483 static int smc_llc_send_confirm_rkey(struct smc_link *send_link, in smc_llc_send_confirm_rkey() argument
492 if (!smc_wr_tx_link_hold(send_link)) in smc_llc_send_confirm_rkey()
494 rc = smc_llc_add_pending_send(send_link, &wr_buf, &pend); in smc_llc_send_confirm_rkey()
500 smc_llc_init_msg_hdr(&rkeyllc->hd, send_link->lgr, sizeof(*rkeyllc)); in smc_llc_send_confirm_rkey()
504 link = &send_link->lgr->lnk[i]; in smc_llc_send_confirm_rkey()
505 if (smc_link_active(link) && link != send_link) { in smc_llc_send_confirm_rkey()
519 htonl(rmb_desc->mr[send_link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
523 (rmb_desc->sgt[send_link->link_idx].sgl)); in smc_llc_send_confirm_rkey()
525 rc = smc_wr_tx_send(send_link, pend); in smc_llc_send_confirm_rkey()
527 smc_wr_tx_link_put(send_link); in smc_llc_send_confirm_rkey()
2188 int smc_llc_do_confirm_rkey(struct smc_link *send_link, in smc_llc_do_confirm_rkey() argument
2191 struct smc_link_group *lgr = send_link->lgr; in smc_llc_do_confirm_rkey()
2195 rc = smc_llc_send_confirm_rkey(send_link, rmb_desc); in smc_llc_do_confirm_rkey()
2199 qentry = smc_llc_wait(lgr, send_link, SMC_LLC_WAIT_TIME, in smc_llc_do_confirm_rkey()
2214 struct smc_link *send_link; in smc_llc_do_delete_rkey() local
2217 send_link = smc_llc_usable_link(lgr); in smc_llc_do_delete_rkey()
2218 if (!send_link) in smc_llc_do_delete_rkey()
2222 rc = smc_llc_send_delete_rkey(send_link, rmb_desc); in smc_llc_do_delete_rkey()
2226 qentry = smc_llc_wait(lgr, send_link, SMC_LLC_WAIT_TIME, in smc_llc_do_delete_rkey()