Home
last modified time | relevance | path

Searched refs:p_vend (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_ibumad.c82 osm_vendor_t *p_vend; member
97 osm_vendor_t *p_vend; member
101 static void osm_vendor_close_port(osm_vendor_t * const p_vend);
103 static void log_send_error(osm_vendor_t * const p_vend, osm_madw_t *p_madw) in log_send_error() argument
107 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5410: " in log_send_error()
121 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 5411: " in log_send_error()
128 osm_dump_smp_dr_path(p_vend->p_log, p_smp, OSM_LOG_ERROR); in log_send_error()
132 static void clear_madw(osm_vendor_t * p_vend) in clear_madw() argument
138 OSM_LOG_ENTER(p_vend->p_log); in clear_madw()
139 pthread_mutex_lock(&p_vend->match_tbl_mutex); in clear_madw()
[all …]
H A Dosm_vendor_al.c76 osm_vendor_t *p_vend; member
131 osm_vendor_t *p_vend = (osm_vendor_t *) p_async_rec->context; in __osm_al_ca_err_callback() local
132 OSM_LOG_ENTER(p_vend->p_log); in __osm_al_ca_err_callback()
134 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_al_ca_err_callback()
139 OSM_LOG_EXIT(p_vend->p_log); in __osm_al_ca_err_callback()
145 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_al_ca_destroy_callback() local
146 OSM_LOG_ENTER(p_vend->p_log); in __osm_al_ca_destroy_callback()
148 osm_log(p_vend->p_log, OSM_LOG_INFO, in __osm_al_ca_destroy_callback()
152 OSM_LOG_EXIT(p_vend->p_log); in __osm_al_ca_destroy_callback()
159 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_al_err_callback() local
[all …]
H A Dosm_vendor_test.c57 void osm_vendor_construct(IN osm_vendor_t * const p_vend) in osm_vendor_construct() argument
59 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct()
62 void osm_vendor_destroy(IN osm_vendor_t * const p_vend) in osm_vendor_destroy() argument
64 UNUSED_PARAM(p_vend); in osm_vendor_destroy()
77 osm_vendor_init(IN osm_vendor_t * const p_vend, in osm_vendor_init() argument
82 CL_ASSERT(p_vend); in osm_vendor_init()
85 p_vend->p_log = p_log; in osm_vendor_init()
86 p_vend->timeout = timeout; in osm_vendor_init()
95 osm_vendor_t *p_vend; in osm_vendor_new() local
100 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new()
[all …]
H A Dosm_vendor_ts.c82 __osm_ts_conv_mad_rcv_desc_to_osm_addr(IN osm_vendor_t * const p_vend, in __osm_ts_conv_mad_rcv_desc_to_osm_addr() argument
143 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_vendor_clear_sm() local
148 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_clear_sm()
160 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_clear_sm()
166 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_clear_sm()
172 void osm_vendor_construct(IN osm_vendor_t * const p_vend) in osm_vendor_construct() argument
174 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct()
175 cl_thread_construct(&(p_vend->smi_bind.poller)); in osm_vendor_construct()
176 cl_thread_construct(&(p_vend->gsi_bind.poller)); in osm_vendor_construct()
182 void osm_vendor_destroy(IN osm_vendor_t * const p_vend) in osm_vendor_destroy() argument
[all …]
H A Dosm_vendor_mtl.c87 __osm_mtl_conv_ibmgt_rcv_desc_to_osm_addr(IN osm_vendor_t * const p_vend, in __osm_mtl_conv_ibmgt_rcv_desc_to_osm_addr() argument
179 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_vendor_clear_sm() local
184 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_clear_sm()
196 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_clear_sm()
202 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_clear_sm()
208 void osm_vendor_construct(IN osm_vendor_t * const p_vend) in osm_vendor_construct() argument
210 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct()
216 void osm_vendor_destroy(IN osm_vendor_t * const p_vend) in osm_vendor_destroy() argument
220 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_destroy()
222 if (p_vend->h_al != NULL) { in osm_vendor_destroy()
[all …]
H A Dosm_vendor_mlx_hca_sim.c174 __parse_ca_info_file(IN osm_vendor_t * const p_vend, in __parse_ca_info_file() argument
186 OSM_LOG_ENTER(p_vend->p_log); in __parse_ca_info_file()
188 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __parse_ca_info_file()
195 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
219 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
226 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
234 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
241 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
251 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
258 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
[all …]
H A Dosm_vendor_mtl_hca_guid.c110 __osm_vendor_get_ca_ids(IN osm_vendor_t * const p_vend, in __osm_vendor_get_ca_ids() argument
117 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_get_ca_ids()
127 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
137 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
153 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
163 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
170 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in __osm_vendor_get_ca_ids()
171 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __osm_vendor_get_ca_ids()
179 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_get_ca_ids()
187 __osm_ca_info_init(IN osm_vendor_t * const p_vend, in __osm_ca_info_init() argument
[all …]
H A Dosm_vendor_mtl_transaction_mgr.c59 osm_vendor_t *p_vend = (osm_vendor_t *) context; in __osm_transaction_mgr_callback() local
76 OSM_LOG_ENTER(p_vend->p_log); in __osm_transaction_mgr_callback()
78 trans_mgr_p = (osm_transaction_mgr_t *) p_vend->p_transaction_mgr; in __osm_transaction_mgr_callback()
84 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_transaction_mgr_callback()
92 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_transaction_mgr_callback()
103 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __osm_transaction_mgr_callback()
122 p_vend->timeout * 1000 + cl_get_time_stamp(); in __osm_transaction_mgr_callback()
126 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __osm_transaction_mgr_callback()
128 p_vend->timeout); in __osm_transaction_mgr_callback()
132 p_vend->timeout); in __osm_transaction_mgr_callback()
[all …]
H A Dosm_vendor_mlx_hca_pfs.c128 __parse_ca_info_file(IN osm_vendor_t * const p_vend, in __parse_ca_info_file() argument
140 OSM_LOG_ENTER(p_vend->p_log); in __parse_ca_info_file()
142 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __parse_ca_info_file()
149 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
173 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
180 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
188 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
195 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
205 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
212 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __parse_ca_info_file()
[all …]
H A Dosm_vendor_mlx_hca.c90 __osm_vendor_get_ca_ids(IN osm_vendor_t * const p_vend, in __osm_vendor_get_ca_ids() argument
97 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_get_ca_ids()
107 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
117 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
133 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
143 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_vendor_get_ca_ids()
150 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in __osm_vendor_get_ca_ids()
151 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in __osm_vendor_get_ca_ids()
159 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_get_ca_ids()
167 __osm_ca_info_init(IN osm_vendor_t * const p_vend, in __osm_ca_info_init() argument
[all …]
H A Dosm_vendor_mlx_anafa.c77 osm_vendor_t *p_vend; in osm_vendor_new() local
83 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new()
84 if (p_vend != NULL) { in osm_vendor_new()
85 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new()
86 status = osm_vendor_init(p_vend, p_log, timeout); in osm_vendor_new()
88 osm_vendor_delete(&p_vend); in osm_vendor_new()
91 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_new()
97 return (p_vend); in osm_vendor_new()
161 osm_vendor_init(IN osm_vendor_t * const p_vend, in osm_vendor_init() argument
170 p_vend->p_log = p_log; in osm_vendor_init()
[all …]
H A Dosm_vendor_mlx.c70 osm_vendor_t *p_vend; in osm_vendor_new() local
76 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new()
77 if (p_vend != NULL) { in osm_vendor_new()
78 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new()
80 status = osm_vendor_init(p_vend, p_log, timeout); in osm_vendor_new()
82 osm_vendor_delete(&p_vend); in osm_vendor_new()
85 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_new()
91 return (p_vend); in osm_vendor_new()
149 osm_vendor_init(IN osm_vendor_t * const p_vend, in osm_vendor_init() argument
156 p_vend->p_transport_info = NULL; in osm_vendor_init()
[all …]
H A Dosm_vendor_mlx_hca_anafa.c81 __osm_ca_info_init(IN osm_vendor_t * const p_vend, in __osm_ca_info_init() argument
87 p_vend->p_transport_info; in __osm_ca_info_init()
92 OSM_LOG_ENTER(p_vend->p_log); in __osm_ca_info_init()
97 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init()
116 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init()
127 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init()
142 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init()
152 osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend, in osm_vendor_get_all_port_attr() argument
160 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_get_all_port_attr()
161 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr()
[all …]
H A Dosm_vendor_mlx_sim.c72 __osmv_ibms_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend,
134 osm_vendor_get_guid_by_ca_and_port(IN osm_vendor_t * const p_vend,
248 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local
255 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send()
306 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send()
316 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send()
365 __osmv_ibms_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_ibms_mad_addr_to_osm_addr() argument
416 osm_vendor_t const *p_vend = p_bo->p_vendor; in osm_vendor_set_sm() local
420 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_set_sm()
433 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_set_sm()
[all …]
H A Dosm_vendor_mlx_ts.c69 __osmv_TOPSPIN_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend,
281 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local
288 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send()
341 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send()
351 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send()
430 __osmv_TOPSPIN_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_TOPSPIN_mad_addr_to_osm_addr() argument
481 osm_vendor_t const *p_vend = p_bo->p_vendor; in osm_vendor_set_sm() local
487 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_set_sm()
496 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_set_sm()
502 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_set_sm()
H A Dosm_vendor_mlx_sa.c221 __osmv_get_lid_and_sm_lid_by_port_guid(IN osm_vendor_t * const p_vend, in __osmv_get_lid_and_sm_lid_by_port_guid() argument
233 OSM_LOG_ENTER(p_vend->p_log); in __osmv_get_lid_and_sm_lid_by_port_guid()
237 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid()
246 status = osm_vendor_get_all_port_attr(p_vend, NULL, &num_ports); in __osmv_get_lid_and_sm_lid_by_port_guid()
248 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 0503: " in __osmv_get_lid_and_sm_lid_by_port_guid()
255 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid()
264 status = osm_vendor_get_all_port_attr(p_vend, p_attr_array, &num_ports); in __osmv_get_lid_and_sm_lid_by_port_guid()
266 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 0504: " in __osmv_get_lid_and_sm_lid_by_port_guid()
282 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid()
291 OSM_LOG_EXIT(p_vend->p_log); in __osmv_get_lid_and_sm_lid_by_port_guid()
[all …]
H A Dosm_vendor_mlx_ts_anafa.c65 __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend,
268 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local
275 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send()
322 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send()
332 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send()
380 __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr() argument
H A Dosm_vendor_ibumad_sa.c207 static ib_api_status_t update_umad_port(osm_vendor_t * p_vend) in update_umad_port() argument
210 if (umad_get_port(p_vend->umad_port.ca_name, in update_umad_port()
211 p_vend->umad_port.portnum, &port) < 0) in update_umad_port()
213 p_vend->umad_port.base_lid = port.base_lid; in update_umad_port()
214 p_vend->umad_port.sm_lid = port.sm_lid; in update_umad_port()
220 osmv_bind_sa(IN osm_vendor_t * const p_vend, in osmv_bind_sa() argument
224 osm_log_t *p_log = p_vend->p_log; in osmv_bind_sa()
241 bind_info.timeout = p_vend->timeout; in osmv_bind_sa()
257 p_sa_bind_info->p_vendor = p_vend; in osmv_bind_sa()
260 …p_sa_bind_info->h_bind = osm_vendor_bind(p_vend, &bind_info, p_mad_pool, __osmv_sa_mad_rcv_cb, __o… in osmv_bind_sa()
H A Dosm_vendor_mlx_ibmgt.c372 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local
378 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send()
402 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in osmv_transport_mad_send()
403 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in osmv_transport_mad_send()
418 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in osmv_transport_mad_send()
419 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in osmv_transport_mad_send()
439 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send()
457 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send()
469 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send()
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_mtl_transaction_mgr.h170 void osm_transaction_mgr_init(IN osm_vendor_t * const p_vend);
190 void osm_transaction_mgr_destroy(IN osm_vendor_t * const p_vend);
238 osm_transaction_mgr_erase_madw(IN osm_vendor_t * const p_vend,
260 osm_transaction_mgr_get_madw_for_tid(IN osm_vendor_t * const p_vend,
H A Dosm_vendor_api.h185 osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
222 osm_vendor_init(IN osm_vendor_t * const p_vend, IN osm_log_t * const p_log,
255 osm_vendor_bind(IN osm_vendor_t * const p_vend,
469 void osm_vendor_set_debug(IN osm_vendor_t * const p_vend, IN int32_t level);
H A Dosm_vendor_ts.h94 struct _osm_vendor *p_vend; member
305 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend,
346 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
H A Dosm_vendor_mtl_hca_guid.h129 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend,
169 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
H A Dosm_vendor_mtl.h229 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend,
270 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_vl15intf.h128 osm_vendor_t *p_vend; member
257 ib_api_status_t osm_vl15_init(IN osm_vl15_t * p_vl15, IN osm_vendor_t * p_vend,

12