Home
last modified time | relevance | path

Searched refs:port_info (Results 1 – 25 of 32) sorted by relevance

12

/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c117 port_info_t **port_info = NULL; in assign_geo_addr() local
153 port_info = (port_info_t **)malloc( in assign_geo_addr()
155 if (port_info == NULL) { in assign_geo_addr()
166 port_info[i] = nextptr; in assign_geo_addr()
172 (void) qsort((void *)port_info, num_ports, in assign_geo_addr()
175 if (port_info[i] != NULL) { in assign_geo_addr()
176 port_info[i]->geo_addr = i + 1; in assign_geo_addr()
179 free(port_info); in assign_geo_addr()
186 port_info_t *port_info = NULL; in create_port_config_info() local
195 port_info = list->first; in create_port_config_info()
[all …]
/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_mac.c49 static int begin_synchronized_op(struct port_info *pi, int hold, int waitok);
50 static void end_synchronized_op(struct port_info *pi, int held);
51 static int t4_init_synchronized(struct port_info *pi);
52 static int t4_uninit_synchronized(struct port_info *pi);
53 static void propinfo(struct port_info *pi, const char *name,
55 static int getprop(struct port_info *pi, const char *name, uint_t size,
57 static int setprop(struct port_info *pi, const char *name, const void *val);
99 struct port_info *pi = arg; in t4_mc_getstat()
330 struct port_info *pi = arg; in t4_mc_start()
345 struct port_info *pi = arg; in t4_mc_stop()
[all …]
H A Dadapter.h84 struct port_info { struct
272 struct port_info *port; /* the port this txq belongs to */
323 struct port_info *port; /* the port this rxq belongs to */
461 struct port_info *port[MAX_NPORTS];
578 struct port_info *adap2pinfo(struct adapter *sc, int idx);
580 bool is_10G_port(const struct port_info *pi);
589 int port_full_init(struct port_info *pi);
590 int port_full_uninit(struct port_info *pi);
591 void enable_port_queues(struct port_info *pi);
592 void disable_port_queues(struct port_info *pi);
[all …]
H A Dt4_sge.c80 static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq,
82 static int free_iq_fl(struct port_info *pi, struct sge_iq *iq,
87 static int alloc_rxq(struct port_info *pi, struct sge_rxq *rxq, int intr_idx,
89 static int free_rxq(struct port_info *pi, struct sge_rxq *rxq);
91 static int alloc_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq,
93 static int free_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq);
96 static int eth_eq_alloc(struct adapter *sc, struct port_info *pi,
99 static int ofld_eq_alloc(struct adapter *sc, struct port_info *pi,
102 static int alloc_eq(struct adapter *sc, struct port_info *pi,
105 static int alloc_wrq(struct adapter *sc, struct port_info *pi,
[all …]
H A Dadapter.c89 struct port_info *
102 is_10G_port(const struct port_info *pi) in is_10G_port()
H A Dt4_nexus.c155 static int toe_capability(struct port_info *pi, int enable);
425 struct port_info *pi; in t4_devo_attach()
523 struct port_info *pi = sc->port[i]; in t4_devo_attach()
606 struct port_info *pi = sc->port[i]; in t4_devo_attach()
689 struct port_info *pi; in t4_devo_detach()
810 struct port_info *pi; in t4_bus_ctl()
1795 struct port_info *pi; in add_child_node()
1828 struct port_info *pi; in remove_child_node()
1979 struct port_info *pi = sc->port[i]; in adapter_full_init()
2022 port_full_init(struct port_info *pi) in port_full_init()
[all …]
H A Dt4_l2t.h68 struct l2t_entry *t4_l2t_get(struct port_info *pi, conn_t *connp);
H A Doffload.h107 struct port_info;
H A Dt4_l2t.c474 t4_l2t_get(struct port_info *pi, conn_t *connp) in t4_l2t_get()
/titanic_44/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c1775 ibt_hca_portinfo_t *port_info; in sol_uverbs_query_port() local
1793 rc = ibt_query_hca_ports(uctxt->hca->hdl, cmd.port_num, &port_info, in sol_uverbs_query_port()
1804 cmd.port_num, port_info, port_info->p_opaque1, in sol_uverbs_query_port()
1805 port_info->p_sm_lid); in sol_uverbs_query_port()
1809 resp.state = port_info->p_linkstate; in sol_uverbs_query_port()
1810 resp.max_mtu = port_info->p_mtu; in sol_uverbs_query_port()
1811 resp.active_mtu = port_info->p_mtu; in sol_uverbs_query_port()
1812 resp.gid_tbl_len = port_info->p_sgid_tbl_sz; in sol_uverbs_query_port()
1813 resp.port_cap_flags = port_info->p_capabilities; in sol_uverbs_query_port()
1814 resp.max_msg_sz = port_info->p_msg_sz; in sol_uverbs_query_port()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c1445 emlxs_fca_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info, in emlxs_fca_bind_port() argument
1490 port_info->pi_error = FC_OUTOFBOUNDS; in emlxs_fca_bind_port()
1507 port_info->pi_error = FC_ALREADY; in emlxs_fca_bind_port()
1518 port_info->pi_error = FC_OUTOFBOUNDS; in emlxs_fca_bind_port()
1529 bind_info->port_num, port_info, bind_info); in emlxs_fca_bind_port()
1588 port_info->pi_port_state = FC_STATE_OFFLINE; in emlxs_fca_bind_port()
1589 port_info->pi_topology = FC_TOP_UNKNOWN; in emlxs_fca_bind_port()
1593 port_info->pi_port_state = FC_STATE_OFFLINE; in emlxs_fca_bind_port()
1594 port_info->pi_topology = FC_TOP_UNKNOWN; in emlxs_fca_bind_port()
1598 port_info->pi_port_state = FC_STATE_OFFLINE; in emlxs_fca_bind_port()
[all …]
/titanic_44/usr/src/lib/libexacct/demo/
H A Dexdump.c188 struct servent *port_info; in disp_port() local
190 port_info = getservbyport(htons(port), NULL); in disp_port()
191 if (port_info != NULL) { in disp_port()
192 (void) printf("%s", port_info->s_name); in disp_port()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmac_stx.h63 typedef struct port_info port_info_t;
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c233 fc_fca_port_info_t *port_info) in ql_populate_hba_fru_details() argument
235 fca_port_attrs_t *attrs = &port_info->pi_attrs; in ql_populate_hba_fru_details()
244 attrs = &port_info->pi_attrs; in ql_populate_hba_fru_details()
H A Dql_api.c2333 ql_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info, in ql_bind_port() argument
2357 port_info->pi_error = FC_NPIV_NOT_SUPPORTED; in ql_bind_port()
2363 port_info->pi_error = FC_NPIV_WRONG_TOPOLOGY; in ql_bind_port()
2369 port_info->pi_error = FC_NPIV_FDISC_FAILED; in ql_bind_port()
2376 port_info->pi_error = FC_OUTOFBOUNDS; in ql_bind_port()
2382 port_info->pi_error = FC_OUTOFBOUNDS; in ql_bind_port()
2400 port_info->pi_error = FC_ALREADY; in ql_bind_port()
2413 port_info->pi_error = FC_NPIV_FDISC_FAILED; in ql_bind_port()
2435 port_info->pi_s_id.port_id = vha->d_id.b24; in ql_bind_port()
2439 (void *)&port_info->pi_login_params, in ql_bind_port()
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c74 fc_fca_port_info_t *port_info);
121 fcoei_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info, in fcoei_bind_port() argument
140 port_info->pi_error = FC_ALREADY; in fcoei_bind_port()
149 port_info->pi_error = FC_OUTOFBOUNDS; in fcoei_bind_port()
163 port_info->pi_rnid_params.status = FC_FAILURE; in fcoei_bind_port()
168 fcoei_populate_hba_fru_details(ss, port_info); in fcoei_bind_port()
175 port_info->pi_port_state = FC_STATE_FCA_IS_NODMA; in fcoei_bind_port()
180 bcopy(&ss->ss_els_logi, &port_info->pi_login_params, in fcoei_bind_port()
769 fc_fca_port_info_t *port_info) in fcoei_populate_hba_fru_details() argument
771 fca_port_attrs_t *port_attrs = &(port_info->pi_attrs); in fcoei_populate_hba_fru_details()
/titanic_44/usr/src/uts/common/sys/ib/ibnex/
H A Dibnex_devctl.h598 ibnex_ctl_hca_port_info_t port_info; /* out: port information */ member
612 ibnex_ctl_hca_port_info_32_t port_info; /* out: port information */ member
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c178 fc_ulp_port_info_t *port_info, fc_attach_cmd_t cmd);
767 fcip_port_attach(opaque_t ulp_handle, fc_ulp_port_info_t *port_info, in fcip_port_attach() argument
792 ww_pn = &port_info->port_pwwn; in fcip_port_attach()
818 ddi_get_instance(port_info->port_dip)); in fcip_port_attach()
831 port_info->port_handle) { in fcip_port_attach()
839 port_info->port_dip))); in fcip_port_attach()
855 ddi_get_instance(port_info->port_dip)); in fcip_port_attach()
867 fport->fcipp_linkage = *port_info->port_linkage; in fcip_port_attach()
868 fport->fcipp_handle = port_info->port_handle; in fcip_port_attach()
869 fport->fcipp_dip = port_info->port_dip; in fcip_port_attach()
[all …]
/titanic_44/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfc_fcaif.h167 fc_fca_port_info_t *port_info, fc_fca_bind_info_t *bind_info);
/titanic_44/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c819 uint_t port_info = FALSE; in mptsas_dcmd() local
842 'p', MDB_OPT_SETBITS, TRUE, &port_info, in mptsas_dcmd()
919 if (port_info) in mptsas_dcmd()
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c1268 ibt_free_portinfo(ibt_hca_portinfo_t *port_info, uint_t size) in ibt_free_portinfo() argument
1271 port_info, size); in ibt_free_portinfo()
1273 if ((port_info == NULL) || (size == 0)) { in ibt_free_portinfo()
1276 kmem_free(port_info, size); in ibt_free_portinfo()
/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c3203 &query_hca_port_32->port_info, ibt_pi, in ibnex_ctl_query_hca_port()
3206 if (ddi_copyout(&query_hca_port_32->port_info, in ibnex_ctl_query_hca_port()
3207 &((ibnex_ctl_query_hca_port_32_t *)arg)->port_info, in ibnex_ctl_query_hca_port()
3227 &query_hca_port->port_info, ibt_pi, in ibnex_ctl_query_hca_port()
3230 if (ddi_copyout(&query_hca_port->port_info, in ibnex_ctl_query_hca_port()
3231 &((ibnex_ctl_query_hca_port_t *)arg)->port_info, in ibnex_ctl_query_hca_port()
/titanic_44/usr/src/uts/common/sys/
H A Dfct.h259 fct_status_t (*port_info)(uint32_t cmd, member
/titanic_44/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c648 if (iport->iport_port->port_info == NULL) { in fct_get_port_stats()
652 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_get_port_stats()
701 if (iport->iport_port->port_info == NULL) { in fct_get_link_status()
705 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_get_link_status()
3565 if (iport->iport_port->port_info == NULL) { in fct_update_stats()
3568 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_update_stats()
/titanic_44/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c13776 fc_fca_port_info_t *port_info; in fp_bind_callbacks() local
13819 port_info = kmem_zalloc(sizeof (*port_info), KM_SLEEP); in fp_bind_callbacks()
13829 port->fp_fca_dip, port_info, &bind_info); in fp_bind_callbacks()
13839 if (port_info->pi_port_state & FC_STATE_FCA_IS_NODMA) { in fp_bind_callbacks()
13841 port_info->pi_port_state &= ~(FC_STATE_FCA_IS_NODMA); in fp_bind_callbacks()
13844 port->fp_bind_state = port->fp_state = port_info->pi_port_state; in fp_bind_callbacks()
13845 port->fp_service_params = port_info->pi_login_params; in fp_bind_callbacks()
13846 port->fp_hard_addr = port_info->pi_hard_addr; in fp_bind_callbacks()
13849 port->fp_hba_port_attrs = port_info->pi_attrs; in fp_bind_callbacks()
13851 if (port_info->pi_rnid_params.status == FC_SUCCESS) { in fp_bind_callbacks()
[all …]

12