Home
last modified time | relevance | path

Searched refs:portinfop (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_cm.c182 ibt_hca_portinfo_t *portinfop; in ibtl_cm_get_hca_port() local
214 portinfop = fast_portinfop; in ibtl_cm_get_hca_port()
215 hca_port->hp_base_lid = portinfop->p_base_lid; in ibtl_cm_get_hca_port()
216 hca_port->hp_port = portinfop->p_port_num; in ibtl_cm_get_hca_port()
218 hca_port->hp_lmc = portinfop->p_lmc; in ibtl_cm_get_hca_port()
219 hca_port->hp_mtu = portinfop->p_mtu; in ibtl_cm_get_hca_port()
238 portinfop = hca_devp->hd_portinfop; in ibtl_cm_get_hca_port()
240 for (port = 0; port < ports; port++, portinfop++) { in ibtl_cm_get_hca_port()
241 if (portinfop->p_linkstate != IBT_PORT_ACTIVE) in ibtl_cm_get_hca_port()
243 sgid = &portinfop->p_sgid_tbl[0]; in ibtl_cm_get_hca_port()
[all …]
H A Dibtl_hca.c457 ibt_hca_portinfo_t *portinfop; in ibtl_get_port_state() local
467 portinfop = hca_devp->hd_portinfop + port - 1; in ibtl_get_port_state()
468 if (portinfop->p_linkstate != IBT_PORT_ACTIVE) in ibtl_get_port_state()
472 *sgid_p = portinfop->p_sgid_tbl[0]; in ibtl_get_port_state()
474 *base_lid_p = portinfop->p_base_lid; in ibtl_get_port_state()
475 if (portinfop->p_linkstate != IBT_PORT_ACTIVE) { in ibtl_get_port_state()
478 port, portinfop->p_linkstate, portinfop->p_base_lid); in ibtl_get_port_state()
483 port, portinfop->p_linkstate, portinfop->p_base_lid); in ibtl_get_port_state()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c72 ibt_hca_portinfo_t *portinfop);
3714 ibt_hca_portinfo_t *portinfop) in ibmf_saa_impl_set_transaction_params() argument
3756 saa_portp->saa_pt_ibmf_addr_info.ia_local_lid = portinfop->p_base_lid; in ibmf_saa_impl_set_transaction_params()
3757 saa_portp->saa_pt_ibmf_addr_info.ia_remote_lid = portinfop->p_sm_lid; in ibmf_saa_impl_set_transaction_params()
3758 saa_portp->saa_pt_ibmf_addr_info.ia_service_level = portinfop->p_sm_sl; in ibmf_saa_impl_set_transaction_params()
3761 saa_portp->saa_pt_timeout = portinfop->p_subnet_timeout; in ibmf_saa_impl_set_transaction_params()
3771 tnf_opaque, local_lid, portinfop->p_base_lid, in ibmf_saa_impl_set_transaction_params()
3772 tnf_opaque, sm_lid, portinfop->p_sm_lid, in ibmf_saa_impl_set_transaction_params()
3773 tnf_opaque, sm_sl, portinfop->p_sm_sl, in ibmf_saa_impl_set_transaction_params()
3774 tnf_opaque, subnet_timeout, portinfop->p_subnet_timeout); in ibmf_saa_impl_set_transaction_params()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c892 ibt_hca_portinfo_t *portinfop; in ibdm_update_port_attr() local
896 port->pa_port_num, &portinfop, &nports, &size) != IBT_SUCCESS) { in ibdm_update_port_attr()
902 port->pa_sn_prefix = portinfop->p_sgid_tbl[0].gid_prefix; in ibdm_update_port_attr()
904 port->pa_state = portinfop->p_linkstate; in ibdm_update_port_attr()
913 ibt_free_portinfo(portinfop, size); in ibdm_update_port_attr()
917 port->pa_npkeys = portinfop->p_pkey_tbl_sz; in ibdm_update_port_attr()
923 portinfop->p_pkey_tbl[pkey_idx]; in ibdm_update_port_attr()
925 ibt_free_portinfo(portinfop, size); in ibdm_update_port_attr()
942 ibt_hca_portinfo_t *portinfop; in ibdm_handle_hca_attach() local
964 if ((status = ibt_query_hca_ports(hca_hdl, 0, &portinfop, &nports, in ibdm_handle_hca_attach()
[all …]
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c5247 ibcm_classportinfo_msg_t *portinfop = (ibcm_classportinfo_msg_t *) in ibcm_decode_classport_info() local
5255 "Base version %d Class version %d", portinfop->BaseVersion, in ibcm_decode_classport_info()
5256 portinfop->ClassVersion); in ibcm_decode_classport_info()
5258 "Cap Mask %d Resp Time %d", portinfop->CapabilityMask, in ibcm_decode_classport_info()
5259 portinfop->RespTimeValue_plus); in ibcm_decode_classport_info()