Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_sport.c173 sport->fc_id = fc_id; in ocs_sport_alloc()
231 spv_set(domain->lookup, sport->fc_id, NULL); in ocs_sport_free()
405 ocs_sport_attach(ocs_sport_t *sport, uint32_t fc_id) in ocs_sport_attach() argument
412 spv_set(sport->domain->lookup, fc_id, sport); in ocs_sport_attach()
506 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_common()
624 if (sport->fc_id != UINT32_MAX) { in __ocs_sport_vport_init()
688 if (sport->fc_id == UINT32_MAX) { in __ocs_sport_vport_wait_alloc()
697 ocs_sport_attach(sport, sport->fc_id); in __ocs_sport_vport_wait_alloc()
788 sport->tgt_id = sport->fc_id; in __ocs_sport_attached()
854 spv_set(domain->lookup, sport->fc_id, NULL); in __ocs_sport_wait_shutdown()
[all …]
H A Docs_sport.h44 …rn 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 …rt_vport_new(ocs_domain_t *domain, uint64_t wwpn, uint64_t wwnn, uint32_t fc_id, uint8_t ini, uint…
97 extern int8_t ocs_vport_create_spec(ocs_t *ocs, uint64_t wwnn, uint64_t wwpn, uint32_t fc_id, uint3…
H A Docs_domain.c582 drec->fc_id, drec->speed); in __ocs_domain_init()
584 sport->fc_id = drec->fc_id; in __ocs_domain_init()
592 if (drec->map.loop[i] != drec->fc_id) { in __ocs_domain_init()
596 drec->fc_id, drec->map.loop[i]); in __ocs_domain_init()
777 uint32_t fc_id; in __ocs_domain_allocated() local
781 fc_id = *((uint32_t*)arg); in __ocs_domain_allocated()
785 spv_set(domain->lookup, fc_id, domain->sport); in __ocs_domain_allocated()
792 rc = ocs_hw_domain_attach(&ocs->hw, domain, fc_id); in __ocs_domain_allocated()
999 uint32_t fc_id; in __ocs_domain_ready() local
1002 fc_id = *((uint32_t*)arg); in __ocs_domain_ready()
[all …]
H A Docs_common.h119 uint32_t fc_id; /**< our ports fc_id */ member
178 uint32_t fc_id; /**< FC address */ member
277 uint32_t fc_id; /**< FC address */ member
409 uint32_t fc_id; /*>> port id */ member
H A Docs_node.c519 spv_set(sport->lookup, node->rnode.fc_id, NULL); in ocs_node_free()
672 ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length) in ocs_node_fcid_display() argument
674 switch (fc_id) { in ocs_node_fcid_display()
685 if (FC_ADDR_IS_DOMAIN_CTRL(fc_id)) { in ocs_node_fcid_display()
687 FC_ADDR_GET_DOMAIN_CTRL(fc_id)); in ocs_node_fcid_display()
689 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); in ocs_node_fcid_display()
710 uint32_t port_id = node->rnode.fc_id; in ocs_node_update_display_name()
1524 ocs_ddump_value(textbuf, "fc_id", "%#06x", node->rnode.fc_id); in ocs_ddump_node()
1757 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", node->rnode.fc_id); in ocs_mgmt_node_get()
1848 ocs_mgmt_emit_int(textbuf, MGMT_MODE_RD, "fc_id", "0x%06x", node->rnode.fc_id); in ocs_mgmt_node_get_all()
H A Docs_fabric.c1364 node_printf(node, "Node with fc_id x%x already exists\n", rnode->rnode.fc_id); in __ocs_p2p_wait_domain_attach()
1380 if (node->rnode.fc_id == 0) { in __ocs_p2p_wait_domain_attach()
1895 port_id = n->rnode.fc_id; in ocs_process_gidpt_payload()
1914 if ((active_nodes[j] != NULL) && (port_id == active_nodes[j]->rnode.fc_id)) { in ocs_process_gidpt_payload()
1935 active_nodes[i]->rnode.fc_id); in ocs_process_gidpt_payload()
1947 if (port_id != node->rnode.sport->fc_id && !ocs_sport_find(sport->domain, port_id)) { in ocs_process_gidpt_payload()
H A Docs_els.c931 logo->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_logo()
991 adisc->hard_address = fc_htobe24(sport->fc_id); in ocs_send_adisc()
996 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc()
1396 io->iparam.els_sid.s_id = io->node->sport->fc_id; in ocs_send_flogi_acc()
1682 adisc->port_id = fc_htobe24(node->rnode.sport->fc_id); in ocs_send_adisc_acc()
1735 rftid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rftid()
1788 rffid->port_id = ocs_htobe32(node->rnode.sport->fc_id); in ocs_ns_send_rffid()
1909 if (node->rnode.sport->fc_id == s_id) { in ocs_bls_send_acc()
H A Dsli4.c1404 reg_vpi->local_n_port_id = sport->fc_id; in sli_cmd_reg_vpi()
1569 uint32_t fc_id) in sli_cmd_unreg_rpi() argument
1585 if (fc_id != UINT32_MAX) { in sli_cmd_unreg_rpi()
6663 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe()
6668 if (FC_ADDR_FABRIC == rnode->fc_id) { in sli_els_request64_wqe()
6671 if (0 == rnode->sport->fc_id) { in sli_els_request64_wqe()
6709 if (rnode->sport->fc_id != UINT32_MAX) { in sli_els_request64_wqe()
6710 els->sid = rnode->sport->fc_id; in sli_els_request64_wqe()
6745 els->remote_id = rnode->fc_id; in sli_els_request64_wqe()
7292 trsp->dword5 = rnode->fc_id & 0x00ffffff; in sli_fcp_trsp64_wqe()
[all …]
H A Docs.h82 uint32_t fc_id; member
H A Docs_cam.c424 adc->port = node->rnode.fc_id; in ocs_scsi_new_initiator()
490 adc->port = node->rnode.fc_id; in ocs_scsi_del_initiator()
892 fcp->fc_id = sport->fc_id; in ocs_scsi_ini_new_sport()
919 fcp->fc_id = 0; in ocs_scsi_ini_del_sport()
1004 tgt->port_id = node->rnode.fc_id; in ocs_update_tgt()
2047 fc->port = fcp->fc_id; in ocs_action()
H A Docs_node.h204 extern void ocs_node_fcid_display(uint32_t fc_id, char *buffer, uint32_t buffer_length);
H A Docs_hw.c251 hw->link.fc_id = UINT32_MAX; in ocs_hw_link_event_init()
2545 sport->fc_id = fc_id; in ocs_hw_port_attach()
2856 domain->sport->fc_id = fc_id; in ocs_hw_domain_attach()
2963 rnode->fc_id = fc_addr; in ocs_hw_node_alloc()
3078 rnode->indicator, rnode->fc_id); in ocs_hw_node_free_resources()
3130 uint32_t fc_id; in ocs_hw_node_detach() local
3147 fc_id = UINT32_MAX; in ocs_hw_node_detach()
3155 fc_id = rnode->fc_id & 0x00ffffff; in ocs_hw_node_detach()
3161 SLI_RSRC_FCOE_RPI, fc_id)) { in ocs_hw_node_detach()
3255 rnode->indicator, rnode->fc_id); in ocs_hw_node_group_attach()
[all …]
H A Docs_unsol.c600 if (sport->fc_id != d_id) { in ocs_domain_dispatch_frame()
678 ocs_assert(port_id == node->rnode.fc_id, -1); in ocs_node_dispatch_frame()
H A Docs_device.c734 …de->ocs->nodedb_mask & OCS_NODEDB_PAUSE_NEW_NODES) && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id)) { in ocs_node_init_device()
1445 if (node->sport->enable_ini && !FC_ADDR_IS_DOMAIN_CTRL(node->rnode.fc_id) in __ocs_d_port_logged_in()
H A Docs_ddump.c733 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id); in ocs_ddump()
H A Docs_ioctl.c966 ocs->domain->sport->fc_id); in ocs_sysctl_fcid()
H A Docs_mgmt.c894 ocs->domain->sport->fc_id); in get_fcid()
H A Dsli4.h3163 uint32_t fc_id; member