/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_lid_mgr.c | 791 IN osm_physp_t * p_physp) 793 osm_physp_t *p_rem_physp = osm_physp_get_remote(p_physp); 804 IN osm_physp_t * p_physp, IN ib_net16_t lid) 826 if (!p_physp) 829 port_num = osm_physp_get_port_num(p_physp); 830 p_node = osm_physp_get_node_ptr(p_physp); 840 port_num, cl_ntoh64(osm_physp_get_port_guid(p_physp))); 844 p_old_pi = &p_physp->port_info; 898 osm_physp_set_base_lid(p_physp, 0); 952 p_physp, 790 lid_mgr_set_remote_pi_state_to_init(IN osm_lid_mgr_t * p_mgr, IN osm_physp_t * p_physp) argument 802 lid_mgr_set_physp_pi(IN osm_lid_mgr_t * p_mgr, IN osm_port_t * p_port, IN osm_physp_t * p_physp, IN ib_net16_t lid) argument [all...] |
H A D | osm_ucast_cache.c | 411 osm_physp_t *p_physp; local 447 p_physp = osm_node_get_physp_ptr(p_node, port_num); 449 if (!p_physp || !p_physp->p_remote_physp || 450 !osm_physp_link_exists(p_physp, 451 p_physp->p_remote_physp)) 462 p_physp->p_remote_physp->p_node && 463 osm_node_get_type(p_physp->p_remote_physp-> 467 if (!p_physp->need_update) 474 p_remote_physp = osm_physp_get_remote(p_physp); 909 osm_physp_t *p_physp; local [all...] |
H A D | osm_sa_node_record.c | 121 const osm_physp_t *p_physp; local 147 p_physp = osm_node_get_physp_ptr(p_node, port_num); 148 if (!p_physp) 151 /* Check to see if the found p_physp and the requester physp 153 if (!osm_physp_share_pkey(sa->p_log, p_physp, p_req_physp, 157 port_guid = osm_physp_get_port_guid(p_physp); 163 base_lid = osm_physp_get_base_lid(p_physp); 167 lmc = osm_physp_get_lmc(p_physp);
|
H A D | osm_congestion_control.c | 67 osm_physp_t *p_physp, 77 port = osm_physp_get_port_num(p_physp); 110 p_madw->context.cc_context.port_guid = osm_physp_get_port_guid(p_physp); 222 osm_physp_t *p_physp; local 229 p_physp = osm_node_get_physp_ptr(p_node, 0); 231 force_update = p_physp->need_update || p_sm->p_subn->need_update; 235 &p_physp->cc.sw.sw_cong_setting, 255 cc_mad_post(p_cc, p_madw, p_node, p_physp, 265 osm_physp_t *p_physp) 275 force_update = p_physp 64 cc_mad_post(osm_congestion_control_t *p_cc, osm_madw_t *p_madw, osm_node_t *p_node, osm_physp_t *p_physp, ib_net16_t attr_id, ib_net32_t attr_mod) argument 263 cc_send_ca_cong_setting(osm_sm_t * p_sm, osm_node_t *p_node, osm_physp_t *p_physp) argument 307 cc_send_cct(osm_sm_t * p_sm, osm_node_t *p_node, osm_physp_t *p_physp) argument [all...] |
H A D | osm_sa_sw_info_record.c | 108 const osm_physp_t *p_physp; local 131 p_physp = p_port->p_physp; 132 if (!p_physp) { 139 if (!osm_physp_share_pkey(sa->p_log, p_req_physp, p_physp,
|
H A D | osm_mcast_mgr.c | 158 } else if (port->p_physp->p_remote_physp) { 159 sw = port->p_physp->p_remote_physp->p_node->sw; 335 osm_physp_t *p_physp; local 354 p_physp = osm_node_get_physp_ptr(p_node, 0); 355 p_path = osm_physp_get_dr_path_ptr(p_physp); 380 ib_port_info_get_m_key(&p_physp->port_info), 616 const osm_physp_t *p_physp; local 702 p_physp = osm_node_get_physp_ptr(p_node, i); 703 CL_ASSERT(p_physp); 705 p_remote_physp = osm_physp_get_remote(p_physp); 1045 osm_physp_t *p_physp; local [all...] |
H A D | osm_sa_mft_record.c | 126 const osm_physp_t *p_physp; local 141 p_physp = p_port->p_physp; 142 if (!p_physp) { 149 if (!osm_physp_share_pkey(sa->p_log, p_req_physp, p_physp,
|
H A D | osm_sa_lft_record.c | 120 const osm_physp_t *p_physp; local 134 p_physp = p_port->p_physp; 135 if (!p_physp) { 143 p_physp, sa->p_subn->opt.allow_both_pkeys))
|
H A D | osm_prtn.c | 132 osm_physp_t *p_physp; local 141 p_physp = p_port->p_physp; 142 if (!p_physp) { 154 &p_physp->pkeys); 155 } else if (ib_pkey_get_base(p_physp->pkeys.indx0_pkey) == 157 p_physp->pkeys.indx0_pkey = 0; 177 if (cl_map_insert(p_tbl, guid, p_physp) == NULL)
|
H A D | osm_ucast_updn.c | 212 osm_physp_t *p_physp, *p_remote_physp; local 246 p_physp = 249 if (!p_physp) 252 p_remote_physp = p_physp->p_remote_physp; 413 osm_physp_t *p_physp; local 443 p_physp = p_port->p_physp->p_remote_physp; 444 if (!p_physp || !p_physp->p_node->sw) 446 lid_ho = osm_node_get_base_lid(p_physp [all...] |
H A D | osm_sw_info_rcv.c | 69 osm_physp_t *p_physp; 88 p_physp = osm_node_get_physp_ptr(p_node, 0); 89 p_dr_path = osm_physp_get_dr_path_ptr(p_physp); 115 osm_physp_t *p_physp; 162 p_physp = osm_node_get_physp_ptr(p_node, 0); 163 p_dr_path = osm_physp_get_dr_path_ptr(p_physp);
|
H A D | osm_ucast_mgr.c | 226 p_port->p_physp->port_num); 244 p_port->p_node->print_desc, p_port->p_physp->port_num, lid_ho, 328 lmc = ib_port_info_get_lmc(&port->p_physp->port_info); 407 osm_physp_t *p_physp; local 433 p_physp = osm_node_get_physp_ptr(p_node, port_num); 434 if (!p_physp || !osm_link_is_healthy(p_physp)) 905 osm_physp_t *p_physp; local 927 p_physp = osm_node_get_physp_ptr(p_node, 0); 929 CL_ASSERT(p_physp); 979 osm_physp_t *p_physp; local [all...] |
H A D | osm_sa_link_record.c | 89 static ib_net16_t get_base_lid(IN const osm_physp_t * p_physp) argument 91 if (p_physp->p_node->node_info.node_type == IB_NODE_TYPE_SWITCH) 92 p_physp = osm_node_get_physp_ptr(p_physp->p_node, 0); 93 return osm_physp_get_base_lid(p_physp);
|
H A D | osm_sa.c | 768 if (!p_port->p_physp->p_guids) 771 max_block = (p_port->p_physp->port_info.guid_cap + GUID_TABLE_MAX_ENTRIES - 1) / 782 cl_ntoh64((*p_port->p_physp->p_guids)[0]), 784 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES]), 785 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES + 1]), 786 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES + 2]), 787 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES + 3]), 788 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES + 4]), 789 cl_ntoh64((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES + 5]), 790 cl_ntoh64((*p_port->p_physp [all...] |
H A D | osm_sa_mcmember_record.c | 339 const osm_physp_t * p_physp) 348 mtu_required = ib_port_info_get_neighbor_mtu(&p_physp->port_info); 357 p_pi = &p_physp->port_info; 657 IN const osm_physp_t * p_physp) 682 p_pi = &p_physp->port_info; 683 port_mtu = p_physp ? ib_port_info_get_mtu_cap(p_pi) : 0; 729 if (p_physp) { 823 IN const osm_physp_t * p_physp, 896 if (mgrp_request_is_realizable(sa, comp_mask, &mcm_rec, p_physp) == 1146 osm_physp_t *p_physp; local 337 validate_port_caps(osm_log_t * p_log, const osm_mgrp_t * p_mgrp, const osm_physp_t * p_physp) argument 654 mgrp_request_is_realizable(IN osm_sa_t * sa, IN ib_net64_t comp_mask, IN ib_member_rec_t * p_mcm_rec, IN const osm_physp_t * p_physp) argument 820 mcmr_rcv_create_new_mgrp(IN osm_sa_t * sa, IN ib_net64_t comp_mask, IN const ib_member_rec_t * p_recvd_mcmember_rec, IN const osm_physp_t * p_physp, OUT osm_mgrp_t ** pp_mgrp) argument [all...] |
H A D | osm_ucast_dnup.c | 223 osm_physp_t *p_physp, *p_remote_physp; local 257 p_physp = 260 if (!p_physp) 263 p_remote_physp = p_physp->p_remote_physp;
|
H A D | osm_ucast_dfsssp.c | 810 src_port->p_physp->port_num, &remote_port); 962 src_port->p_physp->port_num, &remote_port); 1219 osm_physp_t *p_physp = NULL; local 1300 p_physp = osm_node_get_physp_ptr(sw->p_node, port); 1301 if (!p_physp || !osm_link_is_healthy(p_physp)) 1463 if (port->p_physp && osm_link_is_healthy(port->p_physp)) { 1466 port->p_physp->port_num, 1487 port->p_physp 1718 osm_physp_t *p_physp = NULL; local 1848 osm_physp_t *p_physp = local [all...] |
H A D | osm_qos_policy.c | 137 osm_qos_port_t *osm_qos_policy_port_create(osm_physp_t *p_physp) argument 142 p->p_physp = p_physp; 524 const osm_physp_t * p_physp, 527 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp); 528 ib_net64_t port_guid = osm_physp_get_port_guid(p_physp); 551 const osm_physp_t * p_physp, 563 (p_qos_policy->p_subn, p_physp, p_port_group)) 523 __qos_policy_is_port_in_group(osm_subn_t * p_subn, const osm_physp_t * p_physp, osm_qos_port_group_t * p_port_group) argument 550 __qos_policy_is_port_in_group_list(const osm_qos_policy_t * p_qos_policy, const osm_physp_t * p_physp, cl_list_t * p_port_group_list) argument
|
H A D | osm_qos_parser_y.y | 123 osm_physp_t * p_physp); 1189 osm_physp_t * p_physp; 1231 p_physp = osm_node_get_physp_ptr(p_node, port_num); 1232 if (!p_physp) { 1242 p_physp); 1373 p_osm_port->p_physp); 2986 osm_physp_t * p_physp) 2988 if (cl_qmap_get(p_map, cl_ntoh64(osm_physp_get_port_guid(p_physp))) == 2991 osm_qos_port_t * p_port = osm_qos_policy_port_create(p_physp); 2994 cl_ntoh64(osm_physp_get_port_guid(p_physp)), [all...] |
H A D | osm_console.c | 1046 osm_physp_t *p_physp; local 1088 p_physp = osm_node_get_physp_ptr(p_sw->p_node, port_num); 1093 if (!p_physp || !osm_physp_is_healthy(p_physp) 1094 || !osm_physp_get_remote(p_physp)) 1097 p_rem_physp = osm_physp_get_remote(p_physp); 1197 osm_physp_t *p_physp; local 1233 p_physp = 1237 if (!p_physp || !osm_physp_is_healthy(p_physp) [all...] |
H A D | osm_pkey.c | 525 p_physp1 = p_port_1->p_physp; 526 p_physp2 = p_port_2->p_physp; 541 IN const osm_physp_t * p_physp) 562 pkey_tbl = osm_physp_get_pkey_tbl(p_physp); 540 osm_physp_has_pkey(IN osm_log_t * p_log, IN ib_net16_t pkey, IN const osm_physp_t * p_physp) argument
|
H A D | osm_sa_informinfo.c | 122 (sa->p_log, p_port->p_physp, p_requester_physp, 172 (sa->p_log, p_port->p_physp, p_requester_physp, 278 p_subscriber_physp = p_subscriber_port->p_physp;
|
H A D | osm_sm_mad_ctrl.c | 773 osm_physp_t *p_physp = osm_get_physp_by_mad_addr(p_ctrl->p_log, 777 if (!p_physp) { 782 (p_ctrl->p_log, p_ctrl->p_subn, p_physp,
|
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_qos_policy.h | 71 osm_physp_t * p_physp; member in struct:osm_qos_port 157 osm_qos_port_t *osm_qos_policy_port_create(osm_physp_t * p_physp);
|
H A D | osm_pkey.h | 677 IN const struct osm_physp *p_physp); 687 * p_physp 691 * Returns TRUE if the p_physp has the pkey given. False otherwise.
|