Home
last modified time | relevance | path

Searched refs:smc_link_group (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/net/smc/
H A Dsmc_llc.h53 static inline struct smc_link *smc_llc_usable_link(struct smc_link_group *lgr) in smc_llc_usable_link()
64 static inline void smc_llc_set_termination_rsn(struct smc_link_group *lgr, in smc_llc_set_termination_rsn()
81 void smc_llc_lgr_init(struct smc_link_group *lgr, struct smc_sock *smc);
82 void smc_llc_lgr_clear(struct smc_link_group *lgr);
88 int smc_llc_do_delete_rkey(struct smc_link_group *lgr,
90 int smc_llc_flow_initiate(struct smc_link_group *lgr,
92 void smc_llc_flow_stop(struct smc_link_group *lgr, struct smc_llc_flow *flow);
97 struct smc_llc_qentry *smc_llc_wait(struct smc_link_group *lgr,
102 void smc_llc_send_link_delete_all(struct smc_link_group *lgr, bool ord,
H A Dsmc_core.c47 static void smc_buf_free(struct smc_link_group *lgr, bool is_rmb,
49 static void __smc_lgr_terminate(struct smc_link_group *lgr, bool soft);
54 static inline struct list_head *smc_lgr_list_head(struct smc_link_group *lgr, in smc_lgr_list_head()
66 static void smc_lgr_schedule_free_work(struct smc_link_group *lgr) in smc_lgr_schedule_free_work()
180 struct smc_link_group *lgr = conn->lgr; in __smc_lgr_unregister_conn()
192 struct smc_link_group *lgr = conn->lgr; in smc_lgr_unregister_conn()
206 struct smc_link_group *lgr = conn->lgr; in smc_lgr_cleanup_early()
222 static void smcr_lgr_link_deactivate_all(struct smc_link_group *lgr) in smcr_lgr_link_deactivate_all()
236 static void smc_lgr_free(struct smc_link_group *lgr);
240 struct smc_link_group *lgr = container_of(to_delayed_work(work), in smc_lgr_free_work()
[all …]
H A Dsmc_core.h127 struct smc_link_group *lgr; /* parent link group */
215 struct smc_link_group { struct
329 u32 token, struct smc_link_group *lgr) in smc_lgr_find_conn()
378 void smc_lgr_terminate_sched(struct smc_link_group *lgr);
391 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new,
393 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id,
403 void smc_lgr_schedule_free_work_fast(struct smc_link_group *lgr);
407 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk,
412 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type);
413 void smcr_lgr_set_type_asym(struct smc_link_group *lgr,
[all …]
H A Dsmc_llc.c189 static void smc_llc_flow_parallel(struct smc_link_group *lgr, u8 flow_type, in smc_llc_flow_parallel()
213 struct smc_link_group *lgr = qentry->link->lgr; in smc_llc_flow_start()
242 int smc_llc_flow_initiate(struct smc_link_group *lgr, in smc_llc_flow_initiate()
276 void smc_llc_flow_stop(struct smc_link_group *lgr, struct smc_llc_flow *flow) in smc_llc_flow_stop()
292 struct smc_llc_qentry *smc_llc_wait(struct smc_link_group *lgr, in smc_llc_wait()
630 static int smc_llc_alloc_alt_link(struct smc_link_group *lgr, in smc_llc_alloc_alt_link()
655 static struct smc_buf_desc *_smc_llc_get_next_rmb(struct smc_link_group *lgr, in _smc_llc_get_next_rmb()
671 static struct smc_buf_desc *smc_llc_get_next_rmb(struct smc_link_group *lgr, in smc_llc_get_next_rmb()
685 static struct smc_buf_desc *smc_llc_get_first_rmb(struct smc_link_group *lgr, in smc_llc_get_first_rmb()
698 struct smc_link_group *lgr = link->lgr; in smc_llc_add_link_cont()
[all …]
H A Dsmc_ism.h47 int smc_ism_register_dmb(struct smc_link_group *lgr, int buf_size,
52 int smc_ism_signal_shutdown(struct smc_link_group *lgr);
H A Dsmc_pnet.h24 struct smc_link_group;
65 void smc_pnet_find_alt_roce(struct smc_link_group *lgr,
H A Dsmc.h59 struct smc_link_group;
134 struct smc_link_group *lgr; /* link group of connection */
H A Dsmc_ism.c182 int smc_ism_register_dmb(struct smc_link_group *lgr, int dmb_len, in smc_ism_register_dmb()
247 int smc_ism_signal_shutdown(struct smc_link_group *lgr) in smc_ism_signal_shutdown()
H A Dsmc_cdc.c425 struct smc_link_group *lgr; in smc_cdc_rx_handler()
H A Dsmc_tx.c271 struct smc_link_group *lgr = conn->lgr; in smc_tx_rdma_write()
H A Dsmc_ib.c114 struct smc_link_group *lgr = smc_get_lgr(lnk); in smc_ib_ready_link()
H A Dsmc_wr.c186 struct smc_link_group *lgr = smc_get_lgr(link); in smc_wr_tx_get_free_slot()
H A Dsmc_pnet.c988 void smc_pnet_find_alt_roce(struct smc_link_group *lgr, in smc_pnet_find_alt_roce()
H A Daf_smc.c362 struct smc_link_group *lgr = link->lgr; in smcr_lgr_reg_rmbs()