• Home
  • Raw
  • Download

Lines Matching refs:gid

94 		const union ib_gid *gid, const struct sockaddr *addr,
401 const union ib_gid *gid, in ipoib_match_gid_pkey_addr() argument
412 (!gid || !memcmp(gid, &priv->local_gid, sizeof(*gid)))) { in ipoib_match_gid_pkey_addr()
432 matches += ipoib_match_gid_pkey_addr(child_priv, gid, in ipoib_match_gid_pkey_addr()
449 const union ib_gid *gid, in __ipoib_get_net_dev_by_params() argument
462 matches += ipoib_match_gid_pkey_addr(priv, gid, pkey_index, in __ipoib_get_net_dev_by_params()
473 const union ib_gid *gid, const struct sockaddr *addr, in ipoib_get_net_dev_by_params() argument
491 gid, NULL, &net_dev); in ipoib_get_net_dev_by_params()
505 gid, addr, &net_dev); in ipoib_get_net_dev_by_params()
557 struct ipoib_path *__path_find(struct net_device *dev, void *gid) in __path_find() argument
567 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
862 void *gid) in init_path_rec() argument
871 memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid)); in init_path_rec()
878 static struct ipoib_path *path_rec_create(struct net_device *dev, void *gid) in path_rec_create() argument
894 init_path_rec(priv, path, gid); in path_rec_create()
1562 void ipoib_del_neighs_by_gid(struct net_device *dev, u8 *gid) in ipoib_del_neighs_by_gid() argument
1586 if (!memcmp(gid, neigh->daddr + 4, sizeof (union ib_gid))) { in ipoib_del_neighs_by_gid()
2331 static void set_base_guid(struct ipoib_dev_priv *priv, union ib_gid *gid) in set_base_guid() argument
2339 &gid->global.interface_id, in set_base_guid()
2340 sizeof(gid->global.interface_id)); in set_base_guid()
2349 set_base_guid(child_priv, gid); in set_base_guid()
2357 union ib_gid *gid = (union ib_gid *)(ss->__data + 4); in ipoib_check_lladdr() local
2366 4 + sizeof(gid->global.subnet_prefix)) || in ipoib_check_lladdr()
2367 gid->global.interface_id == 0) in ipoib_check_lladdr()