sa_path_rec
struct sa_path_rec;
int roce_resolve_route_from_path(struct sa_path_rec *rec,
int roce_resolve_route_from_path(struct sa_path_rec *rec,
struct sa_path_rec *pri_path = param->primary_path;
struct sa_path_rec *alt_path = param->alternate_path;
struct sa_path_rec *path, union ib_gid *gid)
struct sa_path_rec *primary_path,
struct sa_path_rec *alt_path)
struct sa_path_rec *primary_path,
struct sa_path_rec *alt_path)
struct sa_path_rec *path)
struct sa_path_rec path[0];
struct sa_path_rec *alternate_path,
struct sa_path_rec *alternate_path,
struct sa_path_rec *path)
struct sa_path_rec *path,
work = kmalloc(sizeof(*work) + sizeof(struct sa_path_rec) * paths,
get_cm_port_from_path(struct sa_path_rec *path, const struct ib_gid_attr *attr)
static int cm_init_av_by_path(struct sa_path_rec *path,
const struct sa_path_rec *path)
struct sa_path_rec *path = ib_event->param.req_rcvd.primary_path;
static void cma_query_handler(int status, struct sa_path_rec *path_rec,
struct sa_path_rec path_rec;
struct sa_path_rec *path_rec)
struct sa_path_rec *rec)
struct sa_path_rec rec;
struct sa_path_rec opa;
memset(&opa, 0, sizeof(struct sa_path_rec));
struct sa_path_rec *rec,
struct sa_path_rec *resp,
void (*callback)(int, struct sa_path_rec *, void *);
struct sa_path_rec *conv_pr;
.struct_offset_bytes = offsetof(struct sa_path_rec, field), \
.struct_size_bytes = sizeof((struct sa_path_rec *)0)->field, \
offsetof(struct sa_path_rec, field), \
sizeof((struct sa_path_rec *)0)->field, \
struct sa_path_rec *rec,
struct sa_path_rec *rec,
void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec)
void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute)
static int ib_ucm_path_get(struct sa_path_rec **path, u64 src)
struct sa_path_rec *sa_path;
struct sa_path_rec *path = NULL;
struct sa_path_rec sa_path;
struct sa_path_rec opa;
struct sa_path_rec *rec = &ctx->cm_id->route.path_rec[i];
struct sa_path_rec ib;
struct sa_path_rec *src)
struct sa_path_rec *src)
struct sa_path_rec rec;
void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
struct sa_path_rec pathrec;
struct sa_path_rec *pathrec)
struct sa_path_rec pathrec;
struct sa_path_rec *pathrec)
path_rec_completion(int status, struct sa_path_rec *pathrec, void *path_ptr)
struct sa_path_rec p_rec;
struct sa_path_rec *primary_path;
struct sa_path_rec *alternate_path;
struct sa_path_rec *alternate_path;
struct sa_path_rec *primary_path;
struct sa_path_rec *alternate_path;
struct sa_path_rec *alternate_path,
struct sa_path_rec *path;
struct sa_path_rec *src);
void ib_copy_path_rec_from_user(struct sa_path_rec *dst,
sa_conv_pathrec_to_gid_type(struct sa_path_rec *rec)
static inline void path_conv_opa_to_ib(struct sa_path_rec *ib,
struct sa_path_rec *opa)
static inline void path_conv_ib_to_opa(struct sa_path_rec *opa,
struct sa_path_rec *ib)
static inline void sa_convert_path_opa_to_ib(struct sa_path_rec *dest,
struct sa_path_rec *src)
static inline void sa_convert_path_ib_to_opa(struct sa_path_rec *dest,
struct sa_path_rec *src)
struct sa_path_rec *rec,
struct sa_path_rec *resp,
struct sa_path_rec *rec,
void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute);
void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec);
static inline bool sa_path_is_roce(struct sa_path_rec *rec)
static inline bool sa_path_is_opa(struct sa_path_rec *rec)
static inline void sa_path_set_slid(struct sa_path_rec *rec, __be32 slid)
static inline void sa_path_set_dlid(struct sa_path_rec *rec, __be32 dlid)
static inline void sa_path_set_raw_traffic(struct sa_path_rec *rec,
static inline __be32 sa_path_get_slid(struct sa_path_rec *rec)
static inline __be32 sa_path_get_dlid(struct sa_path_rec *rec)
static inline u8 sa_path_get_raw_traffic(struct sa_path_rec *rec)
static inline void sa_path_set_dmac(struct sa_path_rec *rec, u8 *dmac)
static inline void sa_path_set_dmac_zero(struct sa_path_rec *rec)
static inline u8 *sa_path_get_dmac(struct sa_path_rec *rec)
struct sa_path_rec *path_rec;
struct sa_path_rec *path_rec);