Lines Matching refs:sa_path_rec
163 struct sa_path_rec { struct
192 sa_conv_pathrec_to_gid_type(struct sa_path_rec *rec) in sa_conv_pathrec_to_gid_type() argument
217 static inline void path_conv_opa_to_ib(struct sa_path_rec *ib, in path_conv_opa_to_ib()
218 struct sa_path_rec *opa) in path_conv_opa_to_ib()
244 static inline void path_conv_ib_to_opa(struct sa_path_rec *opa, in path_conv_ib_to_opa()
245 struct sa_path_rec *ib) in path_conv_ib_to_opa()
264 static inline void sa_convert_path_opa_to_ib(struct sa_path_rec *dest, in sa_convert_path_opa_to_ib()
265 struct sa_path_rec *src) in sa_convert_path_opa_to_ib()
276 static inline void sa_convert_path_ib_to_opa(struct sa_path_rec *dest, in sa_convert_path_ib_to_opa()
277 struct sa_path_rec *src) in sa_convert_path_ib_to_opa()
412 u32 port_num, struct sa_path_rec *rec,
415 void (*callback)(int status, struct sa_path_rec *resp,
500 struct sa_path_rec *rec,
508 void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute);
514 void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec);
527 static inline bool sa_path_is_roce(struct sa_path_rec *rec) in sa_path_is_roce()
533 static inline bool sa_path_is_opa(struct sa_path_rec *rec) in sa_path_is_opa()
538 static inline void sa_path_set_slid(struct sa_path_rec *rec, u32 slid) in sa_path_set_slid()
546 static inline void sa_path_set_dlid(struct sa_path_rec *rec, u32 dlid) in sa_path_set_dlid()
554 static inline void sa_path_set_raw_traffic(struct sa_path_rec *rec, in sa_path_set_raw_traffic()
563 static inline __be32 sa_path_get_slid(struct sa_path_rec *rec) in sa_path_get_slid()
572 static inline __be32 sa_path_get_dlid(struct sa_path_rec *rec) in sa_path_get_dlid()
581 static inline u8 sa_path_get_raw_traffic(struct sa_path_rec *rec) in sa_path_get_raw_traffic()
590 static inline void sa_path_set_dmac(struct sa_path_rec *rec, u8 *dmac) in sa_path_set_dmac()
596 static inline void sa_path_set_dmac_zero(struct sa_path_rec *rec) in sa_path_set_dmac_zero()
602 static inline u8 *sa_path_get_dmac(struct sa_path_rec *rec) in sa_path_get_dmac()