Lines Matching refs:smcrv2
231 struct smc_init_info_smcrv2 *smcrv2) in smc_ib_determine_gid_rcu() argument
233 if (!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) { in smc_ib_determine_gid_rcu()
240 if (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_determine_gid_rcu()
250 if (!inet_ifa_match(smcrv2->saddr, ifa)) in smc_ib_determine_gid_rcu()
257 if (smcrv2->daddr && smc_ib_find_route(net, smcrv2->saddr, in smc_ib_determine_gid_rcu()
258 smcrv2->daddr, in smc_ib_determine_gid_rcu()
259 smcrv2->nexthop_mac, in smc_ib_determine_gid_rcu()
260 &smcrv2->uses_gateway)) in smc_ib_determine_gid_rcu()
276 struct smc_init_info_smcrv2 *smcrv2) in smc_ib_determine_gid() argument
294 sgid_index, smcrv2)) { in smc_ib_determine_gid()
307 static bool smc_ib_check_link_gid(u8 gid[SMC_GID_SIZE], bool smcrv2, in smc_ib_check_link_gid() argument
320 if ((!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) || in smc_ib_check_link_gid()
321 (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP && in smc_ib_check_link_gid()