Lines Matching refs:smcrv2
226 struct smc_init_info_smcrv2 *smcrv2)
228 if (!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) {
235 if (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP &&
245 if (!inet_ifa_match(smcrv2->saddr, ifa))
252 if (smcrv2->daddr && smc_ib_find_route(net, smcrv2->saddr,
253 smcrv2->daddr,
254 smcrv2->nexthop_mac,
255 &smcrv2->uses_gateway))
271 struct smc_init_info_smcrv2 *smcrv2)
289 sgid_index, smcrv2)) {
302 static bool smc_ib_check_link_gid(u8 gid[SMC_GID_SIZE], bool smcrv2,
315 if ((!smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE) ||
316 (smcrv2 && attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP &&