Searched refs:smc_link (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.15/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() 63 static inline bool smc_wr_tx_link_hold(struct smc_link *link) in smc_wr_tx_link_hold() 71 static inline void smc_wr_tx_link_put(struct smc_link *link) in smc_wr_tx_link_put() 77 static inline void smc_wr_wakeup_tx_wait(struct smc_link *lnk) in smc_wr_wakeup_tx_wait() 82 static inline void smc_wr_wakeup_reg_wait(struct smc_link *lnk) in smc_wr_wakeup_reg_wait() 88 static inline int smc_wr_rx_post(struct smc_link *link) in smc_wr_rx_post() 102 int smc_wr_create_link(struct smc_link *lnk); 103 int smc_wr_alloc_link_mem(struct smc_link *lnk); 104 void smc_wr_free_link(struct smc_link *lnk); [all …]
|
| D | smc_llc.h | 53 static inline struct smc_link *smc_llc_usable_link(struct smc_link_group *lgr) in smc_llc_usable_link() 72 int smc_llc_send_confirm_link(struct smc_link *lnk, 74 int smc_llc_send_add_link(struct smc_link *link, u8 mac[], u8 gid[], 75 struct smc_link *link_new, 77 int smc_llc_send_delete_link(struct smc_link *link, u8 link_del_id, 80 void smc_llc_srv_delete_link_local(struct smc_link *link, u8 del_link_id); 83 int smc_llc_link_init(struct smc_link *link); 84 void smc_llc_link_active(struct smc_link *link); 85 void smc_llc_link_clear(struct smc_link *link, bool log); 86 int smc_llc_do_confirm_rkey(struct smc_link *send_link, [all …]
|
| D | smc_ib.h | 63 struct smc_link; 69 int smc_ib_buf_map_sg(struct smc_link *lnk, 72 void smc_ib_buf_unmap_sg(struct smc_link *lnk, 75 void smc_ib_dealloc_protection_domain(struct smc_link *lnk); 76 int smc_ib_create_protection_domain(struct smc_link *lnk); 77 void smc_ib_destroy_queue_pair(struct smc_link *lnk); 78 int smc_ib_create_queue_pair(struct smc_link *lnk); 79 int smc_ib_ready_link(struct smc_link *lnk); 80 int smc_ib_modify_qp_rts(struct smc_link *lnk); 81 int smc_ib_modify_qp_reset(struct smc_link *lnk); [all …]
|
| D | smc_core.h | 78 struct smc_link { struct 251 struct smc_link lnk[SMC_LINKS_PER_LGR_MAX]; 362 static inline bool smc_link_usable(struct smc_link *lnk) in smc_link_usable() 369 static inline bool smc_link_active(struct smc_link *lnk) in smc_link_active() 426 int smc_rmb_rtoken_handling(struct smc_connection *conn, struct smc_link *link, 428 int smc_rtoken_add(struct smc_link *lnk, __be64 nw_vaddr, __be32 nw_rkey); 429 int smc_rtoken_delete(struct smc_link *lnk, __be32 nw_rkey); 446 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk, 448 void smcr_link_clear(struct smc_link *lnk, bool log); 450 struct smc_link *to_lnk); [all …]
|
| D | smc_llc.c | 158 struct smc_link *link; 162 static void smc_llc_enqueue(struct smc_link *link, union smc_llc_msg *llc); 293 struct smc_link *lnk, in smc_llc_wait() 336 struct smc_link *link, in smc_llc_tx_handler() 355 static int smc_llc_add_pending_send(struct smc_link *link, in smc_llc_add_pending_send() 378 int smc_llc_send_confirm_link(struct smc_link *link, in smc_llc_send_confirm_link() 413 static int smc_llc_send_confirm_rkey(struct smc_link *send_link, in smc_llc_send_confirm_rkey() 419 struct smc_link *link; in smc_llc_send_confirm_rkey() 459 static int smc_llc_send_delete_rkey(struct smc_link *link, in smc_llc_send_delete_rkey() 486 int smc_llc_send_add_link(struct smc_link *link, u8 mac[], u8 gid[], in smc_llc_send_add_link() [all …]
|
| D | smc_wr.c | 44 struct smc_link *link; 55 static inline bool smc_wr_is_tx_pend(struct smc_link *link) in smc_wr_is_tx_pend() 65 int smc_wr_tx_wait_no_pending_sends(struct smc_link *link) in smc_wr_tx_wait_no_pending_sends() 74 static inline int smc_wr_tx_find_pending_index(struct smc_link *link, u64 wr_id) in smc_wr_tx_find_pending_index() 88 struct smc_link *link; in smc_wr_tx_process_cqe() 169 static inline int smc_wr_tx_get_free_slot_index(struct smc_link *link, u32 *idx) in smc_wr_tx_get_free_slot_index() 193 int smc_wr_tx_get_free_slot(struct smc_link *link, in smc_wr_tx_get_free_slot() 242 int smc_wr_tx_put_slot(struct smc_link *link, in smc_wr_tx_put_slot() 267 int smc_wr_tx_send(struct smc_link *link, struct smc_wr_tx_pend_priv *priv) in smc_wr_tx_send() 287 int smc_wr_tx_send_wait(struct smc_link *link, struct smc_wr_tx_pend_priv *priv, in smc_wr_tx_send_wait() [all …]
|
| D | smc_ib.c | 44 static int smc_ib_modify_qp_init(struct smc_link *lnk) in smc_ib_modify_qp_init() 59 static int smc_ib_modify_qp_rtr(struct smc_link *lnk) in smc_ib_modify_qp_rtr() 85 int smc_ib_modify_qp_rts(struct smc_link *lnk) in smc_ib_modify_qp_rts() 104 int smc_ib_modify_qp_reset(struct smc_link *lnk) in smc_ib_modify_qp_reset() 113 int smc_ib_ready_link(struct smc_link *lnk) in smc_ib_ready_link() 312 void smc_ib_dealloc_protection_domain(struct smc_link *lnk) in smc_ib_dealloc_protection_domain() 319 int smc_ib_create_protection_domain(struct smc_link *lnk) in smc_ib_create_protection_domain() 497 struct smc_link *lnk = (struct smc_link *)priv; in smc_ib_qp_event_handler() 516 void smc_ib_destroy_queue_pair(struct smc_link *lnk) in smc_ib_destroy_queue_pair() 524 int smc_ib_create_queue_pair(struct smc_link *lnk) in smc_ib_create_queue_pair() [all …]
|
| D | smc_cdc.c | 26 struct smc_link *link, in smc_cdc_tx_handler() 59 struct smc_link *link, in smc_cdc_get_free_slot() 101 struct smc_link *link = conn->lnk; in smc_cdc_msg_send() 128 struct smc_link *link = conn->lnk; in smcr_cdc_msg_send_validation() 147 struct smc_link *link; in smcr_cdc_get_slot_and_msg_send() 216 struct smc_link *link = conn->lnk; in smc_cdc_tx_dismiss_slots() 291 struct smc_link *link) in smc_cdc_msg_validate() 426 struct smc_link *link = (struct smc_link *)wc->qp->qp_context; in smc_cdc_rx_handler()
|
| D | smc_core.c | 70 static void smc_ibdev_cnt_inc(struct smc_link *lnk) in smc_ibdev_cnt_inc() 75 static void smc_ibdev_cnt_dec(struct smc_link *lnk) in smc_ibdev_cnt_dec() 130 struct smc_link *lnk = &conn->lgr->lnk[i]; in smcr_lgr_conn_assign_link() 140 struct smc_link *lnk2; in smcr_lgr_conn_assign_link() 315 struct smc_link *link, in smc_nl_fill_lgr_link() 606 struct smc_link *lnk = &lgr->lnk[i]; in smcr_lgr_link_deactivate_all() 681 static void smcr_copy_dev_info_to_link(struct smc_link *link) in smcr_copy_dev_info_to_link() 690 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk, in smcr_link_init() 750 memset(lnk, 0, sizeof(struct smc_link)); in smcr_link_init() 762 struct smc_link *lnk; in smc_lgr_create() [all …]
|
| D | smc_tx.c | 285 struct smc_link *link = conn->lnk; in smc_tx_rdma_write() 325 struct smc_link *link = conn->lnk; in smcr_tx_rdma_writes() 502 struct smc_link *link = conn->lnk; in smcr_tx_sndbuf_nonempty()
|
| D | smc.h | 135 struct smc_link *lnk; /* assigned SMC-R link */
|
| D | af_smc.c | 349 static int smcr_lgr_reg_rmbs(struct smc_link *link, in smcr_lgr_reg_rmbs() 385 struct smc_link *link = smc->conn.lnk; in smcr_clnt_conf_first_link() 502 static void smc_link_save_peer_info(struct smc_link *link, in smc_link_save_peer_info() 761 struct smc_link *link; in smc_connect_rdma() 783 struct smc_link *l = &smc->conn.lgr->lnk[i]; in smc_connect_rdma() 1275 struct smc_link *link = smc->conn.lnk; in smcr_serv_conf_first_link() 1699 struct smc_link *link = new_smc->conn.lnk; in smc_listen_rdma_finish()
|
| D | smc_cdc.h | 290 struct smc_link *link,
|
| D | smc_clc.c | 681 struct smc_link *link = conn->lnk; in smc_clc_send_confirm_accept()
|