Lines Matching refs:pathrec
563 ret = memcmp(gid, path->pathrec.dgid.raw, in __path_find()
589 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
617 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_free()
636 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init()
660 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next()
692 be32_to_cpu(sa_path_get_dlid(&path->pathrec)), in ipoib_mark_paths_invalid()
693 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid()
740 struct sa_path_rec *pathrec, in path_rec_completion() argument
755 be32_to_cpu(sa_path_get_dlid(pathrec)), in path_rec_completion()
756 pathrec->dgid.raw); in path_rec_completion()
759 status, path->pathrec.dgid.raw); in path_rec_completion()
767 pathrec, &av, NULL)) { in path_rec_completion()
781 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
786 dev->name, pathrec->dgid.raw, in path_rec_completion()
787 path->pathrec.dgid.raw); in path_rec_completion()
788 memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
792 path->pathrec = *pathrec; in path_rec_completion()
798 ah, be32_to_cpu(sa_path_get_dlid(pathrec)), in path_rec_completion()
799 pathrec->sl); in path_rec_completion()
842 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_rec_completion()
863 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA; in init_path_rec()
865 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB; in init_path_rec()
867 memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid)); in init_path_rec()
868 path->pathrec.sgid = priv->local_gid; in init_path_rec()
869 path->pathrec.pkey = cpu_to_be16(priv->pkey); in init_path_rec()
870 path->pathrec.numb_path = 1; in init_path_rec()
871 path->pathrec.traffic_class = priv->broadcast->mcmember.traffic_class; in init_path_rec()
901 path->pathrec.dgid.raw); in path_rec_start()
907 &path->pathrec, in path_rec_start()
1080 be32_to_cpu(sa_path_get_dlid(&path->pathrec))); in unicast_arp_send()