Home
last modified time | relevance | path

Searched refs:smc_v2_ext (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/smc/
Dsmc_clc.c307 struct smc_clc_v2_extension *smc_v2_ext, in smc_clc_match_eid() argument
317 smc_v2_ext->hdr.flag.seid && in smc_clc_match_eid()
324 for (i = 0; i < smc_v2_ext->hdr.eid_cnt; i++) { in smc_clc_match_eid()
325 if (_smc_clc_match_ueid(smc_v2_ext->user_eids[i])) { in smc_clc_match_eid()
326 memcpy(negotiated_eid, smc_v2_ext->user_eids[i], in smc_clc_match_eid()
Daf_smc.c2136 struct smc_clc_v2_extension *smc_v2_ext; in smc_find_ism_v2_device_serv() local
2147 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_ism_v2_device_serv()
2148 smcd_v2_ext = smc_get_clc_smcd_v2_ext(smc_v2_ext); in smc_find_ism_v2_device_serv()
2155 for (i = 1; i <= smc_v2_ext->hdr.ism_gid_cnt; i++) { in smc_find_ism_v2_device_serv()
2172 if (!smc_clc_match_eid(ini->negotiated_eid, smc_v2_ext, in smc_find_ism_v2_device_serv()
2250 struct smc_clc_v2_extension *smc_v2_ext; in smc_find_rdma_v2_device_serv() local
2257 smc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_find_rdma_v2_device_serv()
2258 if (!smc_clc_match_eid(ini->negotiated_eid, smc_v2_ext, NULL, NULL)) in smc_find_rdma_v2_device_serv()
2263 memcpy(ini->peer_gid, smc_v2_ext->roce, SMC_GID_SIZE); in smc_find_rdma_v2_device_serv()
2268 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(smc_v2_ext->roce); in smc_find_rdma_v2_device_serv()
Dsmc_clc.h435 struct smc_clc_v2_extension *smc_v2_ext,