Lines Matching defs:link
26 struct smc_link *link,
63 struct smc_link *link,
70 rc = smc_wr_tx_get_free_slot(link, smc_cdc_tx_handler, wr_buf,
76 smc_wr_tx_put_slot(link,
91 "must adapt SMC_WR_TX_SIZE to sizeof(struct smc_cdc_msg); if not all smc_wr upper layer protocols use the same message size any more, must start to set link->wr_tx_sges[i].length on each individual smc_wr_tx_send()");
105 struct smc_link *link = conn->lnk;
118 rc = smc_wr_tx_send(link, (struct smc_wr_tx_pend_priv *)pend);
131 /* send a validation msg indicating the move of a conn to an other QP link */
137 struct smc_link *link = conn->lnk;
156 rc = smc_wr_tx_send(link, (struct smc_wr_tx_pend_priv *)pend);
167 struct smc_link *link;
172 link = conn->lnk;
173 if (!smc_wr_tx_link_hold(link))
175 rc = smc_cdc_get_free_slot(conn, link, &wr_buf, NULL, &pend);
180 if (link != conn->lnk) {
181 /* link of connection changed, try again one time*/
183 smc_wr_tx_put_slot(link,
185 smc_wr_tx_link_put(link);
194 smc_wr_tx_link_put(link);
289 struct smc_link *link)
302 conn->lnk = link;
424 struct smc_link *link = (struct smc_link *)wc->qp->qp_context;
436 lgr = smc_get_lgr(link);
445 smc_cdc_msg_validate(smc, cdc, link);