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

12

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmac_stx.h63 typedef struct port_info port_info_t;
H A Dmac_stats.h637 struct port_info { struct
638 u32 size; /* size of this structure (i.e. sizeof(port_info)) */
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c117 port_info_t **port_info = NULL; local
153 port_info = (port_info_t **)malloc(
155 if (port_info == NULL) {
166 port_info[i] = nextptr;
172 (void) qsort((void *)port_info, num_ports,
175 if (port_info[i] != NULL) {
176 port_info[i]->geo_addr = i + 1;
179 free(port_info);
186 port_info_t *port_info = NULL; local
195 port_info
320 port_info_t *port_info = NULL; local
[all...]
/illumos-gate/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;
330 struct port_info *pi = arg;
345 struct port_info *p
[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 *p
[all...]
H A Dadapter.c89 struct port_info *
102 is_10G_port(const struct port_info *pi)
H A Dt4_l2t.h68 struct l2t_entry *t4_l2t_get(struct port_info *pi, conn_t *connp);
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 *p
[all...]
H A Doffload.h107 struct port_info;
H A Dt4_nexus.c155 static int toe_capability(struct port_info *pi, int enable);
425 struct port_info *pi;
523 struct port_info *pi = sc->port[i];
606 struct port_info *pi = sc->port[i];
689 struct port_info *pi;
810 struct port_info *pi;
1795 struct port_info *pi;
1828 struct port_info *pi;
1979 struct port_info *pi = sc->port[i];
2022 port_full_init(struct port_info *p
[all...]
H A Dt4_l2t.c474 t4_l2t_get(struct port_info *pi, conn_t *connp)
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c1775 ibt_hca_portinfo_t *port_info; local
1793 rc = ibt_query_hca_ports(uctxt->hca->hdl, cmd.port_num, &port_info,
1803 "port_num %d, port_info %x, lid %x, sm_lid %x",
1804 cmd.port_num, port_info, port_info->p_opaque1,
1805 port_info->p_sm_lid);
1809 resp.state = port_info->p_linkstate;
1810 resp.max_mtu = port_info->p_mtu;
1811 resp.active_mtu = port_info->p_mtu;
1812 resp.gid_tbl_len = port_info
1872 ibt_hca_portinfo_t *port_info; local
1976 ibt_hca_portinfo_t *port_info; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c1438 * port_info: pointer to info handed back to the transport
1445 emlxs_fca_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info, argument
1490 port_info->pi_error = FC_OUTOFBOUNDS;
1507 port_info->pi_error = FC_ALREADY;
1518 port_info->pi_error = FC_OUTOFBOUNDS;
1528 "fca_bind_port: Port %d: port_info=%p bind_info=%p",
1529 bind_info->port_num, port_info, bind_info);
1588 port_info->pi_port_state = FC_STATE_OFFLINE;
1589 port_info->pi_topology = FC_TOP_UNKNOWN;
1593 port_info
[all...]
/illumos-gate/usr/src/lib/libexacct/demo/
H A Dexdump.c188 struct servent *port_info; local
190 port_info = getservbyport(htons(port), NULL);
191 if (port_info != NULL) {
192 (void) printf("%s", port_info->s_name);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c74 fc_fca_port_info_t *port_info);
110 * port_info = fcoei specific parameters about LV port
121 fcoei_bind_port(dev_info_t *dip, fc_fca_port_info_t *port_info, argument
140 port_info->pi_error = FC_ALREADY;
149 port_info->pi_error = FC_OUTOFBOUNDS;
163 port_info->pi_rnid_params.status = FC_FAILURE;
168 fcoei_populate_hba_fru_details(ss, port_info);
175 port_info->pi_port_state = FC_STATE_FCA_IS_NODMA;
180 bcopy(&ss->ss_els_logi, &port_info->pi_login_params,
759 * port_info
768 fcoei_populate_hba_fru_details(fcoei_soft_state_t *ss, fc_fca_port_info_t *port_info) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c224 * port_info = ptr to LV port strcture.
233 fc_fca_port_info_t *port_info)
235 fca_port_attrs_t *attrs = &port_info->pi_attrs;
244 attrs = &port_info->pi_attrs;
232 ql_populate_hba_fru_details(ql_adapter_state_t *ha, fc_fca_port_info_t *port_info) argument
/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/sys/ib/ibnex/
H A Dibnex_devctl.h217 * Upon successful return from the IOCTL, port_info will contain HCA port
218 * attributes for the specified HCA port. port_info.p_sgid_tbl_sz will contain
219 * the actual number of sgids associated with this port. port_info.p_pkey_tbl_sz
222 * port_info.p_sgid_tbl will point to an array containing sgids. The number of
223 * sgids in the array is sgid_tbl_alloc_sz or port_info.p_sgid_tbl_sz
226 * port_info.p_pkey_tbl will point to an array containing pkeys. The number of
227 * pkeys in the array is pkey_tbl_alloc_sz or port_info.p_pkey_tbl_sz
598 ibnex_ctl_hca_port_info_t port_info; /* out: port information */ member in struct:ibnex_ctl_query_hca_port_s
612 ibnex_ctl_hca_port_info_32_t port_info; /* out: port information */ member in struct:ibnex_ctl_query_hca_port_32_s
/illumos-gate/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, argument
792 ww_pn = &port_info->port_pwwn;
818 ddi_get_instance(port_info->port_dip));
831 port_info->port_handle) {
839 port_info->port_dip)));
855 ddi_get_instance(port_info->port_dip));
867 fport->fcipp_linkage = *port_info->port_linkage;
868 fport->fcipp_handle = port_info->port_handle;
869 fport->fcipp_dip = port_info
1179 fcip_handle_resume(fcip_port_info_t *fport, fc_ulp_port_info_t *port_info, fc_attach_cmd_t cmd) argument
1678 fcip_port_detach(opaque_t ulp_handle, fc_ulp_port_info_t *port_info, fc_detach_cmd_t cmd) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_hca.c806 * ibtl_query_hca_ports - worker routine to get port_info for clients.
1258 * port_info - The address of an array to a ibt_hca_portinfo_t struct.
1268 ibt_free_portinfo(ibt_hca_portinfo_t *port_info, uint_t size) argument
1271 port_info, size);
1273 if ((port_info == NULL) || (size == 0)) {
1276 kmem_free(port_info, size);
/illumos-gate/usr/src/uts/common/sys/
H A Dfct.h259 fct_status_t (*port_info)(uint32_t cmd, member in struct:fct_local_port
/illumos-gate/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c779 uint_t port_info = FALSE; local
802 'p', MDB_OPT_SETBITS, TRUE, &port_info,
879 if (port_info)
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c3203 &query_hca_port_32->port_info, ibt_pi,
3206 if (ddi_copyout(&query_hca_port_32->port_info,
3207 &((ibnex_ctl_query_hca_port_32_t *)arg)->port_info,
3227 &query_hca_port->port_info, ibt_pi,
3230 if (ddi_copyout(&query_hca_port->port_info,
3231 &((ibnex_ctl_query_hca_port_t *)arg)->port_info,
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h345 int t4_port_init(struct port_info *p, int mbox, int pf, int vf);
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c1167 /* Get the port_info and the pkey */
2466 ibt_hca_portinfo_t *port_info, *tmp; local
2477 status = ibt_query_hca_ports_byguid(hca_guidp[i], 0, &port_info,
2485 for (p = 0, tmp = port_info; p < num_ports; p++, tmp++) {
2543 ibt_free_portinfo(port_info, port_size);

Completed in 149 milliseconds

12