Home
last modified time | relevance | path

Searched refs:r0 (Results 1 – 4 of 4) sorted by relevance

/net/smc/
Dsmc_clc.c689 memcpy(clc->r0.lcl.id_for_peer, local_systemid, in smc_clc_send_confirm_accept()
691 memcpy(&clc->r0.lcl.gid, link->gid, SMC_GID_SIZE); in smc_clc_send_confirm_accept()
692 memcpy(&clc->r0.lcl.mac, &link->smcibdev->mac[link->ibport - 1], in smc_clc_send_confirm_accept()
694 hton24(clc->r0.qpn, link->roce_qp->qp_num); in smc_clc_send_confirm_accept()
695 clc->r0.rmb_rkey = in smc_clc_send_confirm_accept()
697 clc->r0.rmbe_idx = 1; /* for now: 1 RMB = 1 RMBE */ in smc_clc_send_confirm_accept()
698 clc->r0.rmbe_alert_token = htonl(conn->alert_token_local); in smc_clc_send_confirm_accept()
701 clc->r0.qp_mtu = link->path_mtu; in smc_clc_send_confirm_accept()
704 clc->r0.qp_mtu = min(link->path_mtu, link->peer_mtu); in smc_clc_send_confirm_accept()
707 clc->r0.rmbe_size = conn->rmbe_size_short; in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c459 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info()
461 smc->conn.peer_rmbe_idx = clc->r0.rmbe_idx; in smcr_conn_save_peer_info()
462 smc->conn.local_tx_ctrl.token = ntohl(clc->r0.rmbe_alert_token); in smcr_conn_save_peer_info()
519 link->peer_qpn = ntoh24(clc->r0.qpn); in smc_link_save_peer_info()
520 memcpy(link->peer_gid, clc->r0.lcl.gid, SMC_GID_SIZE); in smc_link_save_peer_info()
521 memcpy(link->peer_mac, clc->r0.lcl.mac, sizeof(link->peer_mac)); in smc_link_save_peer_info()
522 link->peer_psn = ntoh24(clc->r0.psn); in smc_link_save_peer_info()
523 link->peer_mtu = clc->r0.qp_mtu; in smc_link_save_peer_info()
756 ini->ib_lcl = &aclc->r0.lcl; in smc_connect_rdma()
757 ini->ib_clcqpn = ntoh24(aclc->r0.qpn); in smc_connect_rdma()
[all …]
Dsmc_clc.h222 struct smcr_clc_msg_accept_confirm r0; /* SMC-R */ member
233 struct smcr_clc_msg_accept_confirm r0; /* SMC-R */ member
Dsmc_core.c1910 conn->rtoken_idx = smc_rtoken_add(lnk, clc->r0.rmb_dma_addr, in smc_rmb_rtoken_handling()
1911 clc->r0.rmb_rkey); in smc_rmb_rtoken_handling()