Lines Matching refs:pclc
1904 struct smc_clc_msg_proposal *pclc, in smc_listen_v2_check() argument
1911 ini->smc_type_v1 = pclc->hdr.typev1; in smc_listen_v2_check()
1912 ini->smc_type_v2 = pclc->hdr.typev2; in smc_listen_v2_check()
1915 if (pclc->hdr.version > SMC_V1) { in smc_listen_v2_check()
1925 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_listen_v2_check()
1962 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() argument
1967 if (pclc->hdr.typev1 == SMC_TYPE_N) in smc_listen_prfx_check()
1969 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_prfx_check()
2057 struct smc_clc_msg_proposal *pclc, in smc_find_ism_v2_device_serv() argument
2071 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_find_ism_v2_device_serv()
2072 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_ism_v2_device_serv()
2126 struct smc_clc_msg_proposal *pclc, in smc_find_ism_v1_device_serv() argument
2129 struct smc_clc_msg_smcd *pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_find_ism_v1_device_serv()
2172 struct smc_clc_msg_proposal *pclc, in smc_find_rdma_v2_device_serv() argument
2182 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_rdma_v2_device_serv()
2187 memcpy(ini->peer_systemid, pclc->lcl.id_for_peer, SMC_SYSTEMID_LEN); in smc_find_rdma_v2_device_serv()
2189 memcpy(ini->peer_mac, pclc->lcl.mac, ETH_ALEN); in smc_find_rdma_v2_device_serv()
2200 memcpy(ini->smcrv2.nexthop_mac, pclc->lcl.mac, ETH_ALEN); in smc_find_rdma_v2_device_serv()
2219 struct smc_clc_msg_proposal *pclc, in smc_find_rdma_v1_device_serv() argument
2228 memcpy(ini->peer_systemid, pclc->lcl.id_for_peer, SMC_SYSTEMID_LEN); in smc_find_rdma_v1_device_serv()
2229 memcpy(ini->peer_gid, pclc->lcl.gid, SMC_GID_SIZE); in smc_find_rdma_v1_device_serv()
2230 memcpy(ini->peer_mac, pclc->lcl.mac, ETH_ALEN); in smc_find_rdma_v1_device_serv()
2244 struct smc_clc_msg_proposal *pclc, in smc_listen_find_device() argument
2250 smc_find_ism_v2_device_serv(new_smc, pclc, ini); in smc_listen_find_device()
2255 prfx_rc = smc_listen_prfx_check(new_smc, pclc); in smc_listen_find_device()
2265 smc_find_ism_v1_device_serv(new_smc, pclc, ini); in smc_listen_find_device()
2269 if (!smcr_indicated(pclc->hdr.typev1) && in smc_listen_find_device()
2270 !smcr_indicated(pclc->hdr.typev2)) in smc_listen_find_device()
2275 smc_find_rdma_v2_device_serv(new_smc, pclc, ini); in smc_listen_find_device()
2283 rc = smc_find_rdma_v1_device_serv(new_smc, pclc, ini); in smc_listen_find_device()
2324 struct smc_clc_msg_proposal *pclc; in smc_listen_work() local
2356 pclc = (struct smc_clc_msg_proposal *)buf; in smc_listen_work()
2357 rc = smc_clc_wait_msg(new_smc, pclc, sizeof(*buf), in smc_listen_work()
2362 if (pclc->hdr.version > SMC_V1) in smc_listen_work()
2378 rc = smc_listen_v2_check(new_smc, pclc, ini); in smc_listen_work()
2388 rc = smc_listen_find_device(new_smc, pclc, ini); in smc_listen_work()