Searched refs:smc_link (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/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, 90 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, 52 int smc_llc_do_delete_rkey(struct smc_link *link,
|
D | smc_ib.h | 53 struct smc_link; 64 void smc_ib_dealloc_protection_domain(struct smc_link *lnk); 65 int smc_ib_create_protection_domain(struct smc_link *lnk); 66 void smc_ib_destroy_queue_pair(struct smc_link *lnk); 67 int smc_ib_create_queue_pair(struct smc_link *lnk); 68 int smc_ib_ready_link(struct smc_link *lnk); 69 int smc_ib_modify_qp_rts(struct smc_link *lnk); 70 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() 186 int smc_llc_send_confirm_link(struct smc_link *link, in smc_llc_send_confirm_link() 218 static int smc_llc_send_confirm_rkey(struct smc_link *link, in smc_llc_send_confirm_rkey() 243 static int smc_llc_send_delete_rkey(struct smc_link *link, in smc_llc_send_delete_rkey() 267 struct smc_link *link, u8 mac[], u8 gid[], in smc_llc_prep_add_link() 284 int smc_llc_send_add_link(struct smc_link *link, u8 mac[], u8 gid[], in smc_llc_send_add_link() 304 struct smc_link *link, in smc_llc_prep_delete_link() 320 int smc_llc_send_delete_link(struct smc_link *link, in smc_llc_send_delete_link() 339 static int smc_llc_send_test_link(struct smc_link *link, u8 user_data[16]) in smc_llc_send_test_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() 168 int smc_wr_tx_get_free_slot(struct smc_link *link, in smc_wr_tx_get_free_slot() 215 int smc_wr_tx_put_slot(struct smc_link *link, in smc_wr_tx_put_slot() 239 int smc_wr_tx_send(struct smc_link *link, struct smc_wr_tx_pend_priv *priv) in smc_wr_tx_send() 256 int smc_wr_reg_send(struct smc_link *link, struct ib_mr *mr) in smc_wr_reg_send() 294 void smc_wr_tx_dismiss_slots(struct smc_link *link, u8 wr_tx_hdr_type, in smc_wr_tx_dismiss_slots() 339 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() 280 void smc_ib_dealloc_protection_domain(struct smc_link *lnk) in smc_ib_dealloc_protection_domain() 287 int smc_ib_create_protection_domain(struct smc_link *lnk) in smc_ib_create_protection_domain() 300 struct smc_link *lnk = (struct smc_link *)priv; in smc_ib_qp_event_handler() 318 void smc_ib_destroy_queue_pair(struct smc_link *lnk) in smc_ib_destroy_queue_pair() 326 int smc_ib_create_queue_pair(struct smc_link *lnk) in smc_ib_create_queue_pair()
|
D | smc_cdc.c | 26 struct smc_link *link, in smc_cdc_tx_handler() 60 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_get_free_slot() 95 struct smc_link *link; in smc_cdc_msg_send() 165 struct smc_link *link = &conn->lgr->lnk[SMC_SINGLE_LINK]; in smc_cdc_tx_dismiss_slots() 353 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
|
D | smc_core.h | 73 struct smc_link { struct 213 struct smc_link lnk[SMC_LINKS_PER_LGR_MAX]; 310 static inline struct smc_link_group *smc_get_lgr(struct smc_link *link) in smc_get_lgr()
|
D | smc_core.c | 143 static int smc_link_send_delete(struct smc_link *lnk) in smc_link_send_delete() 175 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_free_work() 187 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_lgr_free_work() 201 struct smc_link *lnk; in smc_lgr_create() 351 static void smc_link_clear(struct smc_link *lnk) in smc_link_clear() 365 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smcr_buf_free() 738 struct smc_link *lnk; in smcr_new_buf_create() 1043 struct smc_link *lnk = &lgr->lnk[SMC_SINGLE_LINK]; in smc_core_exit()
|
D | af_smc.c | 338 static int smc_reg_rmb(struct smc_link *link, struct smc_buf_desc *rmb_desc, in smc_reg_rmb() 363 struct smc_link *link; in smc_clnt_conf_first_link() 454 static void smc_link_save_peer_info(struct smc_link *link, in smc_link_save_peer_info() 591 struct smc_link *link; in smc_connect_rdma() 994 struct smc_link *link; in smc_serv_conf_first_link() 1183 struct smc_link *link = &new_smc->conn.lgr->lnk[SMC_SINGLE_LINK]; in smc_listen_rdma_reg() 1199 struct smc_link *link = &new_smc->conn.lgr->lnk[SMC_SINGLE_LINK]; in smc_listen_rdma_finish()
|
D | smc_clc.c | 471 struct smc_link *link; in smc_clc_send_confirm() 542 struct smc_link *link; in smc_clc_send_accept()
|
D | smc_tx.c | 271 struct smc_link *link; in smc_tx_rdma_write()
|