Searched refs:fc_id (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_sport.h44 extern ocs_sport_t *ocs_sport_alloc(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id,
82 extern int32_t ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id);
93 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);
97 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 Docs_sport.c130 * @param fc_id Port ID of sport may be specified, use UINT32_MAX to fabric choose
138 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
173 /* Update requested fc_id */
174 sport->fc_id = fc_id;
232 spv_set(domain->lookup, sport->fc_id, NULL);
400 * @param fc_id FC_ID of which to attach.
406 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id) argument
413 spv_set(sport->domain->lookup, fc_id, sport);
417 ocs_node_fcid_display(fc_id, spor
1011 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
1524 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 Docs_domain.c565 * Note: drec->fc_id is ALPA from read_topology only if loop
585 ocs_log_debug(ocs, "%s fc_id=%#x speed=%d\n",
587 drec->fc_id, drec->speed);
589 sport->fc_id = drec->fc_id;
591 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "s%06x", drec->fc_id);
597 if (drec->map.loop[i] != drec->fc_id) {
601 drec->fc_id, drec->map.loop[i]);
702 __ocs_domain_attach_internal(domain, sport->fc_id);
782 uint32_t fc_id; local
1005 uint32_t fc_id; local
[all...]
H A Docs_common.h120 uint32_t fc_id; /**< our ports fc_id */ member in struct:ocs_domain_record_s
180 uint32_t fc_id; /**< FC address */ member in struct:ocs_sli_port_s
192 sparse_vector_t lookup; /**< fc_id to node lookup object */
280 uint32_t fc_id; /**< FC address */ member in struct:ocs_remote_node_s
414 uint32_t fc_id; /*>> port id */ member in struct:ocs_vport_spec_s
H A Docs.h87 uint32_t fc_id; member in struct:ocs_fcport_s
H A Docs_node.c521 spv_set(sport->lookup, node->rnode.fc_id, NULL);
661 * @brief Generate text for a node's fc_id
663 * The text for a nodes fc_id is generated, either as a well known name, or a 6 digit
666 * @param fc_id fc_id
674 ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length) argument
676 switch (fc_id) {
687 if (FC_ADDR_IS_DOMAIN_CTRL(fc_id)) {
689 FC_ADDR_GET_DOMAIN_CTRL(fc_id));
691 ocs_snprintf(buffer, buffer_length, "%06x", fc_id);
[all...]
H A Docs_fabric.c210 /* ext_status has the fc_id, attach domain */
306 /* fc_id is in ext_status */
1359 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id);
1375 if (node->rnode.fc_id == 0) {
1888 /* Fill buffer with fc_id of active nodes */
1891 port_id = n->rnode.fc_id;
1910 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) {
1931 active_nodes[i]->rnode.fc_id);
1943 if (port_id != node->rnode.sport->fc_id
[all...]
H A Docs_node.h205 extern void ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length);
H A Dsli4.c1281 reg_vfi->local_n_port_id = domain->sport->fc_id;
1312 reg_vpi->local_n_port_id = sport->fc_id;
1472 * @param fc_id FC address.
1478 uint32_t fc_id)
1494 if (fc_id != UINT32_MAX) {
1496 unreg_rpi->destination_n_port_id = fc_id & 0x00ffffff;
6496 els->remote_id = rnode->fc_id & 0x00ffffff;
6515 if (FC_ADDR_FABRIC == rnode->fc_id) {
6520 if (FC_ADDR_FABRIC == rnode->fc_id) {
6523 if (0 == rnode->sport->fc_id) {
1477 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 Docs_els.c936 logo->port_id = fc_htobe24(node->rnode.sport->fc_id);
996 adisc->hard_address = fc_htobe24(sport->fc_id);
1001 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id);
1401 io->iparam.els_sid.s_id = io->node->sport->fc_id;
1687 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id);
1741 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id);
1795 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id);
1918 if (node->rnode.sport->fc_id == s_id) {
H A Docs_cam.c425 adc->port = node->rnode.fc_id;
491 adc->port = node->rnode.fc_id;
893 fcp->fc_id = sport->fc_id;
920 fcp->fc_id = 0;
1005 tgt->port_id = node->rnode.fc_id;
2023 fc->port = fcp->fc_id;
H A Docs_unsol.c603 if (sport->fc_id != d_id) {
681 ocs_assert(port_id == node->rnode.fc_id, -1);
H A Docs_hw.c255 hw->link.fc_id = UINT32_MAX;
2527 * @param fc_id Fibre Channel ID to associate with this port.
2532 ocs_hw_port_attach(ocs_hw_t *hw, ocs_sli_port_t *sport, uint32_t fc_id) argument
2558 sport->fc_id = fc_id;
2840 * @param fc_id Fibre Channel ID to associate with this port.
2845 ocs_hw_domain_attach(ocs_hw_t *hw, ocs_domain_t *domain, uint32_t fc_id) argument
2871 domain->sport->fc_id = fc_id;
2978 rnode->fc_id
3146 uint32_t fc_id; local
[all...]
H A Docs_device.c744 if ((node->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)) {
1455 if (node->sport->enable_ini && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)
H A Docs_ddump.c737 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id);
H A Docs_ioctl.c986 ocs->domain->sport->fc_id);
H A Docs_mgmt.c160 {"fc_id", get_fcid, NULL, NULL},
1052 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x",
1053 ocs->domain->sport->fc_id);
1055 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "UNKNOWN");
H A Dsli4.h3112 uint32_t fc_id; member in struct:sli4_link_event_s

Completed in 264 milliseconds