Home
last modified time | relevance | path

Searched refs:is_smcd (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/net/smc/
Dsmc_stats.h115 bool is_smcd = !__smc->conn.lnk; \
116 if (is_smcd) \
130 bool is_smcd = !__smc->conn.lnk; \
131 if (is_smcd) \
187 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
188 SMC_STAT_RMB(smc, reuse, is_smcd, is_rx)
190 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
191 SMC_STAT_RMB(smc, alloc, is_smcd, is_rx)
193 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
194 SMC_STAT_RMB(smc, dgrade, is_smcd, is_rx)
[all …]
Dsmc_core.c62 if (lgr->is_smcd) { in smc_lgr_list_head()
89 (!lgr->is_smcd && lgr->role == SMC_CLNT) ? in smc_lgr_schedule_free_work()
172 if (!conn->lgr->is_smcd) { in smc_lgr_register_conn()
564 if (!lgr->is_smcd) in smc_nl_handle_smcd_lgr()
687 if (!lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
690 if (lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
692 if (!lgr->is_smcd) in smc_lgr_free_work()
827 if (ini->is_smcd && ini->vlan_id) { in smc_lgr_create()
846 lgr->is_smcd = ini->is_smcd; in smc_lgr_create()
865 if (ini->is_smcd) { in smc_lgr_create()
[all …]
Dsmc_clc.h320 static inline u8 smc_indicated_type(int is_smcd, int is_smcr) in smc_indicated_type() argument
322 if (is_smcd && is_smcr) in smc_indicated_type()
324 if (is_smcd) in smc_indicated_type()
Dsmc_diag.c92 else if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd) in __smc_diag_dump()
145 if (smc_conn_lgr_valid(&smc->conn) && !smc->conn.lgr->is_smcd && in __smc_diag_dump()
165 if (smc_conn_lgr_valid(&smc->conn) && smc->conn.lgr->is_smcd && in __smc_diag_dump()
Dsmc_core.h257 bool is_smcd; /* SMC-R or SMC-D */ member
356 u8 is_smcd; member
508 int smc_buf_create(struct smc_sock *smc, bool is_smcd);
Daf_smc.c606 if (smc->conn.lgr->is_smcd) { in smc_conn_save_peer_info_fce()
653 if (smc->conn.lgr->is_smcd) in smc_conn_save_peer_info()
984 ini->is_smcd = true; in smc_find_ism_v2_device_clnt()
1156 ini->is_smcd = false; in smc_connect_rdma()
1299 ini->is_smcd = true; in smc_connect_ism()
2059 ini->is_smcd = true; in smc_find_ism_v2_device_serv()
2076 ini->is_smcd = false; in smc_find_ism_v2_device_serv()
2089 ini->is_smcd = true; /* prepare ISM check */ in smc_find_ism_v1_device_serv()
2103 ini->is_smcd = false; in smc_find_ism_v1_device_serv()
2342 accept_version = ini->is_smcd ? ini->smcd_version : ini->smcr_version; in smc_listen_work()
[all …]
Dsmc_cdc.c211 (conn->lgr->is_smcd && conn->lgr->peer_shutdown)) in smc_cdc_get_slot_and_msg_send()
214 if (conn->lgr->is_smcd) { in smc_cdc_get_slot_and_msg_send()
Dsmc_cdc.h276 if (conn->lgr->is_smcd) in smc_cdc_msg_to_host()
Dsmc_tx.c541 if (conn->lgr->is_smcd) in smc_tx_rdma_writes()
661 if (conn->lgr->is_smcd) in __smc_tx_sndbuf_nonempty()
Dsmc_clc.c779 if ((!smc_conn_lgr_valid(&smc->conn) || !smc->conn.lgr->is_smcd) && in smc_clc_send_decline()
998 if (conn->lgr->is_smcd) { in smc_clc_send_confirm_accept()
1091 if (!conn->lgr->is_smcd) { in smc_clc_send_confirm_accept()
Dsmc_ib.c472 if (lgr->is_smcd) in smcr_diag_is_dev_critical()