Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h93 struct port_info { struct
528 struct port_info *port[MAX_NPORTS];
754 static inline struct port_info *
767 is_10G_port(const struct port_info *pi) in is_10G_port()
779 is_25G_port(const struct port_info *pi) in is_25G_port()
785 is_40G_port(const struct port_info *pi) in is_40G_port()
791 is_50G_port(const struct port_info *pi) in is_50G_port()
797 is_100G_port(const struct port_info *pi) in is_100G_port()
803 is_10XG_port(const struct port_info *pi) in is_10XG_port()
914 void t4_mc_init(struct port_info *pi);
[all …]
H A Dt4_mac.c316 struct port_info *pi = arg; in t4_mc_getstat()
670 struct port_info *pi = arg; in t4_mc_start()
685 struct port_info *pi = arg; in t4_mc_stop()
696 struct port_info *pi = arg; in t4_mc_setpromisc()
717 struct port_info *pi = arg; in t4_mc_multicst()
762 struct port_info *pi = arg; in t4_mc_unicst()
801 struct port_info *pi = arg; in t4_remmac()
821 struct port_info *pi = arg; in t4_fill_group()
970 struct port_info *pi = arg; in t4_fill_ring()
1012 struct port_info *pi = arg; in t4_mc_tx()
[all …]
H A Dt4_sge.c380 first_vector(struct port_info *pi) in first_vector()
389 struct port_info *p = sc->port[i]; in first_vector()
418 port_intr_iq(struct port_info *pi, int idx) in port_intr_iq()
460 t4_setup_port_queues(struct port_info *pi) in t4_setup_port_queues()
604 t4_teardown_port_queues(struct port_info *pi) in t4_teardown_port_queues()
1128 struct port_info *pi = txq->port; in t4_eth_tx()
1607 free_rxq(struct port_info *pi, struct sge_rxq *rxq) in free_rxq()
1986 free_txq(struct port_info *pi, struct sge_txq *txq) in free_txq()
3511 setup_port_config_kstats(struct port_info *pi) in setup_port_config_kstats()
3559 setup_port_info_kstats(struct port_info *pi) in setup_port_info_kstats()
[all …]
H A Dt4_nexus.c527 struct port_info *pi; in t4_devo_attach()
547 struct port_info *pi = sc->port[i]; in t4_devo_attach()
644 struct port_info *pi = sc->port[i]; in t4_devo_attach()
729 struct port_info *pi = sc->port[i]; in t4_devo_attach()
829 struct port_info *pi; in t4_devo_detach()
968 struct port_info *pi; in t4_bus_ctl()
2367 struct port_info *pi;
2400 struct port_info *pi;
2764 struct port_info *pi = sc->port[i];
2807 port_full_init(struct port_info *pi)
[all …]
H A Dt4_l2t.h68 struct l2t_entry *t4_l2t_get(struct port_info *pi, conn_t *connp);
H A Doffload.h108 struct port_info;
H A Dt4_l2t.c460 t4_l2t_get(struct port_info *pi, conn_t *connp) in t4_l2t_get()
/illumos-gate/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
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()
1810 resp.max_mtu = port_info->p_mtu; in sol_uverbs_query_port()
1818 resp.lid = port_info->p_opaque1; in sol_uverbs_query_port()
1819 resp.sm_lid = port_info->p_sm_lid; in sol_uverbs_query_port()
1820 resp.lmc = port_info->p_lmc; in sol_uverbs_query_port()
1822 resp.sm_sl = port_info->p_sm_sl; in sol_uverbs_query_port()
1872 ibt_hca_portinfo_t *port_info; in sol_uverbs_query_gid() local
1903 port_info->p_sgid_tbl_sz); in sol_uverbs_query_gid()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c1491 port_info->pi_error = FC_OUTOFBOUNDS; in emlxs_fca_bind_port()
1508 port_info->pi_error = FC_ALREADY; in emlxs_fca_bind_port()
1519 port_info->pi_error = FC_OUTOFBOUNDS; in emlxs_fca_bind_port()
1751 port_info->pi_s_id.port_id = port->did; in emlxs_fca_bind_port()
1752 port_info->pi_s_id.priv_lilp_posit = 0; in emlxs_fca_bind_port()
1756 bzero(&port_info->pi_rnid_params, sizeof (port_info->pi_rnid_params)); in emlxs_fca_bind_port()
1770 bzero(&port_info->pi_attrs, sizeof (port_info->pi_attrs)); in emlxs_fca_bind_port()
1934 port_info->pi_attrs.supported_speed |= in emlxs_fca_bind_port()
1996 port_info->pi_rnid_params.status); in emlxs_fca_bind_port()
2027 port_info->pi_attrs.manufacturer); in emlxs_fca_bind_port()
[all …]
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c186 struct servent *port_info; in disp_port() local
188 port_info = getservbyport(htons(port), NULL); in disp_port()
189 if (port_info != NULL) { in disp_port()
190 (void) printf("%s", port_info->s_name); in disp_port()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h584 int t4_link_set_autoneg(struct port_info *pi, u8 autoneg,
586 int t4_link_set_pause(struct port_info *pi, cc_pause_t pause,
588 int t4_link_set_fec(struct port_info *pi, cc_fec_t fec,
590 int t4_link_set_speed(struct port_info *pi, fw_port_cap32_t speed, u8 en,
680 int t4_init_portinfo_viid(struct port_info *pi, int mbox,
682 int t4_init_portinfo(struct port_info *pi, int mbox,
879 struct port_info *pi,
921 void t4_handle_get_port_info(struct port_info *pi, const __be64 *rpl);
922 int t4_update_port_info(struct port_info *pi);
923 int t4_get_link_params(struct port_info *pi, unsigned int *link_okp,
H A Dt4_hw.c8672 struct port_info *pi, in t4_enable_pi_params()
8981 int t4_link_set_autoneg(struct port_info *pi, u8 autoneg, in t4_link_set_autoneg()
9004 int t4_link_set_pause(struct port_info *pi, cc_pause_t pause, in t4_link_set_pause()
9112 int t4_link_set_fec(struct port_info *pi, cc_fec_t fec, in t4_link_set_fec()
9565 int t4_update_port_info(struct port_info *pi) in t4_update_port_info()
9672 struct port_info *pi = NULL; in t4_handle_fw_rpl()
10575 struct port_info *p = adap2pinfo(adap, i); in t4_init_rss_mode()
10626 struct port_info *pi = adap2pinfo(adap, i); in t4_mirror_init()
10660 int t4_init_portinfo_viid(struct port_info *pi, int mbox, in t4_init_portinfo_viid()
10777 int t4_init_portinfo(struct port_info *pi, int mbox, in t4_init_portinfo()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c231 fc_fca_port_info_t *port_info) in ql_populate_hba_fru_details() argument
233 fca_port_attrs_t *attrs = &port_info->pi_attrs; in ql_populate_hba_fru_details()
242 attrs = &port_info->pi_attrs; in ql_populate_hba_fru_details()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmac_stx.h63 typedef struct port_info port_info_t;
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c779 ww_pn = &port_info->port_pwwn; in fcip_port_attach()
802 ddi_get_instance(port_info->port_dip)); in fcip_port_attach()
815 port_info->port_handle) { in fcip_port_attach()
823 port_info->port_dip))); in fcip_port_attach()
839 ddi_get_instance(port_info->port_dip)); in fcip_port_attach()
852 fport->fcipp_handle = port_info->port_handle; in fcip_port_attach()
853 fport->fcipp_dip = port_info->port_dip; in fcip_port_attach()
855 fport->fcipp_pstate = port_info->port_state; in fcip_port_attach()
1189 fport->fcipp_topology = port_info->port_flags; in fcip_handle_resume()
1190 fport->fcipp_pstate = port_info->port_state; in fcip_handle_resume()
[all …]
/illumos-gate/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
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c820 uint_t port_info = FALSE; in mptsas_dcmd() local
843 'p', MDB_OPT_SETBITS, TRUE, &port_info, in mptsas_dcmd()
920 if (port_info) in mptsas_dcmd()
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/
H A Dmcp_private.h289 struct drv_port_info_t port_info; member
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c3226 &query_hca_port_32->port_info, ibt_pi, in ibnex_ctl_query_hca_port()
3229 if (ddi_copyout(&query_hca_port_32->port_info, in ibnex_ctl_query_hca_port()
3230 &((ibnex_ctl_query_hca_port_32_t *)arg)->port_info, in ibnex_ctl_query_hca_port()
3250 &query_hca_port->port_info, ibt_pi, in ibnex_ctl_query_hca_port()
3253 if (ddi_copyout(&query_hca_port->port_info, in ibnex_ctl_query_hca_port()
3254 &((ibnex_ctl_query_hca_port_t *)arg)->port_info, in ibnex_ctl_query_hca_port()
/illumos-gate/usr/src/uts/common/sys/
H A Dfct.h260 fct_status_t (*port_info)(uint32_t cmd, member
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c667 if (iport->iport_port->port_info == NULL) { in fct_get_port_stats()
671 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_get_port_stats()
720 if (iport->iport_port->port_info == NULL) { in fct_get_link_status()
724 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_get_link_status()
3600 if (iport->iport_port->port_info == NULL) { in fct_update_stats()
3603 ret = iport->iport_port->port_info(FC_TGT_PORT_RLS, in fct_update_stats()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c13780 fc_fca_port_info_t *port_info; in fp_bind_callbacks() local
13823 port_info = kmem_zalloc(sizeof (*port_info), KM_SLEEP); in fp_bind_callbacks()
13833 port->fp_fca_dip, port_info, &bind_info); in fp_bind_callbacks()
13849 port->fp_service_params = port_info->pi_login_params; in fp_bind_callbacks()
13850 port->fp_hard_addr = port_info->pi_hard_addr; in fp_bind_callbacks()
13853 port->fp_hba_port_attrs = port_info->pi_attrs; in fp_bind_callbacks()
13855 if (port_info->pi_rnid_params.status == FC_SUCCESS) { in fp_bind_callbacks()
13857 bcopy(&port_info->pi_rnid_params.params, in fp_bind_callbacks()
13866 bcopy(&port_info->pi_attrs.sym_node_name, in fp_bind_callbacks()
13873 bcopy(&port_info->pi_attrs.sym_port_name, in fp_bind_callbacks()
[all …]

12