Searched refs:p_mad_addr (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_mlx_dispatcher.h62 * p_mad_addr The MAD originator's address
67 IN const osm_mad_addr_t * p_mad_addr);
H A Dosm_vendor_mlx_transport.h83 IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr);
H A Dosm_vendor_mlx_sender.h95 IN uint32_t nwl, IN const osm_mad_addr_t * p_mad_addr);
106 IN const osm_mad_addr_t * p_mad_addr,
/freebsd-11-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_ts_anafa.c68 OUT osm_mad_addr_t * p_mad_addr);
72 p_mad_addr, IN uint8_t is_smi,
264 IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr)
292 __osmv_TOPSPIN_ANAFA_osm_addr_to_mad_addr(p_mad_addr,
357 __osmv_TOPSPIN_ANAFA_osm_addr_to_mad_addr(IN const osm_mad_addr_t * p_mad_addr, argument
363 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
364 p_mad->sl = p_mad_addr->addr_type.gsi.service_level;
370 p_mad->dqpn = p_mad_addr->addr_type.gsi.remote_qp;
383 OUT osm_mad_addr_t * p_mad_addr)
385 p_mad_addr
263 osmv_transport_mad_send(IN const osm_bind_handle_t h_bind, IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr) argument
380 __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, IN struct ib_mad *p_mad, IN uint8_t is_smi, OUT osm_mad_addr_t * p_mad_addr) argument
[all...]
H A Dosm_vendor_mlx_ibmgt.c76 OUT osm_mad_addr_t * p_mad_addr);
79 __osmv_IBMGT_osm_addr_to_ibmgt_addr(IN const osm_mad_addr_t * p_mad_addr,
366 IN void *p_ib_mad, IN const osm_mad_addr_t * p_mad_addr)
387 __osmv_IBMGT_osm_addr_to_ibmgt_addr(p_mad_addr,
424 cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp)
432 cl_ntoh32(p_mad_addr->addr_type.gsi.
695 OUT osm_mad_addr_t * p_mad_addr)
697 /* p_mad_addr->dest_lid = p_osm->subn.sm_base_lid; - for resp we use the dest lid ... */
698 p_mad_addr->dest_lid = cl_hton16(p_rcv_desc->remote_lid);
699 p_mad_addr
365 osmv_transport_mad_send(IN const osm_bind_handle_t h_bind, IN void *p_ib_mad, IN const osm_mad_addr_t * p_mad_addr) argument
693 __osmv_IBMGT_rcv_desc_to_osm_addr(IN IB_MGT_mad_rcv_desc_t * p_rcv_desc, IN uint8_t is_smi, OUT osm_mad_addr_t * p_mad_addr) argument
750 __osmv_IBMGT_osm_addr_to_ibmgt_addr(IN const osm_mad_addr_t * p_mad_addr, IN uint8_t is_smi, OUT IB_ud_av_t * p_av) argument
[all...]
H A Dosm_vendor_mlx_ts.c72 OUT osm_mad_addr_t * p_mad_addr);
75 __osmv_TOPSPIN_osm_addr_to_mad_addr(IN const osm_mad_addr_t * p_mad_addr,
277 IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr)
307 __osmv_TOPSPIN_osm_addr_to_mad_addr(p_mad_addr,
408 __osmv_TOPSPIN_osm_addr_to_mad_addr(IN const osm_mad_addr_t * p_mad_addr, argument
413 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
414 p_mad->sl = p_mad_addr->addr_type.gsi.service_level;
420 p_mad->dqpn = cl_ntoh32(p_mad_addr->addr_type.gsi.remote_qp);
433 OUT osm_mad_addr_t * p_mad_addr)
435 p_mad_addr
276 osmv_transport_mad_send(IN const osm_bind_handle_t h_bind, IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr) argument
430 __osmv_TOPSPIN_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, IN struct ib_mad *p_mad, IN uint8_t is_smi, OUT osm_mad_addr_t * p_mad_addr) argument
[all...]
H A Dosm_vendor_mlx_dispatcher.c68 IN const osm_mad_addr_t * p_mad_addr);
74 IN const osm_mad_addr_t * p_mad_addr);
80 IN const osm_mad_addr_t * p_mad_addr);
86 IN const osm_mad_addr_t * p_mad_addr);
96 IN const osm_mad_addr_t * p_mad_addr);
112 * p_mad_addr The MAD originator's address
118 IN const osm_mad_addr_t * p_mad_addr)
128 CL_ASSERT(NULL != h_bind && NULL != p_mad && NULL != p_mad_addr);
166 __osmv_dispatch_simple_mad(h_bind, p_mad, p_txn, p_mad_addr);
170 __osmv_dispatch_rmpp_mad(h_bind, p_mad, p_txn, p_mad_addr);
116 osmv_dispatch_mad(IN osm_bind_handle_t h_bind, IN const void *p_mad_buf, IN const osm_mad_addr_t * p_mad_addr) argument
236 __osmv_dispatch_simple_mad(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_mad, IN osmv_txn_ctx_t * p_txn, IN const osm_mad_addr_t * p_mad_addr) argument
298 __osmv_dispatch_rmpp_mad(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_mad, IN osmv_txn_ctx_t * p_txn, IN const osm_mad_addr_t * p_mad_addr) argument
387 __osmv_dispatch_rmpp_snd(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_mad, IN osmv_txn_ctx_t * p_txn, IN const osm_mad_addr_t * p_mad_addr) argument
484 __osmv_dispatch_rmpp_rcv(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_mad, IN osmv_txn_ctx_t * p_txn, IN const osm_mad_addr_t * p_mad_addr) argument
692 __osmv_dispatch_send_ack(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_req_mad, IN osmv_txn_ctx_t * p_txn, IN const osm_mad_addr_t * p_mad_addr) argument
[all...]
H A Dosm_vendor_mlx_sender.c69 osm_mad_addr_t *p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw); local
104 osmv_transport_mad_send(h_bind, p_mad, p_mad_addr);
107 ret = osmv_transport_mad_send(h_bind, p_mad, p_mad_addr);
251 IN uint32_t nwl, IN const osm_mad_addr_t * p_mad_addr)
273 return osmv_transport_mad_send(h_bind, p_resp_mad, p_mad_addr);
285 IN const osm_mad_addr_t * p_mad_addr,
297 return osmv_transport_mad_send(h_bind, p_resp_mad, p_mad_addr);
315 osm_mad_addr_t *p_mad_addr = local
366 p_mad_addr);
371 p_mad, p_mad_addr);
248 osmv_rmpp_send_ack(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_req_mad, IN uint32_t seg_num, IN uint32_t nwl, IN const osm_mad_addr_t * p_mad_addr) argument
283 osmv_rmpp_send_nak(IN osm_bind_handle_t h_bind, IN const ib_mad_t * p_req_mad, IN const osm_mad_addr_t * p_mad_addr, IN uint8_t nak_type, IN uint8_t status) argument
[all...]
H A Dosm_vendor_mtl.c90 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
87 __osm_mtl_conv_ibmgt_rcv_desc_to_osm_addr(IN osm_vendor_t * const p_vend, IN IB_MGT_mad_rcv_desc_t * p_rcv_desc, IN uint8_t is_smi, OUT osm_mad_addr_t * p_mad_addr) argument
141 __osm_mtl_conv_osm_addr_to_ibmgt_addr(IN osm_mad_addr_t * p_mad_addr, IN uint8_t is_smi, OUT IB_ud_av_t * p_av) argument
899 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw); local
[all...]
H A Dosm_vendor_ts.c85 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
82 __osm_ts_conv_mad_rcv_desc_to_osm_addr(IN osm_vendor_t * const p_vend, IN struct ib_mad *p_mad, IN uint8_t is_smi, OUT osm_mad_addr_t * p_mad_addr) argument
124 __osm_ts_conv_osm_addr_to_ts_addr(IN osm_mad_addr_t * p_mad_addr, IN uint8_t is_smi, OUT struct ib_mad *p_mad) argument
269 __osm_ts_rcv_callback(IN osm_ts_bind_info_t * p_bind, IN osm_mad_addr_t * p_mad_addr, IN uint32_t mad_size, IN void *p_mad) argument
729 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw); local
[all...]
H A Dosm_vendor_umadt.c495 IN osm_mad_addr_t * const p_mad_addr,
525 CL_ASSERT(p_mad_addr);
532 destAddr.DestLid = p_mad_addr->dest_lid;
533 destAddr.PathBits = p_mad_addr->path_bits;
534 destAddr.StaticRate = p_mad_addr->static_rate;
538 CL_ASSERT(p_mad_addr->addr_type.smi.source_lid);
540 p_mad_addr->addr_type.smi.source_lid;
543 p_mad_addr->addr_type.gsi.remote_qp;
545 p_mad_addr->addr_type.gsi.remote_qkey;
548 p_mad_addr
493 osm_vendor_send(IN osm_bind_handle_t h_bind, IN osm_vend_wrap_t * const p_vend_wrap, IN osm_mad_addr_t * const p_mad_addr, IN ib_mad_t * const p_mad, IN void *transaction_context, IN boolean_t const resp_expected) argument
[all...]
H A Dosm_vendor_al.c1067 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw); local
1106 av.dlid = p_mad_addr->dest_lid;
1107 av.static_rate = p_mad_addr->static_rate;
1108 av.path_bits = p_mad_addr->path_bits;
1112 av.sl = p_mad_addr->addr_type.gsi.service_level;
1114 if (p_mad_addr->addr_type.gsi.global_route) {
1117 /* av.grh = p_mad_addr->addr_type.gsi.grh_info; */
1175 p_elem->remote_qp = p_mad_addr->addr_type.gsi.remote_qp;
1176 p_elem->remote_qkey = p_mad_addr->addr_type.gsi.remote_qkey;
H A Dosm_vendor_test.c168 IN osm_mad_addr_t * const p_mad_addr,
177 UNUSED_PARAM(p_mad_addr);
166 osm_vendor_send(IN osm_bind_handle_t h_bind, IN osm_vend_wrap_t * const p_vend_wrap, IN osm_mad_addr_t * const p_mad_addr, IN ib_mad_t * const p_mad, IN void *transaction_context, IN boolean_t const resp_expected) argument
H A Dosm_vendor_ibumad.c1111 osm_mad_addr_t *const p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw); local
1134 umad_set_addr_net(p_vw->umad, p_mad_addr->dest_lid, 0, 0, 0);
1139 umad_set_addr_net(p_vw->umad, p_mad_addr->dest_lid,
1140 p_mad_addr->addr_type.gsi.remote_qp,
1141 p_mad_addr->addr_type.gsi.service_level,
1143 if (p_mad_addr->addr_type.gsi.global_route) {
1146 mad_addr.hop_limit = p_mad_addr->addr_type.gsi.grh_info.hop_limit;
1147 ib_grh_get_ver_class_flow(p_mad_addr->addr_type.gsi.grh_info.ver_class_flow,
1150 memcpy(&mad_addr.gid, &p_mad_addr->addr_type.gsi.grh_info.dest_gid, 16);
1154 umad_set_pkey(p_vw->umad, p_mad_addr
[all...]
H A Dosm_vendor_mlx_sim.c244 IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr)
274 __osmv_ibms_osm_addr_to_mad_addr(p_mad_addr,
243 osmv_transport_mad_send(IN const osm_bind_handle_t h_bind, IN void *p_mad, IN const osm_mad_addr_t * p_mad_addr) argument
H A Dosm_vendor_mlx_txn.c537 osm_mad_addr_t *p_mad_addr; local
636 p_mad_addr = osm_madw_get_mad_addr_ptr(p_madw);
640 p_mad_addr, IB_RMPP_TYPE_ABORT,
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_mad_pool.c77 IN const osm_mad_addr_t * p_mad_addr)
92 osm_madw_init(p_madw, h_bind, total_size, p_mad_addr);
119 IN const osm_mad_addr_t * p_mad_addr)
138 osm_madw_init(p_madw, h_bind, total_size, p_mad_addr);
74 osm_mad_pool_get(IN osm_mad_pool_t * p_pool, IN osm_bind_handle_t h_bind, IN uint32_t total_size, IN const osm_mad_addr_t * p_mad_addr) argument
115 osm_mad_pool_get_wrapper(IN osm_mad_pool_t * p_pool, IN osm_bind_handle_t h_bind, IN uint32_t total_size, IN const ib_mad_t * p_mad, IN const osm_mad_addr_t * p_mad_addr) argument
H A Dosm_sa_mcmember_record.c383 IN osm_mad_addr_t * p_mad_addr,
408 res = osm_get_gid_by_mad_addr(sa->p_log, sa->p_subn, p_mad_addr,
440 p_mad_addr);
478 IN osm_mad_addr_t * p_mad_addr,
518 if (validate_modify(sa, p_mgrp, p_mad_addr, p_recvd_mcmember_rec,
382 validate_modify(IN osm_sa_t * sa, IN osm_mgrp_t * p_mgrp, IN osm_mad_addr_t * p_mad_addr, IN ib_member_rec_t * p_recvd_mcmember_rec, OUT osm_mcm_alias_guid_t ** pp_mcm_alias_guid) argument
477 validate_delete(IN osm_sa_t * sa, IN osm_mgrp_t * p_mgrp, IN osm_mad_addr_t * p_mad_addr, IN ib_member_rec_t * p_recvd_mcmember_rec, OUT osm_mcm_alias_guid_t ** pp_mcm_alias_guid) argument
H A Dosm_subnet.c1329 IN osm_mad_addr_t * p_mad_addr)
1331 osm_port_t *port = osm_get_port_by_lid(p_subn, p_mad_addr->dest_lid);
1335 cl_ntoh16(p_mad_addr->dest_lid));
1342 IN osm_mad_addr_t * p_mad_addr,
1353 p_port = osm_get_port_by_mad_addr(p_log, p_subn, p_mad_addr);
1365 IN osm_mad_addr_t * p_mad_addr)
1369 p_port = osm_get_port_by_mad_addr(p_log, p_subn, p_mad_addr);
1327 osm_get_port_by_mad_addr(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, IN osm_mad_addr_t * p_mad_addr) argument
1340 osm_get_gid_by_mad_addr(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, IN osm_mad_addr_t * p_mad_addr, OUT ib_gid_t * p_gid) argument
1363 osm_get_physp_by_mad_addr(IN osm_log_t * p_log, IN const osm_subn_t * p_subn, IN osm_mad_addr_t * p_mad_addr) argument
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mad_pool.h197 IN const osm_mad_addr_t * p_mad_addr);
210 * p_mad_addr
272 IN const osm_mad_addr_t * p_mad_addr);
289 * p_mad_addr
H A Dosm_madw.h519 IN const osm_mad_addr_t * p_mad_addr)
525 if (p_mad_addr)
526 p_madw->mad_addr = *p_mad_addr;
538 * p_mad_addr
516 osm_madw_init(IN osm_madw_t * p_madw, IN osm_bind_handle_t h_bind, IN uint32_t mad_size, IN const osm_mad_addr_t * p_mad_addr) argument
H A Dosm_subnet.h1079 IN struct osm_mad_addr *p_mad_addr,
1089 * p_mad_addr
1118 *p_mad_addr);
1127 * p_mad_addr
1152 IN struct osm_mad_addr *p_mad_addr);
1161 * p_mad_addr
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibdiag_sa.c127 ib_mad_addr_t *p_mad_addr = umad_get_mad_addr(umad); local
128 p_mad_addr->grh_present = 1;
129 p_mad_addr->gid_index = 0;
130 p_mad_addr->hop_limit = 0;
131 p_mad_addr->traffic_class = 0;
132 memcpy(p_mad_addr->gid, h->dport.gid, 16);

Completed in 288 milliseconds