/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_sport.h | 42 extern ocs_sport_t *ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, 80 extern int32_t ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id); 91 extern int32_t ocs_sport_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t ini, uint8_t tgt, void *tgt_data, void *ini_data, uint8_t restore_vport); 95 extern int8_t ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini, uint32_t enable_tgt, void *tgt_data, void *ini_data);
|
H A D | ocs_sport.c | 127 * @param fc_id Port ID of sport may be specified, use UINT32_MAX to fabric choose 135 ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t enable_ini, uint8_t enable_tgt) argument 170 /* Update requested fc_id */ 171 sport->fc_id = fc_id; 229 spv_set(domain->lookup, sport->fc_id, NULL); 397 * @param fc_id FC_ID of which to attach. 403 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id) argument 410 spv_set(sport->domain->lookup, fc_id, sport); 414 ocs_node_fcid_display(fc_id, spor 1006 ocs_sport_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t ini, uint8_t tgt, void *tgt_data, void *ini_data, uint8_t restore_vport) argument 1513 ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint32_t enable_ini, uint32_t enable_tgt, void *tgt_data, void *ini_data) argument [all...] |
H A D | ocs_domain.c | 558 * Note: drec->fc_id is ALPA from read_topology only if loop 578 ocs_log_debug(ocs, "%s fc_id=%#x speed=%d\n", 580 drec->fc_id, drec->speed); 582 sport->fc_id = drec->fc_id; 584 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "s%06x", drec->fc_id); 590 if (drec->map.loop[i] != drec->fc_id) { 594 drec->fc_id, drec->map.loop[i]); 695 __ocs_domain_attach_internal(domain, sport->fc_id); 775 uint32_t fc_id; local 997 uint32_t fc_id; local [all...] |
H A D | ocs_common.h | 117 uint32_t fc_id; /**< our ports fc_id */ member in struct:ocs_domain_record_s 176 uint32_t fc_id; /**< FC address */ member in struct:ocs_sli_port_s 188 sparse_vector_t lookup; /**< fc_id to node lookup object */ 275 uint32_t fc_id; /**< FC address */ member in struct:ocs_remote_node_s 407 uint32_t fc_id; /*>> port id */ member in struct:ocs_vport_spec_s
|
H A D | ocs.h | 80 uint32_t fc_id; member in struct:ocs_fcport_s
|
H A D | ocs_node.c | 517 spv_set(sport->lookup, node->rnode.fc_id, NULL); 657 * @brief Generate text for a node's fc_id 659 * The text for a nodes fc_id is generated, either as a well known name, or a 6 digit 662 * @param fc_id fc_id 670 ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length) argument 672 switch (fc_id) { 683 if (FC_ADDR_IS_DOMAIN_CTRL(fc_id)) { 685 FC_ADDR_GET_DOMAIN_CTRL(fc_id)); 687 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); [all...] |
H A D | ocs_fabric.c | 207 /* ext_status has the fc_id, attach domain */ 311 /* fc_id is in ext_status */ 1362 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id); 1378 if (node->rnode.fc_id == 0) { 1890 /* Fill buffer with fc_id of active nodes */ 1893 port_id = n->rnode.fc_id; 1912 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { 1933 active_nodes[i]->rnode.fc_id); 1945 if (port_id != node->rnode.sport->fc_id [all...] |
H A D | ocs_node.h | 202 extern void ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length);
|
H A D | sli4.c | 1371 reg_vfi->local_n_port_id = domain->sport->fc_id; 1402 reg_vpi->local_n_port_id = sport->fc_id; 1561 * @param fc_id FC address. 1567 uint32_t fc_id) 1583 if (fc_id != UINT32_MAX) { 1585 unreg_rpi->destination_n_port_id = fc_id & 0x00ffffff; 6642 els->remote_id = rnode->fc_id & 0x00ffffff; 6661 if (FC_ADDR_FABRIC == rnode->fc_id) { 6666 if (FC_ADDR_FABRIC == rnode->fc_id) { 6669 if (0 == rnode->sport->fc_id) { 1566 sli_cmd_unreg_rpi(sli4_t *sli4, void *buf, size_t size, uint16_t indicator, sli4_resource_e which, uint32_t fc_id) argument [all...] |
H A D | ocs_els.c | 929 logo->port_id = fc_htobe24(node->rnode.sport->fc_id); 989 adisc->hard_address = fc_htobe24(sport->fc_id); 994 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); 1394 io->iparam.els_sid.s_id = io->node->sport->fc_id; 1680 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); 1733 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); 1786 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); 1907 if (node->rnode.sport->fc_id == s_id) {
|
H A D | ocs_cam.c | 444 adc->port = node->rnode.fc_id; 510 adc->port = node->rnode.fc_id; 912 fcp->fc_id = sport->fc_id; 939 fcp->fc_id = 0; 1024 tgt->port_id = node->rnode.fc_id; 2124 fc->port = fcp->fc_id;
|
H A D | ocs_unsol.c | 598 if (sport->fc_id != d_id) { 676 ocs_assert(port_id == node->rnode.fc_id, -1);
|
H A D | ocs_hw.c | 261 hw->link.fc_id = UINT32_MAX; 2524 * @param fc_id Fibre Channel ID to associate with this port. 2529 ocs_hw_port_attach(ocs_hw_t *hw, ocs_sli_port_t *sport, uint32_t fc_id) argument 2555 sport->fc_id = fc_id; 2835 * @param fc_id Fibre Channel ID to associate with this port. 2840 ocs_hw_domain_attach(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fc_id) argument 2866 domain->sport->fc_id = fc_id; 2973 rnode->fc_id 3140 uint32_t fc_id; local [all...] |
H A D | ocs_device.c | 732 if ((node->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)) { 1443 if (node->sport->enable_ini && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)
|
H A D | ocs_ddump.c | 731 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id);
|
H A D | ocs_ioctl.c | 980 ocs->domain->sport->fc_id);
|
H A D | ocs_mgmt.c | 150 {"fc_id", get_fcid, NULL, NULL}, 891 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", 892 ocs->domain->sport->fc_id); 894 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "UNKNOWN");
|
H A D | sli4.h | 3161 uint32_t fc_id; member in struct:sli4_link_event_s
|