Lines Matching refs:slid
135 __be16 slid; member
153 __be32 slid; member
222 (be32_to_cpu(opa->opa.slid) >= in path_conv_opa_to_ib()
230 = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); in path_conv_opa_to_ib()
235 ib->ib.slid = 0; in path_conv_opa_to_ib()
238 ib->ib.slid = htons(ntohl(opa->opa.slid)); in path_conv_opa_to_ib()
247 __be32 slid, dlid; in path_conv_ib_to_opa() local
251 slid = htonl(opa_get_lid_from_gid(&ib->sgid)); in path_conv_ib_to_opa()
254 slid = htonl(ntohs(ib->ib.slid)); in path_conv_ib_to_opa()
257 opa->opa.slid = slid; in path_conv_ib_to_opa()
538 static inline void sa_path_set_slid(struct sa_path_rec *rec, u32 slid) in sa_path_set_slid() argument
541 rec->ib.slid = cpu_to_be16(slid); in sa_path_set_slid()
543 rec->opa.slid = cpu_to_be32(slid); in sa_path_set_slid()
566 return htonl(ntohs(rec->ib.slid)); in sa_path_get_slid()
568 return rec->opa.slid; in sa_path_get_slid()