Lines Matching defs:gid
230 u8 gid[], u8 *sgid_index,
234 if (gid)
235 memcpy(gid, &attr->gid, SMC_GID_SIZE);
241 smc_ib_gid_to_ipv4((u8 *)&attr->gid) != cpu_to_be32(INADDR_NONE)) {
263 if (gid)
264 memcpy(gid, &attr->gid, SMC_GID_SIZE);
273 /* determine the gid for an ib-device port and vlan id */
275 unsigned short vlan_id, u8 gid[], u8 *sgid_index,
293 if (!smc_ib_determine_gid_rcu(ndev, attr, gid,
306 /* check if gid is still defined on smcibdev */
307 static bool smc_ib_check_link_gid(u8 gid[SMC_GID_SIZE], bool smcrv2,
322 !(ipv6_addr_type((const struct in6_addr *)&attr->gid)
324 if (!memcmp(gid, &attr->gid, SMC_GID_SIZE))
332 /* check all links if the gid is still defined on smcibdev */
349 if (!smc_ib_check_link_gid(lgr->lnk[i].gid,