Home
last modified time | relevance | path

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

/net/smc/
Dsmc_stats.h116 bool is_smcd = !__smc->conn.lnk; \
117 if (is_smcd) \
131 bool is_smcd = !__smc->conn.lnk; \
132 if (is_smcd) \
191 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
192 SMC_STAT_RMB(smc, reuse, is_smcd, is_rx)
194 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
195 SMC_STAT_RMB(smc, alloc, is_smcd, is_rx)
197 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
198 SMC_STAT_RMB(smc, dgrade, is_smcd, is_rx)
[all …]
Dsmc_core.c61 if (lgr->is_smcd) { in smc_lgr_list_head()
88 (!lgr->is_smcd && lgr->role == SMC_CLNT) ? in smc_lgr_schedule_free_work()
171 if (!conn->lgr->is_smcd) { in smc_lgr_register_conn()
519 if (!lgr->is_smcd) in smc_nl_handle_smcd_lgr()
642 if (!lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
645 if (lgr->is_smcd && !lgr->terminating) in smc_lgr_free_work()
647 if (!lgr->is_smcd) in smc_lgr_free_work()
768 if (ini->is_smcd && ini->vlan_id) { in smc_lgr_create()
787 lgr->is_smcd = ini->is_smcd; in smc_lgr_create()
805 if (ini->is_smcd) { in smc_lgr_create()
[all …]
Dsmc_diag.c92 else if (smc->conn.lgr && smc->conn.lgr->is_smcd) in __smc_diag_dump()
145 if (smc->conn.lgr && !smc->conn.lgr->is_smcd && in __smc_diag_dump()
165 if (smc->conn.lgr && smc->conn.lgr->is_smcd && in __smc_diag_dump()
Dsmc_core.h241 bool is_smcd; /* SMC-R or SMC-D */ member
306 u8 is_smcd; member
430 int smc_buf_create(struct smc_sock *smc, bool is_smcd);
Daf_smc.c512 if (smc->conn.lgr->is_smcd) in smc_conn_save_peer_info()
822 ini->is_smcd = true; in smc_find_ism_v2_device_clnt()
920 ini->is_smcd = false; in smc_connect_rdma()
1045 ini->is_smcd = true; in smc_connect_ism()
1729 ini->is_smcd = true; in smc_find_ism_v2_device_serv()
1745 ini->is_smcd = false; in smc_find_ism_v2_device_serv()
1758 ini->is_smcd = true; /* prepare ISM check */ in smc_find_ism_v1_device_serv()
1771 ini->is_smcd = false; in smc_find_ism_v1_device_serv()
1958 if (ini->is_smcd) in smc_listen_work()
1967 if (!ini->is_smcd) in smc_listen_work()
[all …]
Dsmc_cdc.c202 if (!conn->lgr || (conn->lgr->is_smcd && conn->lgr->peer_shutdown)) in smc_cdc_get_slot_and_msg_send()
205 if (conn->lgr->is_smcd) { in smc_cdc_get_slot_and_msg_send()
Dsmc_tx.c476 if (conn->lgr->is_smcd) in smc_tx_rdma_writes()
583 if (conn->lgr->is_smcd) in smc_tx_sndbuf_nonempty()
Dsmc_cdc.h276 if (conn->lgr->is_smcd) in smc_cdc_msg_to_host()
Dsmc_clc.c462 if ((!smc->conn.lgr || !smc->conn.lgr->is_smcd) && in smc_clc_send_decline()
654 if (conn->lgr->is_smcd) { in smc_clc_send_confirm_accept()
Dsmc_ib.c339 if (lgr->is_smcd) in smcr_diag_is_dev_critical()