Lines Matching refs:smc_v2_ext
2133 struct smc_clc_v2_extension *smc_v2_ext; in smc_find_ism_v2_device_serv() local
2146 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_ism_v2_device_serv()
2147 smcd_v2_ext = smc_get_clc_smcd_v2_ext(smc_v2_ext); in smc_find_ism_v2_device_serv()
2157 for (i = 0; i < smc_v2_ext->hdr.ism_gid_cnt; i++) { in smc_find_ism_v2_device_serv()
2165 if ((i + 1) == smc_v2_ext->hdr.ism_gid_cnt || in smc_find_ism_v2_device_serv()
2188 if (!smc_clc_match_eid(ini->negotiated_eid, smc_v2_ext, in smc_find_ism_v2_device_serv()
2267 struct smc_clc_v2_extension *smc_v2_ext; in smc_find_rdma_v2_device_serv() local
2274 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_rdma_v2_device_serv()
2275 if (!smc_clc_match_eid(ini->negotiated_eid, smc_v2_ext, NULL, NULL)) in smc_find_rdma_v2_device_serv()
2280 memcpy(ini->peer_gid, smc_v2_ext->roce, SMC_GID_SIZE); in smc_find_rdma_v2_device_serv()
2285 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(smc_v2_ext->roce); in smc_find_rdma_v2_device_serv()