Home
last modified time | relevance | path

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

/net/smc/
Dsmc_clc.c1063 memcpy(clc->r0.lcl.id_for_peer, local_systemid, in smc_clc_send_confirm_accept()
1065 memcpy(&clc->r0.lcl.gid, link->gid, SMC_GID_SIZE); in smc_clc_send_confirm_accept()
1066 memcpy(&clc->r0.lcl.mac, &link->smcibdev->mac[link->ibport - 1], in smc_clc_send_confirm_accept()
1068 hton24(clc->r0.qpn, link->roce_qp->qp_num); in smc_clc_send_confirm_accept()
1069 clc->r0.rmb_rkey = in smc_clc_send_confirm_accept()
1071 clc->r0.rmbe_idx = 1; /* for now: 1 RMB = 1 RMBE */ in smc_clc_send_confirm_accept()
1072 clc->r0.rmbe_alert_token = htonl(conn->alert_token_local); in smc_clc_send_confirm_accept()
1075 clc->r0.qp_mtu = link->path_mtu; in smc_clc_send_confirm_accept()
1078 clc->r0.qp_mtu = min(link->path_mtu, link->peer_mtu); in smc_clc_send_confirm_accept()
1081 clc->r0.rmbe_size = conn->rmbe_size_comp; in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c693 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info()
695 smc->conn.peer_rmbe_idx = clc->r0.rmbe_idx; in smcr_conn_save_peer_info()
696 smc->conn.local_tx_ctrl.token = ntohl(clc->r0.rmbe_alert_token); in smcr_conn_save_peer_info()
729 link->peer_qpn = ntoh24(clc->r0.qpn); in smc_link_save_peer_info()
732 link->peer_psn = ntoh24(clc->r0.psn); in smc_link_save_peer_info()
733 link->peer_mtu = clc->r0.qp_mtu; in smc_link_save_peer_info()
1197 memcpy(ini->smcrv2.nexthop_mac, &aclc->r0.lcl.mac, ETH_ALEN); in smc_connect_rdma_v2_prepare()
1201 smc_ib_gid_to_ipv4(aclc->r0.lcl.gid), in smc_connect_rdma_v2_prepare()
1229 ini->ib_clcqpn = ntoh24(aclc->r0.qpn); in smc_connect_rdma()
1231 memcpy(ini->peer_systemid, aclc->r0.lcl.id_for_peer, SMC_SYSTEMID_LEN); in smc_connect_rdma()
[all …]
Dsmc_clc.h262 struct smcr_clc_msg_accept_confirm r0; /* SMC-R */ member
274 struct smcr_clc_msg_accept_confirm r0; member
Dsmc_core.c2568 conn->rtoken_idx = smc_rtoken_add(lnk, clc->r0.rmb_dma_addr, in smc_rmb_rtoken_handling()
2569 clc->r0.rmb_rkey); in smc_rmb_rtoken_handling()