Searched refs:is_smcd (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/net/smc/ |
D | smc_stats.h | 115 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 …]
|
D | smc_core.c | 62 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 …]
|
D | smc_clc.h | 320 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()
|
D | smc_diag.c | 92 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()
|
D | smc_core.h | 257 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);
|
D | af_smc.c | 606 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 …]
|
D | smc_cdc.c | 211 (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()
|
D | smc_cdc.h | 276 if (conn->lgr->is_smcd) in smc_cdc_msg_to_host()
|
D | smc_tx.c | 541 if (conn->lgr->is_smcd) in smc_tx_rdma_writes() 661 if (conn->lgr->is_smcd) in __smc_tx_sndbuf_nonempty()
|
D | smc_clc.c | 779 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()
|
D | smc_ib.c | 472 if (lgr->is_smcd) in smcr_diag_is_dev_critical()
|