• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ofed/opensm/libvendor/

Lines Matching defs:p_mad_addr

90 					  OUT osm_mad_addr_t * p_mad_addr)
92 /* p_mad_addr->dest_lid = p_osm->subn.sm_base_lid; - for resp we use the dest lid ... */
93 p_mad_addr->dest_lid = cl_hton16(p_rcv_desc->remote_lid);
94 p_mad_addr->static_rate = 0; /* HACK - we do not know the rate ! */
95 p_mad_addr->path_bits = p_rcv_desc->local_path_bits;
98 p_mad_addr->addr_type.smi.source_lid =
100 p_mad_addr->addr_type.smi.port_num = 99; /* HACK - if used - should fail */
105 p_mad_addr->addr_type.gsi.remote_qp = cl_hton32(p_rcv_desc->qp);
107 p_mad_addr->addr_type.gsi.remote_qkey = IB_QP1_WELL_KNOWN_Q_KEY;
108 /* we do have the p_mad_addr->pkey_ix but how to get the PKey by index ? */
114 p_mad_addr->addr_type.gsi.pkey_ix = 0;
115 p_mad_addr->addr_type.gsi.service_level = p_rcv_desc->sl;
117 p_mad_addr->addr_type.gsi.global_route = p_rcv_desc->grh_flag;
119 if (p_mad_addr->addr_type.gsi.global_route) {
120 p_mad_addr->addr_type.gsi.grh_info.ver_class_flow =
127 p_mad_addr->addr_type.gsi.grh_info.hop_limit =
129 memcpy(&p_mad_addr->addr_type.gsi.grh_info.src_gid.raw,
131 memcpy(&p_mad_addr->addr_type.gsi.grh_info.dest_gid.raw,
141 __osm_mtl_conv_osm_addr_to_ibmgt_addr(IN osm_mad_addr_t * p_mad_addr,
150 p_av->src_path_bits = p_mad_addr->path_bits;
151 p_av->static_rate = p_mad_addr->static_rate;
152 p_av->dlid = cl_ntoh16(p_mad_addr->dest_lid);
157 p_av->sl = p_mad_addr->addr_type.gsi.service_level;
158 p_av->grh_flag = p_mad_addr->addr_type.gsi.global_route;
160 if (p_mad_addr->addr_type.gsi.global_route) {
161 ib_grh_get_ver_class_flow(p_mad_addr->addr_type.gsi.
166 p_mad_addr->addr_type.gsi.grh_info.hop_limit;
169 &p_mad_addr->addr_type.gsi.grh_info.dest_gid.raw,
899 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw);
914 __osm_mtl_conv_osm_addr_to_ibmgt_addr(p_mad_addr,
956 cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp)
962 qpn = cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp);