Lines Matching defs:p_mad_addr
85 OUT osm_mad_addr_t * p_mad_addr)
87 p_mad_addr->dest_lid = cl_hton16(p_mad->slid);
88 p_mad_addr->static_rate = 0; /* HACK - we do not know the rate ! */
89 p_mad_addr->path_bits = 0; /* HACK - no way to know in TS */
92 p_mad_addr->addr_type.smi.source_lid = cl_hton16(p_mad->slid);
93 p_mad_addr->addr_type.smi.port_num = p_mad->port;
96 p_mad_addr->addr_type.gsi.remote_qp = p_mad->sqpn;
97 p_mad_addr->addr_type.gsi.remote_qkey = IB_QP1_WELL_KNOWN_Q_KEY;
98 p_mad_addr->addr_type.gsi.pkey_ix = p_mad->pkey_index;
99 p_mad_addr->addr_type.gsi.service_level = 0; /* HACK no way to know */
101 p_mad_addr->addr_type.gsi.global_route = FALSE; /* HACK no way to know */
104 if (p_mad_addr->addr_type.gsi.global_route)
106 p_mad_addr->addr_type.gsi.grh_info.ver_class_flow =
110 p_mad_addr->addr_type.gsi.grh_info.hop_limit = p_rcv_desc->grh.hop_limit;
111 memcpy(&p_mad_addr->addr_type.gsi.grh_info.src_gid.raw,
113 memcpy(&p_mad_addr->addr_type.gsi.grh_info.dest_gid.raw,
124 __osm_ts_conv_osm_addr_to_ts_addr(IN osm_mad_addr_t * p_mad_addr,
129 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
136 p_mad->dqpn = p_mad_addr->addr_type.gsi.remote_qp;
270 IN osm_mad_addr_t * p_mad_addr,
312 mad_size, p_mad_addr);
729 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw);
747 __osm_ts_conv_osm_addr_to_ts_addr(p_mad_addr,