Lines Matching refs:aclc
749 struct smc_clc_msg_accept_confirm *aclc,
756 ini->ib_lcl = &aclc->r0.lcl;
757 ini->ib_clcqpn = ntoh24(aclc->r0.qpn);
758 ini->first_contact_peer = aclc->hdr.typev2 & SMC_FIRST_CONTACT_MASK;
767 smc_conn_save_peer_info(smc, aclc);
777 if (l->peer_qpn == ntoh24(aclc->r0.qpn) &&
778 !memcmp(l->peer_gid, &aclc->r0.lcl.gid,
780 !memcmp(l->peer_mac, &aclc->r0.lcl.mac,
800 smc_link_save_peer_info(link, aclc);
802 if (smc_rmb_rtoken_handling(&smc->conn, link, aclc)) {
858 smc_v2_determine_accepted_chid(struct smc_clc_msg_accept_confirm_v2 *aclc,
864 if (ini->ism_chid[i] == ntohs(aclc->chid)) {
875 struct smc_clc_msg_accept_confirm *aclc,
881 ini->first_contact_peer = aclc->hdr.typev2 & SMC_FIRST_CONTACT_MASK;
883 if (aclc->hdr.version == SMC_V2) {
885 (struct smc_clc_msg_accept_confirm_v2 *)aclc;
891 ini->ism_peer_gid[ini->ism_selected] = aclc->d0.gid;
908 smc_conn_save_peer_info(smc, aclc);
914 aclc->hdr.version);
935 struct smc_clc_msg_accept_confirm *aclc)
937 if ((aclc->hdr.typev1 == SMC_TYPE_R &&
939 (aclc->hdr.typev1 == SMC_TYPE_D &&
942 (aclc->hdr.version == SMC_V1 &&
944 (aclc->hdr.version == SMC_V2 &&
956 struct smc_clc_msg_accept_confirm *aclc;
1003 aclc = (struct smc_clc_msg_accept_confirm *)aclc2;
1011 rc = smc_connect_check_aclc(ini, aclc);
1012 version = aclc->hdr.version == SMC_V1 ? SMC_V1 : SMC_V2;
1018 if (aclc->hdr.typev1 == SMC_TYPE_R)
1019 rc = smc_connect_rdma(smc, aclc, ini);
1020 else if (aclc->hdr.typev1 == SMC_TYPE_D)
1021 rc = smc_connect_ism(smc, aclc, ini);