Home
last modified time | relevance | path

Searched refs:smc_link (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/net/smc/
H A Dsmc_wr.h35 struct smc_link *,
105 int smc_wr_create_link(struct smc_link *lnk);
106 int smc_wr_alloc_link_mem(struct smc_link *lnk);
108 void smc_wr_free_link(struct smc_link *lnk);
109 void smc_wr_free_link_mem(struct smc_link *lnk);
111 void smc_wr_remember_qp_attr(struct smc_link *lnk);
119 int smc_wr_tx_get_v2_slot(struct smc_link *link,
123 int smc_wr_tx_put_slot(struct smc_link *link,
125 int smc_wr_tx_send(struct smc_link *link,
127 int smc_wr_tx_v2_send(struct smc_link *link,
[all …]
H A Dsmc_llc.h82 int smc_llc_send_confirm_link(struct smc_link *lnk,
85 struct smc_link *link_new,
87 int smc_llc_send_delete_link(struct smc_link *link, u8 link_del_id,
93 int smc_llc_link_init(struct smc_link *link);
94 void smc_llc_link_active(struct smc_link *link);
95 void smc_llc_link_clear(struct smc_link *link, bool log);
96 int smc_llc_do_confirm_rkey(struct smc_link *send_link,
105 void smc_llc_link_set_uid(struct smc_link *link);
108 struct smc_link *lnk,
115 int smc_llc_srv_add_link(struct smc_link *link,
[all …]
H A Dsmc_ib.h81 struct smc_link;
87 int smc_ib_buf_map_sg(struct smc_link *lnk,
90 void smc_ib_buf_unmap_sg(struct smc_link *lnk,
95 void smc_ib_destroy_queue_pair(struct smc_link *lnk);
96 int smc_ib_create_queue_pair(struct smc_link *lnk);
97 int smc_ib_ready_link(struct smc_link *lnk);
98 int smc_ib_modify_qp_rts(struct smc_link *lnk);
99 int smc_ib_modify_qp_error(struct smc_link *lnk);
104 bool smc_ib_is_sg_need_sync(struct smc_link *lnk,
106 void smc_ib_sync_sg_for_cpu(struct smc_link *lnk,
[all …]
H A Dsmc_core.h92 struct smc_link { struct
302 struct smc_link lnk[SMC_LINKS_PER_LGR_MAX];
572 void smcr_link_clear(struct smc_link *lnk, bool log);
573 void smcr_link_hold(struct smc_link *lnk);
574 void smcr_link_put(struct smc_link *lnk);
576 struct smc_link *to_lnk);
577 int smcr_buf_map_lgr(struct smc_link *lnk);
578 int smcr_buf_reg_lgr(struct smc_link *lnk);
584 struct smc_link *from_lnk, bool is_dev_err);
585 void smcr_link_down_cond(struct smc_link *lnk);
[all …]
H A Dsmc_llc.c201 struct smc_link *link;
337 struct smc_link *lnk, in smc_llc_wait()
381 struct smc_link *link, in smc_llc_tx_handler()
493 struct smc_link *link; in smc_llc_send_confirm_rkey()
604 struct smc_link *link, struct smc_link *link_new) in smc_llc_fill_ext_v2()
644 struct smc_link *link_new, in smc_llc_send_add_link()
943 struct smc_link *link_new, in smc_llc_cli_conf_link()
1759 struct smc_link *link; in smc_llc_rmt_conf_rkey()
1799 struct smc_link *link; in smc_llc_rmt_delete_rkey()
2087 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_llc_rx_handler()
[all …]
H A Dsmc_wr.c44 struct smc_link *link;
80 struct smc_link *link; in smc_wr_tx_process_cqe()
244 int smc_wr_tx_get_v2_slot(struct smc_link *link, in smc_wr_tx_get_v2_slot()
271 int smc_wr_tx_put_slot(struct smc_link *link, in smc_wr_tx_put_slot()
432 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_wr_rx_demultiplex()
451 struct smc_link *link; in smc_wr_rx_process_cqes()
511 int smc_wr_rx_post_init(struct smc_link *link) in smc_wr_rx_post_init()
636 void smc_wr_free_link(struct smc_link *lnk) in smc_wr_free_link()
855 struct smc_link *lnk = container_of(ref, struct smc_link, wr_tx_refs); in smcr_wr_tx_refs_free()
862 struct smc_link *lnk = container_of(ref, struct smc_link, wr_reg_refs); in smcr_wr_reg_refs_free()
[all …]
H A Dsmc_core.c142 struct smc_link *lnk2; in smcr_lgr_conn_assign_link()
385 struct smc_link *link, in smc_nl_fill_lgr_link()
831 struct smc_link *lnk; in smc_lgr_create()
1032 struct smc_link *to_lnk = NULL; in smc_switch_conns()
1206 struct smc_link *lnk) in smcr_buf_unmap_link()
1667 struct smc_link *link; in smcr_port_add()
1693 struct smc_link *to_lnk; in smcr_link_down()
1771 struct smc_link *link = container_of(work, struct smc_link, in smc_link_down_work()
1838 struct smc_link *lnk; in smcr_lgr_match()
2035 struct smc_link *lnk) in smcr_buf_map_link()
[all …]
H A Dsmc_ib.c47 static int smc_ib_modify_qp_init(struct smc_link *lnk) in smc_ib_modify_qp_init()
62 static int smc_ib_modify_qp_rtr(struct smc_link *lnk) in smc_ib_modify_qp_rtr()
95 int smc_ib_modify_qp_rts(struct smc_link *lnk) in smc_ib_modify_qp_rts()
114 int smc_ib_modify_qp_error(struct smc_link *lnk) in smc_ib_modify_qp_error()
123 int smc_ib_ready_link(struct smc_link *lnk) in smc_ib_ready_link()
636 struct smc_link *lnk = (struct smc_link *)priv; in smc_ib_qp_event_handler()
663 int smc_ib_create_queue_pair(struct smc_link *lnk) in smc_ib_create_queue_pair()
739 bool smc_ib_is_sg_need_sync(struct smc_link *lnk, in smc_ib_is_sg_need_sync()
763 void smc_ib_sync_sg_for_cpu(struct smc_link *lnk, in smc_ib_sync_sg_for_cpu()
809 int smc_ib_buf_map_sg(struct smc_link *lnk, in smc_ib_buf_map_sg()
[all …]
H A Dsmc_cdc.c26 struct smc_link *link, in smc_cdc_tx_handler()
73 struct smc_link *link, in smc_cdc_get_free_slot()
115 struct smc_link *link = conn->lnk; in smc_cdc_msg_send()
147 struct smc_link *link = conn->lnk; in smcr_cdc_msg_send_validation()
177 struct smc_link *link; in smcr_cdc_get_slot_and_msg_send()
300 struct smc_link *link) in smc_cdc_msg_validate()
439 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
H A Dsmc_tracepoint.h87 TP_PROTO(const struct smc_link *lnk, void *location),
H A Dsmc_tx.c321 struct smc_link *link = conn->lnk; in smc_tx_rdma_write()
361 struct smc_link *link = conn->lnk; in smcr_tx_rdma_writes()
550 struct smc_link *link = conn->lnk; in smcr_tx_sndbuf_nonempty()
H A Dsmc.h156 struct smc_link *lnk; /* assigned SMC-R link */
H A Dsmc_cdc.h290 struct smc_link *link,
H A Dsmc_diag.c148 struct smc_link *link = smc->conn.lnk; in __smc_diag_dump()
H A Daf_smc.c505 static int smcr_lgr_reg_sndbufs(struct smc_link *link, in smcr_lgr_reg_sndbufs()
528 static int smcr_lgr_reg_rmbs(struct smc_link *link, in smcr_lgr_reg_rmbs()
579 struct smc_link *link = smc->conn.lnk; in smcr_clnt_conf_first_link()
725 static void smc_link_save_peer_info(struct smc_link *link, in smc_link_save_peer_info()
1225 struct smc_link *link; in smc_connect_rdma()
1256 struct smc_link *l = &smc->conn.lgr->lnk[i]; in smc_connect_rdma()
1839 struct smc_link *link = smc->conn.lnk; in smcr_serv_conf_first_link()
2360 struct smc_link *link = new_smc->conn.lnk; in smc_listen_rdma_finish()
H A Dsmc_clc.c1056 struct smc_link *link = conn->lnk; in smc_clc_send_confirm_accept()