Home
last modified time | relevance | path

Searched refs:port_attr (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_hca.c321 ibdm_port_attr_t *port_attr; in ibnex_config_obp_args() local
355 if ((port_attr = ibdm_ibnex_probe_hcaport( in ibnex_config_obp_args()
363 while (port_attr->pa_state != IBT_PORT_ACTIVE) { in ibnex_config_obp_args()
364 ibdm_ibnex_free_port_attr(port_attr); in ibnex_config_obp_args()
366 if ((port_attr = ibdm_ibnex_probe_hcaport( in ibnex_config_obp_args()
373 "initialization", port_attr->pa_port_num); in ibnex_config_obp_args()
381 port_guid = port_attr->pa_port_guid; in ibnex_config_obp_args()
386 ibdm_ibnex_free_port_attr(port_attr); in ibnex_config_obp_args()
389 for (ii = 0; ii < port_attr->pa_npkeys; ii++) { in ibnex_config_obp_args()
390 if (pkey == port_attr->pa_pkey_tbl[ii].pt_pkey) { in ibnex_config_obp_args()
[all …]
H A Dibnex.c1278 ibdm_port_attr_t *port_attr; in ibnex_config_root_iocnode() local
1303 if ((port_attr = ibdm_ibnex_probe_hcaport(hca_guid, port)) == NULL) { in ibnex_config_root_iocnode()
1310 while (port_attr->pa_state != IBT_PORT_ACTIVE) { in ibnex_config_root_iocnode()
1311 ibdm_ibnex_free_port_attr(port_attr); in ibnex_config_root_iocnode()
1313 if ((port_attr = ibdm_ibnex_probe_hcaport( in ibnex_config_root_iocnode()
1321 "initialization", port_attr->pa_port_num); in ibnex_config_root_iocnode()
1326 ibdm_ibnex_free_port_attr(port_attr); in ibnex_config_root_iocnode()
1447 ibnex_create_port_nodes(dev_info_t *parent, ibdm_port_attr_t *port_attr) in ibnex_create_port_nodes() argument
1455 rval = ibnex_get_dip_from_guid(port_attr->pa_port_guid, in ibnex_create_port_nodes()
1458 (void) ibnex_commsvc_initnode(parent, port_attr, idx, in ibnex_create_port_nodes()
[all …]
H A Dibnex_ioctl.c1157 ibdm_port_attr_t *port_attr; in ibnex_get_snapshot() local
1185 port_attr = hca_list->hl_hca_port_attr; in ibnex_get_snapshot()
1188 port_attr->pa_hca_guid, in ibnex_get_snapshot()
1189 port_attr->pa_hca_guid, j, (ib_pkey_t)0, in ibnex_get_snapshot()
1202 port_attr = &hca_list->hl_port_attr[j]; in ibnex_get_snapshot()
1209 port_attr->pa_hca_guid, in ibnex_get_snapshot()
1210 port_attr->pa_port_guid, k, (ib_pkey_t)0, in ibnex_get_snapshot()
1224 for (l = 0; l < port_attr->pa_npkeys; l++) { in ibnex_get_snapshot()
1225 pkey = port_attr->pa_pkey_tbl[l].pt_pkey; in ibnex_get_snapshot()
1233 port_attr->pa_hca_guid, in ibnex_get_snapshot()
[all …]
/titanic_44/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c406 fc_tgt_hba_port_attributes_t *port_attr, uint32_t *err_detail) in fct_get_adapter_port_attr() argument
413 port_attr->version = FCT_HBA_PORT_ATTRIBUTES_VERSION; in fct_get_adapter_port_attr()
429 port_attr->lastChange = iport->iport_last_change; in fct_get_adapter_port_attr()
430 bcopy(iport->iport_port->port_nwwn, port_attr->NodeWWN, in fct_get_adapter_port_attr()
431 sizeof (port_attr->NodeWWN)); in fct_get_adapter_port_attr()
432 bcopy(iport->iport_port->port_pwwn, port_attr->PortWWN, in fct_get_adapter_port_attr()
433 sizeof (port_attr->PortWWN)); in fct_get_adapter_port_attr()
434 bzero(port_attr->FabricName, sizeof (port_attr->FabricName)); in fct_get_adapter_port_attr()
435 port_attr->PortFcId = iport->iport_link_info.portid; in fct_get_adapter_port_attr()
438 port_attr->PortState = FC_HBA_PORTSTATE_ONLINE; in fct_get_adapter_port_attr()
[all …]
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c861 ibdm_port_attr_t *port_attr; in ibdm_get_port_attr() local
870 port_attr = &hca_list->hl_port_attr[ii]; in ibdm_get_port_attr()
871 if (port_attr->pa_port_num == event->ev_port) { in ibdm_get_port_attr()
873 return (port_attr); in ibdm_get_port_attr()
941 ibdm_port_attr_t *port_attr; in ibdm_handle_hca_attach() local
992 port_attr = hca_list->hl_hca_port_attr; in ibdm_handle_hca_attach()
993 port_attr->pa_vendorid = hca_attr->hca_vendor_id; in ibdm_handle_hca_attach()
994 port_attr->pa_productid = hca_attr->hca_device_id; in ibdm_handle_hca_attach()
995 port_attr->pa_dev_version = hca_attr->hca_version_id; in ibdm_handle_hca_attach()
996 port_attr->pa_hca_guid = hca_attr->hca_node_guid; in ibdm_handle_hca_attach()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Daggr_rcm.c1370 dladm_aggr_port_attr_db_t port_attr; in aggr_configure() local
1406 port_attr.lp_linkid = portid; in aggr_configure()
1407 status = dladm_aggr_add(handle, aggrid, 1, &port_attr, in aggr_configure()