• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/ocs_fc/

Lines Matching defs:fc_id

129  * @param fc_id Port ID of sport may be specified, use UINT32_MAX to fabric choose
137 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)
172 /* Update requested fc_id */
173 sport->fc_id = fc_id;
231 spv_set(domain->lookup, sport->fc_id, NULL);
399 * @param fc_id FC_ID of which to attach.
405 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id)
412 spv_set(sport->domain->lookup, fc_id, sport);
416 ocs_node_fcid_display(fc_id, sport->display_name, sizeof(sport->display_name));
422 ocs_log_debug(sport->ocs, "[%s] attach sport: fc_id x%06x\n", sport->display_name, fc_id);
424 rc = ocs_hw_port_attach(&sport->ocs->hw, sport, fc_id);
506 spv_set(domain->lookup, sport->fc_id, NULL);
523 if((node->rnode.fc_id == FC_ADDR_FABRIC) && (sport->is_vport)) {
624 if (sport->fc_id != UINT32_MAX) {
625 ocs_log_debug(ocs, "vport: hard coding port id: %x\n", sport->fc_id);
684 /* if sport->fc_id is uninitialized, then request that the fabric node use FDISC
685 * to find an fc_id. Otherwise we're restoring vports, or we're in
686 * fabric emulation mode, so attach the fc_id
688 if (sport->fc_id == UINT32_MAX) {
697 ocs_sport_attach(sport, sport->fc_id);
788 sport->tgt_id = sport->fc_id;
854 spv_set(domain->lookup, sport->fc_id, NULL);
939 vport->sport = sport = ocs_sport_alloc(domain, vport->wwpn, vport->wwnn, vport->fc_id,
996 * @param fc_id Requested port ID (used in fabric emulation mode).
1009 uint32_t fc_id, uint8_t ini, uint8_t tgt, void *tgt_data,
1026 if (ocs_vport_create_spec(domain->ocs, wwnn, wwpn, fc_id, ini, tgt, tgt_data, ini_data)) {
1034 sport = ocs_sport_alloc(domain, wwpn, wwnn, fc_id, ini, tgt);
1204 ocs_ddump_value(textbuf, "fc_id", "x%06x", sport->fc_id);
1263 ocs_mgmt_emit_property_name(textbuf, MGMT_MODE_RD, "fc_id");
1309 } else if (ocs_strcmp(unqualified_name, "fc_id") == 0) {
1310 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", sport->fc_id);
1372 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", sport->fc_id);
1505 * @param fc_id Requested port ID (used in fabric emulation mode).
1515 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)
1538 vport->fc_id = fc_id;