Lines Matching refs:pathrec

564 		ret = memcmp(gid, path->pathrec.dgid.raw,  in __path_find()
590 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, in __path_add()
618 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_free()
637 memset(iter->path.pathrec.dgid.raw, 0, 16); in ipoib_path_iter_init()
661 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, in ipoib_path_iter_next()
693 be32_to_cpu(sa_path_get_dlid(&path->pathrec)), in ipoib_mark_paths_invalid()
694 path->pathrec.dgid.raw); in ipoib_mark_paths_invalid()
741 struct sa_path_rec *pathrec, in path_rec_completion() argument
756 be32_to_cpu(sa_path_get_dlid(pathrec)), in path_rec_completion()
757 pathrec->dgid.raw); in path_rec_completion()
760 status, path->pathrec.dgid.raw); in path_rec_completion()
768 pathrec, &av, NULL)) { in path_rec_completion()
782 if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
787 dev->name, pathrec->dgid.raw, in path_rec_completion()
788 path->pathrec.dgid.raw); in path_rec_completion()
789 memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw, in path_rec_completion()
793 path->pathrec = *pathrec; in path_rec_completion()
799 ah, be32_to_cpu(sa_path_get_dlid(pathrec)), in path_rec_completion()
800 pathrec->sl); in path_rec_completion()
843 ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); in path_rec_completion()
864 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA; in init_path_rec()
866 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB; in init_path_rec()
868 memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid)); in init_path_rec()
869 path->pathrec.sgid = priv->local_gid; in init_path_rec()
870 path->pathrec.pkey = cpu_to_be16(priv->pkey); in init_path_rec()
871 path->pathrec.numb_path = 1; in init_path_rec()
872 path->pathrec.traffic_class = priv->broadcast->mcmember.traffic_class; in init_path_rec()
902 path->pathrec.dgid.raw); in path_rec_start()
908 &path->pathrec, in path_rec_start()
1081 be32_to_cpu(sa_path_get_dlid(&path->pathrec))); in unicast_arp_send()