Searched refs:smc_link (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/net/smc/ |
D | smc_wr.h | 36 struct smc_link *, 53 static inline long smc_wr_tx_get_next_wr_id(struct smc_link *link) in smc_wr_tx_get_next_wr_id() 64 static inline int smc_wr_rx_post(struct smc_link *link) in smc_wr_rx_post() 78 int smc_wr_create_link(struct smc_link *lnk); 79 int smc_wr_alloc_link_mem(struct smc_link *lnk); 80 void smc_wr_free_link(struct smc_link *lnk); 81 void smc_wr_free_link_mem(struct smc_link *lnk); 82 void smc_wr_remember_qp_attr(struct smc_link *lnk); 86 int smc_wr_tx_get_free_slot(struct smc_link *link, smc_wr_tx_handler handler, 89 int smc_wr_tx_put_slot(struct smc_link *link, [all …]
|
D | smc_llc.h | 39 int smc_llc_send_confirm_link(struct smc_link *lnk, 41 int smc_llc_send_add_link(struct smc_link *link, u8 mac[], u8 gid[], 43 int smc_llc_send_delete_link(struct smc_link *link, 45 int smc_llc_link_init(struct smc_link *link); 46 void smc_llc_link_active(struct smc_link *link, int testlink_time); 47 void smc_llc_link_deleting(struct smc_link *link); 48 void smc_llc_link_inactive(struct smc_link *link); 49 void smc_llc_link_clear(struct smc_link *link); 50 int smc_llc_do_confirm_rkey(struct smc_link *link,
|
D | smc_ib.h | 51 struct smc_link; 62 void smc_ib_dealloc_protection_domain(struct smc_link *lnk); 63 int smc_ib_create_protection_domain(struct smc_link *lnk); 64 void smc_ib_destroy_queue_pair(struct smc_link *lnk); 65 int smc_ib_create_queue_pair(struct smc_link *lnk); 66 int smc_ib_ready_link(struct smc_link *lnk); 67 int smc_ib_modify_qp_rts(struct smc_link *lnk); 68 int smc_ib_modify_qp_reset(struct smc_link *lnk);
|
D | smc_llc.c | 144 struct smc_link *link, in smc_llc_tx_handler() 163 static int smc_llc_add_pending_send(struct smc_link *link, in smc_llc_add_pending_send() 185 int smc_llc_send_confirm_link(struct smc_link *link, in smc_llc_send_confirm_link() 217 static int smc_llc_send_confirm_rkey(struct smc_link *link, in smc_llc_send_confirm_rkey() 243 struct smc_link *link, u8 mac[], u8 gid[], in smc_llc_prep_add_link() 260 int smc_llc_send_add_link(struct smc_link *link, u8 mac[], u8 gid[], in smc_llc_send_add_link() 280 struct smc_link *link, in smc_llc_prep_delete_link() 296 int smc_llc_send_delete_link(struct smc_link *link, in smc_llc_send_delete_link() 315 static int smc_llc_send_test_link(struct smc_link *link, u8 user_data[16]) in smc_llc_send_test_link() 337 struct smc_link *link; [all …]
|
D | smc_wr.c | 44 struct smc_link *link; 53 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() 67 struct smc_link *link; in smc_wr_tx_process_cqe() 146 static inline int smc_wr_tx_get_free_slot_index(struct smc_link *link, u32 *idx) in smc_wr_tx_get_free_slot_index() 167 int smc_wr_tx_get_free_slot(struct smc_link *link, in smc_wr_tx_get_free_slot() 211 int smc_wr_tx_put_slot(struct smc_link *link, in smc_wr_tx_put_slot() 233 int smc_wr_tx_send(struct smc_link *link, struct smc_wr_tx_pend_priv *priv) in smc_wr_tx_send() 250 int smc_wr_reg_send(struct smc_link *link, struct ib_mr *mr) in smc_wr_reg_send() 288 void smc_wr_tx_dismiss_slots(struct smc_link *link, u8 wr_tx_hdr_type, in smc_wr_tx_dismiss_slots() 333 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_wr_rx_demultiplex() [all …]
|
D | smc_ib.c | 45 static int smc_ib_modify_qp_init(struct smc_link *lnk) in smc_ib_modify_qp_init() 60 static int smc_ib_modify_qp_rtr(struct smc_link *lnk) in smc_ib_modify_qp_rtr() 86 int smc_ib_modify_qp_rts(struct smc_link *lnk) in smc_ib_modify_qp_rts() 105 int smc_ib_modify_qp_reset(struct smc_link *lnk) in smc_ib_modify_qp_reset() 114 int smc_ib_ready_link(struct smc_link *lnk) in smc_ib_ready_link() 272 void smc_ib_dealloc_protection_domain(struct smc_link *lnk) in smc_ib_dealloc_protection_domain() 279 int smc_ib_create_protection_domain(struct smc_link *lnk) in smc_ib_create_protection_domain() 310 void smc_ib_destroy_queue_pair(struct smc_link *lnk) in smc_ib_destroy_queue_pair() 318 int smc_ib_create_queue_pair(struct smc_link *lnk) in smc_ib_create_queue_pair()
|
D | smc_cdc.c | 33 struct smc_link *link, in smc_cdc_tx_handler() 66 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_get_free_slot() 99 struct smc_link *link; in smc_cdc_msg_send() 166 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_tx_dismiss_slots() 357 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
|
D | smc_core.h | 55 struct smc_link { struct 190 struct smc_link lnk[SMC_LINKS_PER_LGR_MAX]; 272 static inline struct smc_link_group *smc_get_lgr(struct smc_link *link) in smc_get_lgr()
|
D | smc_core.c | 147 static int smc_link_send_delete(struct smc_link *lnk) in smc_link_send_delete() 188 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_free_work() 203 struct smc_link *lnk; in smc_lgr_create() 330 static void smc_link_clear(struct smc_link *lnk) in smc_link_clear() 344 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smcr_buf_free() 715 struct smc_link *lnk; in smcr_new_buf_create() 1020 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_core_exit()
|
D | af_smc.c | 303 static int smc_reg_rmb(struct smc_link *link, struct smc_buf_desc *rmb_desc, in smc_reg_rmb() 325 struct smc_link *link; in smc_clnt_conf_first_link() 416 static void smc_link_save_peer_info(struct smc_link *link, in smc_link_save_peer_info() 545 struct smc_link *link; in smc_connect_rdma() 946 struct smc_link *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_tx.c | 274 struct smc_link *link; in smc_tx_rdma_write() 321 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smcr_tx_rdma_writes()
|
D | smc_clc.c | 465 struct smc_link *link; in smc_clc_send_confirm() 536 struct smc_link *link; in smc_clc_send_accept()
|