sa_path_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[];
struct sa_path_rec *path)
struct sa_path_rec *path,
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;
struct sa_path_rec *path_rec)
struct sa_path_rec *path_rec)
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;
int roce_resolve_route_from_path(struct sa_path_rec *rec,
struct sa_path_rec *rec,
struct sa_path_rec *rec,
void (*callback)(int status, struct sa_path_rec *rec,
struct sa_path_rec *conv_pr;
void ib_sa_unpack_path(void *attribute, struct sa_path_rec *rec)
void ib_sa_pack_path(struct sa_path_rec *rec, void *attribute)
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,
.struct_offset_bytes = offsetof(struct sa_path_rec, field), \
.struct_size_bytes = sizeof_field(struct sa_path_rec, field), \
offsetof(struct sa_path_rec, field), \
sizeof_field(struct sa_path_rec, field), \
struct sa_path_rec *sa_rec = query->mad_buf->context[1];
struct sa_path_rec recs[RDMA_PRIMARY_PATH_MAX_REC_NUM];
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;
struct sa_path_rec pathrec;
struct sa_path_rec *pathrec)
struct sa_path_rec *pathrec)
struct sa_path_rec pathrec;
struct sa_path_rec *pathrec,
struct sa_path_rec *pathrec,
struct sa_path_rec path;
struct sa_path_rec *path_rec = cm_id->route.path_rec;
struct sa_path_rec *alternate_path;
struct sa_path_rec *primary_path;
struct sa_path_rec *primary_path_inbound;
struct sa_path_rec *primary_path_outbound;
struct sa_path_rec *alternate_path;
struct sa_path_rec *path;
struct sa_path_rec *primary_path;
struct sa_path_rec *alternate_path;
struct sa_path_rec *src);
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)
u32 port_num, struct sa_path_rec *rec,
void (*callback)(int status, 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, u32 slid)
static inline void sa_path_set_dlid(struct sa_path_rec *rec, u32 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_inbound;
struct sa_path_rec *path_rec_outbound;
struct sa_path_rec *path_rec);