Lines Matching refs:p_osmt

57 osmtest_write_vl_arb_table(IN osmtest_t * const p_osmt,
64 OSM_LOG_ENTER(&p_osmt->log);
88 OSM_LOG_EXIT(&p_osmt->log);
96 osmt_query_vl_arb(IN osmtest_t * const p_osmt,
107 OSM_LOG_ENTER(&p_osmt->log);
109 OSM_LOG(&p_osmt->log, OSM_LOG_DEBUG,
124 context.p_osmt = p_osmt;
132 req.timeout_ms = p_osmt->opt.transaction_timeout;
133 req.retry_cnt = p_osmt->opt.retry_count;
140 status = osmv_query_sa(p_osmt->h_bind, &req);
143 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0405: "
151 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0466: "
155 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR,
167 osmtest_write_vl_arb_table(p_osmt, fh, p_rec);
175 osm_mad_pool_put(&p_osmt->mad_pool,
180 OSM_LOG_EXIT(&p_osmt->log);
185 osmt_query_all_ports_vl_arb(IN osmtest_t * const p_osmt, IN FILE * fh)
192 OSM_LOG_ENTER(&p_osmt->log);
194 OSM_LOG(&p_osmt->log, OSM_LOG_VERBOSE,
202 p_tbl = &p_osmt->exp_subn.port_key_tbl;
215 osmt_query_vl_arb(p_osmt,
219 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR,
231 osmt_query_vl_arb(p_osmt,
236 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR,
250 OSM_LOG_EXIT(&p_osmt->log);
261 osmtest_write_slvl_map_table(IN osmtest_t * const p_osmt,
268 OSM_LOG_ENTER(&p_osmt->log);
289 OSM_LOG_EXIT(&p_osmt->log);
297 osmt_query_slvl_map(IN osmtest_t * const p_osmt,
308 OSM_LOG_ENTER(&p_osmt->log);
310 OSM_LOG(&p_osmt->log, OSM_LOG_DEBUG,
325 context.p_osmt = p_osmt;
333 req.timeout_ms = p_osmt->opt.transaction_timeout;
334 req.retry_cnt = p_osmt->opt.retry_count;
341 status = osmv_query_sa(p_osmt->h_bind, &req);
344 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0469: "
352 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0470: "
356 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR,
368 osmtest_write_slvl_map_table(p_osmt, fh, p_rec);
376 osm_mad_pool_put(&p_osmt->mad_pool,
381 OSM_LOG_EXIT(&p_osmt->log);
386 osmt_query_all_ports_slvl_map(IN osmtest_t * const p_osmt, IN FILE * fh)
395 OSM_LOG_ENTER(&p_osmt->log);
402 OSM_LOG(&p_osmt->log, OSM_LOG_VERBOSE,
405 p_tbl = &p_osmt->exp_subn.port_key_tbl;
406 p_node_tbl = &p_osmt->exp_subn.node_lid_tbl;
418 osmt_query_slvl_map(p_osmt, p_src_port->rec.lid, 0,
421 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0471: "
434 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 0472: "
444 osmt_query_slvl_map(p_osmt,
449 OSM_LOG(&p_osmt->log, OSM_LOG_ERROR,
465 OSM_LOG_EXIT(&p_osmt->log);
484 osmt_run_slvl_and_vlarb_records_flow(IN osmtest_t * const p_osmt)
491 OSM_LOG_ENTER(&p_osmt->log);
496 status = osmt_query_all_ports_vl_arb(p_osmt, fh);
501 status = osmt_query_all_ports_slvl_map(p_osmt, fh);
508 osmtest_get_local_port_lmc(p_osmt, p_osmt->local_port.lid, &lmc);
513 test_lid = cl_ntoh16(p_osmt->local_port.lid + 1);
515 status = osmt_query_vl_arb(p_osmt, test_lid, 0, 1, NULL);
519 status = osmt_query_slvl_map(p_osmt, test_lid, 0, 0, NULL);
526 OSM_LOG_EXIT(&p_osmt->log);