Lines Matching refs:node
24 efc_fabric_initiate_shutdown(struct efc_node *node) in efc_fabric_initiate_shutdown() argument
26 struct efc *efc = node->efc; in efc_fabric_initiate_shutdown()
28 node->els_io_enabled = false; in efc_fabric_initiate_shutdown()
30 if (node->attached) { in efc_fabric_initiate_shutdown()
37 rc = efc_cmd_node_detach(efc, &node->rnode); in efc_fabric_initiate_shutdown()
39 node_printf(node, "Failed freeing HW node, rc=%d\n", in efc_fabric_initiate_shutdown()
47 efc_node_initiate_cleanup(node); in efc_fabric_initiate_shutdown()
54 struct efc_node *node = NULL; in __efc_fabric_common() local
56 node = ctx->app; in __efc_fabric_common()
62 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_fabric_common()
63 efc_fabric_initiate_shutdown(node); in __efc_fabric_common()
76 struct efc_node *node = ctx->app; in __efc_fabric_init() local
77 struct efc *efc = node->efc; in __efc_fabric_init()
90 efc_send_flogi(node); in __efc_fabric_init()
91 efc_node_transition(node, __efc_fabric_flogi_wait_rsp, NULL); in __efc_fabric_init()
100 efc_fabric_set_topology(struct efc_node *node, in efc_fabric_set_topology() argument
103 node->nport->topology = topology; in efc_fabric_set_topology()
107 efc_fabric_notify_topology(struct efc_node *node) in efc_fabric_notify_topology() argument
116 xa_for_each(&node->nport->lookup, index, tmp_node) { in efc_fabric_notify_topology()
117 if (tmp_node != node) { in efc_fabric_notify_topology()
120 &node->nport->topology); in efc_fabric_notify_topology()
135 struct efc_node *node = ctx->app; in __efc_fabric_flogi_wait_rsp() local
147 WARN_ON(!node->els_req_cnt); in __efc_fabric_flogi_wait_rsp()
148 node->els_req_cnt--; in __efc_fabric_flogi_wait_rsp()
150 memcpy(node->nport->domain->flogi_service_params, in __efc_fabric_flogi_wait_rsp()
158 efc_fabric_set_topology(node, EFC_NPORT_TOPO_FABRIC); in __efc_fabric_flogi_wait_rsp()
159 efc_fabric_notify_topology(node); in __efc_fabric_flogi_wait_rsp()
160 WARN_ON(node->nport->domain->attached); in __efc_fabric_flogi_wait_rsp()
161 efc_domain_attach(node->nport->domain, in __efc_fabric_flogi_wait_rsp()
163 efc_node_transition(node, in __efc_fabric_flogi_wait_rsp()
170 efc_fabric_set_topology(node, EFC_NPORT_TOPO_P2P); in __efc_fabric_flogi_wait_rsp()
171 if (efc_p2p_setup(node->nport)) { in __efc_fabric_flogi_wait_rsp()
172 node_printf(node, in __efc_fabric_flogi_wait_rsp()
174 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_fabric_flogi_wait_rsp()
175 efc_fabric_initiate_shutdown(node); in __efc_fabric_flogi_wait_rsp()
179 if (node->nport->p2p_winner) { in __efc_fabric_flogi_wait_rsp()
180 efc_node_transition(node, in __efc_fabric_flogi_wait_rsp()
183 if (node->nport->domain->attached && in __efc_fabric_flogi_wait_rsp()
184 !node->nport->domain->domain_notify_pend) { in __efc_fabric_flogi_wait_rsp()
189 node_printf(node, in __efc_fabric_flogi_wait_rsp()
191 efc_node_post_event(node, in __efc_fabric_flogi_wait_rsp()
202 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_fabric_flogi_wait_rsp()
203 efc_fabric_initiate_shutdown(node); in __efc_fabric_flogi_wait_rsp()
212 struct efc_nport *nport = node->nport; in __efc_fabric_flogi_wait_rsp()
222 node_printf(node, in __efc_fabric_flogi_wait_rsp()
225 WARN_ON(!node->els_req_cnt); in __efc_fabric_flogi_wait_rsp()
226 node->els_req_cnt--; in __efc_fabric_flogi_wait_rsp()
240 struct efc_node *node = ctx->app; in __efc_vport_fabric_init() local
249 efc_send_fdisc(node); in __efc_vport_fabric_init()
250 efc_node_transition(node, __efc_fabric_fdisc_wait_rsp, NULL); in __efc_vport_fabric_init()
263 struct efc_node *node = ctx->app; in __efc_fabric_fdisc_wait_rsp() local
277 WARN_ON(!node->els_req_cnt); in __efc_fabric_fdisc_wait_rsp()
278 node->els_req_cnt--; in __efc_fabric_fdisc_wait_rsp()
280 efc_nport_attach(node->nport, cbdata->ext_status); in __efc_fabric_fdisc_wait_rsp()
281 efc_node_transition(node, __efc_fabric_wait_domain_attach, in __efc_fabric_fdisc_wait_rsp()
292 WARN_ON(!node->els_req_cnt); in __efc_fabric_fdisc_wait_rsp()
293 node->els_req_cnt--; in __efc_fabric_fdisc_wait_rsp()
294 efc_log_err(node->efc, "FDISC failed, shutting down nport\n"); in __efc_fabric_fdisc_wait_rsp()
296 efc_sm_post_event(&node->nport->sm, EFC_EVT_SHUTDOWN, NULL); in __efc_fabric_fdisc_wait_rsp()
356 struct efc_node *node = ctx->app; in __efc_fabric_wait_domain_attach() local
364 efc_node_hold_frames(node); in __efc_fabric_wait_domain_attach()
368 efc_node_accept_frames(node); in __efc_fabric_wait_domain_attach()
374 rc = efc_start_ns_node(node->nport); in __efc_fabric_wait_domain_attach()
380 if (node->nport->enable_rscn) { in __efc_fabric_wait_domain_attach()
381 rc = efc_start_fabctl_node(node->nport); in __efc_fabric_wait_domain_attach()
385 efc_node_transition(node, __efc_fabric_idle, NULL); in __efc_fabric_wait_domain_attach()
397 struct efc_node *node = ctx->app; in __efc_fabric_idle() local
414 struct efc_node *node = ctx->app; in __efc_ns_init() local
423 efc_send_plogi(node); in __efc_ns_init()
424 efc_node_transition(node, __efc_ns_plogi_wait_rsp, NULL); in __efc_ns_init()
436 struct efc_node *node = ctx->app; in __efc_ns_plogi_wait_rsp() local
451 WARN_ON(!node->els_req_cnt); in __efc_ns_plogi_wait_rsp()
452 node->els_req_cnt--; in __efc_ns_plogi_wait_rsp()
454 efc_node_save_sparms(node, cbdata->els_rsp.virt); in __efc_ns_plogi_wait_rsp()
455 rc = efc_node_attach(node); in __efc_ns_plogi_wait_rsp()
456 efc_node_transition(node, __efc_ns_wait_node_attach, NULL); in __efc_ns_plogi_wait_rsp()
458 efc_node_post_event(node, EFC_EVT_NODE_ATTACH_FAIL, in __efc_ns_plogi_wait_rsp()
471 struct efc_node *node = ctx->app; in __efc_ns_wait_node_attach() local
479 efc_node_hold_frames(node); in __efc_ns_wait_node_attach()
483 efc_node_accept_frames(node); in __efc_ns_wait_node_attach()
487 node->attached = true; in __efc_ns_wait_node_attach()
489 efc_ns_send_rftid(node); in __efc_ns_wait_node_attach()
490 efc_node_transition(node, __efc_ns_rftid_wait_rsp, NULL); in __efc_ns_wait_node_attach()
495 node->attached = false; in __efc_ns_wait_node_attach()
496 node_printf(node, "Node attach failed\n"); in __efc_ns_wait_node_attach()
497 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_ns_wait_node_attach()
498 efc_fabric_initiate_shutdown(node); in __efc_ns_wait_node_attach()
502 node_printf(node, "Shutdown event received\n"); in __efc_ns_wait_node_attach()
503 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_ns_wait_node_attach()
504 efc_node_transition(node, in __efc_ns_wait_node_attach()
525 struct efc_node *node = ctx->app; in __efc_fabric_wait_attach_evt_shutdown() local
533 efc_node_hold_frames(node); in __efc_fabric_wait_attach_evt_shutdown()
537 efc_node_accept_frames(node); in __efc_fabric_wait_attach_evt_shutdown()
542 node->attached = true; in __efc_fabric_wait_attach_evt_shutdown()
543 node_printf(node, "Attach evt=%s, proceed to shutdown\n", in __efc_fabric_wait_attach_evt_shutdown()
545 efc_fabric_initiate_shutdown(node); in __efc_fabric_wait_attach_evt_shutdown()
549 node->attached = false; in __efc_fabric_wait_attach_evt_shutdown()
550 node_printf(node, "Attach evt=%s, proceed to shutdown\n", in __efc_fabric_wait_attach_evt_shutdown()
552 efc_fabric_initiate_shutdown(node); in __efc_fabric_wait_attach_evt_shutdown()
557 node_printf(node, "Shutdown event received\n"); in __efc_fabric_wait_attach_evt_shutdown()
569 struct efc_node *node = ctx->app; in __efc_ns_rftid_wait_rsp() local
581 WARN_ON(!node->els_req_cnt); in __efc_ns_rftid_wait_rsp()
582 node->els_req_cnt--; in __efc_ns_rftid_wait_rsp()
584 efc_ns_send_rffid(node); in __efc_ns_rftid_wait_rsp()
585 efc_node_transition(node, __efc_ns_rffid_wait_rsp, NULL); in __efc_ns_rftid_wait_rsp()
604 struct efc_node *node = ctx->app; in __efc_ns_rffid_wait_rsp() local
620 WARN_ON(!node->els_req_cnt); in __efc_ns_rffid_wait_rsp()
621 node->els_req_cnt--; in __efc_ns_rffid_wait_rsp()
622 if (node->nport->enable_rscn) { in __efc_ns_rffid_wait_rsp()
624 efc_ns_send_gidpt(node); in __efc_ns_rffid_wait_rsp()
626 efc_node_transition(node, __efc_ns_gidpt_wait_rsp, in __efc_ns_rffid_wait_rsp()
630 efc_node_transition(node, __efc_ns_idle, NULL); in __efc_ns_rffid_wait_rsp()
647 efc_process_gidpt_payload(struct efc_node *node, in efc_process_gidpt_payload() argument
652 struct efc_nport *nport = node->nport; in efc_process_gidpt_payload()
653 struct efc *efc = node->efc; in efc_process_gidpt_payload()
670 efc_log_debug(node->efc, "residual is %u words\n", residual); in efc_process_gidpt_payload()
673 node_printf(node, in efc_process_gidpt_payload()
690 node_printf(node, "efc_malloc failed\n"); in efc_process_gidpt_payload()
736 if ((node->nport->enable_ini && active_nodes[i]->targ) || in efc_process_gidpt_payload()
737 (node->nport->enable_tgt && enable_target_rscn(efc))) { in efc_process_gidpt_payload()
741 node_printf(node, in efc_process_gidpt_payload()
752 if (port_id == node->rnode.nport->fc_id) { in efc_process_gidpt_payload()
760 if (!node->nport->enable_ini) in efc_process_gidpt_payload()
775 if (node->nport->enable_ini && newnode->targ) { in efc_process_gidpt_payload()
791 struct efc_node *node = ctx->app; in __efc_ns_gidpt_wait_rsp() local
807 WARN_ON(!node->els_req_cnt); in __efc_ns_gidpt_wait_rsp()
808 node->els_req_cnt--; in __efc_ns_gidpt_wait_rsp()
810 efc_process_gidpt_payload(node, cbdata->els_rsp.virt, in __efc_ns_gidpt_wait_rsp()
812 efc_node_transition(node, __efc_ns_idle, NULL); in __efc_ns_gidpt_wait_rsp()
818 node_printf(node, "GID_PT failed to complete\n"); in __efc_ns_gidpt_wait_rsp()
819 WARN_ON(!node->els_req_cnt); in __efc_ns_gidpt_wait_rsp()
820 node->els_req_cnt--; in __efc_ns_gidpt_wait_rsp()
821 efc_node_transition(node, __efc_ns_idle, NULL); in __efc_ns_gidpt_wait_rsp()
827 node_printf(node, "RSCN received during GID_PT processing\n"); in __efc_ns_gidpt_wait_rsp()
828 node->rscn_pending = true; in __efc_ns_gidpt_wait_rsp()
840 struct efc_node *node = ctx->app; in __efc_ns_idle() local
841 struct efc *efc = node->efc; in __efc_ns_idle()
854 if (!node->rscn_pending) in __efc_ns_idle()
857 node_printf(node, "RSCN pending, restart discovery\n"); in __efc_ns_idle()
858 node->rscn_pending = false; in __efc_ns_idle()
870 !node->nport->enable_ini && node->nport->enable_tgt && in __efc_ns_idle()
872 efc_node_transition(node, __efc_ns_gidpt_delay, NULL); in __efc_ns_idle()
874 efc_ns_send_gidpt(node); in __efc_ns_idle()
875 efc_node_transition(node, __efc_ns_gidpt_wait_rsp, in __efc_ns_idle()
889 struct efc_node *node = from_timer(node, t, gidpt_delay_timer); in gidpt_delay_timer_cb() local
891 del_timer(&node->gidpt_delay_timer); in gidpt_delay_timer_cb()
893 efc_node_post_event(node, EFC_EVT_GIDPT_DELAY_EXPIRED, NULL); in gidpt_delay_timer_cb()
900 struct efc_node *node = ctx->app; in __efc_ns_gidpt_delay() local
901 struct efc *efc = node->efc; in __efc_ns_gidpt_delay()
917 tmp = jiffies_to_msecs(jiffies) - node->time_last_gidpt_msec; in __efc_ns_gidpt_delay()
921 timer_setup(&node->gidpt_delay_timer, &gidpt_delay_timer_cb, in __efc_ns_gidpt_delay()
923 mod_timer(&node->gidpt_delay_timer, in __efc_ns_gidpt_delay()
930 node->time_last_gidpt_msec = jiffies_to_msecs(jiffies); in __efc_ns_gidpt_delay()
932 efc_ns_send_gidpt(node); in __efc_ns_gidpt_delay()
933 efc_node_transition(node, __efc_ns_gidpt_wait_rsp, NULL); in __efc_ns_gidpt_delay()
951 struct efc_node *node = ctx->app; in __efc_fabctl_init() local
958 efc_send_scr(node); in __efc_fabctl_init()
959 efc_node_transition(node, __efc_fabctl_wait_scr_rsp, NULL); in __efc_fabctl_init()
963 node->attached = true; in __efc_fabctl_init()
975 struct efc_node *node = ctx->app; in __efc_fabctl_wait_scr_rsp() local
991 WARN_ON(!node->els_req_cnt); in __efc_fabctl_wait_scr_rsp()
992 node->els_req_cnt--; in __efc_fabctl_wait_scr_rsp()
993 efc_node_transition(node, __efc_fabctl_ready, NULL); in __efc_fabctl_wait_scr_rsp()
1002 efc_process_rscn(struct efc_node *node, struct efc_node_cb *cbdata) in efc_process_rscn() argument
1004 struct efc *efc = node->efc; in efc_process_rscn()
1005 struct efc_nport *nport = node->nport; in efc_process_rscn()
1021 struct efc_node *node = ctx->app; in __efc_fabctl_ready() local
1041 efc_process_rscn(node, cbdata); in __efc_fabctl_ready()
1042 efc_send_ls_acc(node, be16_to_cpu(hdr->fh_ox_id)); in __efc_fabctl_ready()
1043 efc_node_transition(node, __efc_fabctl_wait_ls_acc_cmpl, in __efc_fabctl_ready()
1057 struct efc_node *node = ctx->app; in __efc_fabctl_wait_ls_acc_cmpl() local
1065 efc_node_hold_frames(node); in __efc_fabctl_wait_ls_acc_cmpl()
1069 efc_node_accept_frames(node); in __efc_fabctl_wait_ls_acc_cmpl()
1073 WARN_ON(!node->els_cmpl_cnt); in __efc_fabctl_wait_ls_acc_cmpl()
1074 node->els_cmpl_cnt--; in __efc_fabctl_wait_ls_acc_cmpl()
1075 efc_node_transition(node, __efc_fabctl_ready, NULL); in __efc_fabctl_wait_ls_acc_cmpl()
1121 struct efc_node *node = ctx->app; in __efc_p2p_wait_domain_attach() local
1122 struct efc *efc = node->efc; in __efc_p2p_wait_domain_attach()
1130 efc_node_hold_frames(node); in __efc_p2p_wait_domain_attach()
1134 efc_node_accept_frames(node); in __efc_p2p_wait_domain_attach()
1138 struct efc_nport *nport = node->nport; in __efc_p2p_wait_domain_attach()
1147 WARN_ON(!node->nport->p2p_winner); in __efc_p2p_wait_domain_attach()
1149 rnode = efc_node_find(nport, node->nport->p2p_remote_port_id); in __efc_p2p_wait_domain_attach()
1156 node_printf(node, in __efc_p2p_wait_domain_attach()
1172 efc_fabric_notify_topology(node); in __efc_p2p_wait_domain_attach()
1182 if (node->rnode.fc_id == 0) { in __efc_p2p_wait_domain_attach()
1189 efc_node_init_device(node, false); in __efc_p2p_wait_domain_attach()
1195 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_domain_attach()
1196 efc_fabric_initiate_shutdown(node); in __efc_p2p_wait_domain_attach()
1211 struct efc_node *node = ctx->app; in __efc_p2p_rnode_init() local
1220 efc_send_plogi(node); in __efc_p2p_rnode_init()
1221 efc_node_transition(node, __efc_p2p_wait_plogi_rsp, NULL); in __efc_p2p_rnode_init()
1226 efc_send_bls_acc(node, cbdata->header->dma.virt); in __efc_p2p_rnode_init()
1240 struct efc_node *node = ctx->app; in __efc_p2p_wait_flogi_acc_cmpl() local
1248 efc_node_hold_frames(node); in __efc_p2p_wait_flogi_acc_cmpl()
1252 efc_node_accept_frames(node); in __efc_p2p_wait_flogi_acc_cmpl()
1256 WARN_ON(!node->els_cmpl_cnt); in __efc_p2p_wait_flogi_acc_cmpl()
1257 node->els_cmpl_cnt--; in __efc_p2p_wait_flogi_acc_cmpl()
1260 if (node->nport->p2p_winner) { in __efc_p2p_wait_flogi_acc_cmpl()
1261 efc_node_transition(node, in __efc_p2p_wait_flogi_acc_cmpl()
1264 if (!node->nport->domain->attached) { in __efc_p2p_wait_flogi_acc_cmpl()
1265 node_printf(node, "Domain not attached\n"); in __efc_p2p_wait_flogi_acc_cmpl()
1266 efc_domain_attach(node->nport->domain, in __efc_p2p_wait_flogi_acc_cmpl()
1267 node->nport->p2p_port_id); in __efc_p2p_wait_flogi_acc_cmpl()
1269 node_printf(node, "Domain already attached\n"); in __efc_p2p_wait_flogi_acc_cmpl()
1270 efc_node_post_event(node, in __efc_p2p_wait_flogi_acc_cmpl()
1283 efc_node_init_device(node, false); in __efc_p2p_wait_flogi_acc_cmpl()
1293 node_printf(node, "FLOGI LS_ACC failed, shutting down\n"); in __efc_p2p_wait_flogi_acc_cmpl()
1294 WARN_ON(!node->els_cmpl_cnt); in __efc_p2p_wait_flogi_acc_cmpl()
1295 node->els_cmpl_cnt--; in __efc_p2p_wait_flogi_acc_cmpl()
1296 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_flogi_acc_cmpl()
1297 efc_fabric_initiate_shutdown(node); in __efc_p2p_wait_flogi_acc_cmpl()
1302 efc_send_bls_acc(node, cbdata->header->dma.virt); in __efc_p2p_wait_flogi_acc_cmpl()
1316 struct efc_node *node = ctx->app; in __efc_p2p_wait_plogi_rsp() local
1330 WARN_ON(!node->els_req_cnt); in __efc_p2p_wait_plogi_rsp()
1331 node->els_req_cnt--; in __efc_p2p_wait_plogi_rsp()
1333 efc_node_save_sparms(node, cbdata->els_rsp.virt); in __efc_p2p_wait_plogi_rsp()
1334 rc = efc_node_attach(node); in __efc_p2p_wait_plogi_rsp()
1335 efc_node_transition(node, __efc_p2p_wait_node_attach, NULL); in __efc_p2p_wait_plogi_rsp()
1337 efc_node_post_event(node, EFC_EVT_NODE_ATTACH_FAIL, in __efc_p2p_wait_plogi_rsp()
1346 node_printf(node, "PLOGI failed, shutting down\n"); in __efc_p2p_wait_plogi_rsp()
1347 WARN_ON(!node->els_req_cnt); in __efc_p2p_wait_plogi_rsp()
1348 node->els_req_cnt--; in __efc_p2p_wait_plogi_rsp()
1349 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_plogi_rsp()
1350 efc_fabric_initiate_shutdown(node); in __efc_p2p_wait_plogi_rsp()
1357 if (node->efc->external_loopback) { in __efc_p2p_wait_plogi_rsp()
1358 efc_send_plogi_acc(node, be16_to_cpu(hdr->fh_ox_id)); in __efc_p2p_wait_plogi_rsp()
1376 efc_process_prli_payload(node, cbdata->payload->dma.virt); in __efc_p2p_wait_plogi_rsp()
1377 efc_send_ls_acc_after_attach(node, in __efc_p2p_wait_plogi_rsp()
1380 efc_node_transition(node, __efc_p2p_wait_plogi_rsp_recvd_prli, in __efc_p2p_wait_plogi_rsp()
1393 struct efc_node *node = ctx->app; in __efc_p2p_wait_plogi_rsp_recvd_prli() local
1412 efc_node_hold_frames(node); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1416 efc_node_accept_frames(node); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1427 WARN_ON(!node->els_req_cnt); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1428 node->els_req_cnt--; in __efc_p2p_wait_plogi_rsp_recvd_prli()
1430 efc_node_save_sparms(node, cbdata->els_rsp.virt); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1431 rc = efc_node_attach(node); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1432 efc_node_transition(node, __efc_p2p_wait_node_attach, NULL); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1434 efc_node_post_event(node, EFC_EVT_NODE_ATTACH_FAIL, in __efc_p2p_wait_plogi_rsp_recvd_prli()
1445 WARN_ON(!node->els_req_cnt); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1446 node->els_req_cnt--; in __efc_p2p_wait_plogi_rsp_recvd_prli()
1447 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_plogi_rsp_recvd_prli()
1448 efc_fabric_initiate_shutdown(node); in __efc_p2p_wait_plogi_rsp_recvd_prli()
1461 struct efc_node *node = ctx->app; in __efc_p2p_wait_node_attach() local
1469 efc_node_hold_frames(node); in __efc_p2p_wait_node_attach()
1473 efc_node_accept_frames(node); in __efc_p2p_wait_node_attach()
1477 node->attached = true; in __efc_p2p_wait_node_attach()
1478 switch (node->send_ls_acc) { in __efc_p2p_wait_node_attach()
1480 efc_d_send_prli_rsp(node->ls_acc_io, in __efc_p2p_wait_node_attach()
1481 node->ls_acc_oxid); in __efc_p2p_wait_node_attach()
1482 node->send_ls_acc = EFC_NODE_SEND_LS_ACC_NONE; in __efc_p2p_wait_node_attach()
1483 node->ls_acc_io = NULL; in __efc_p2p_wait_node_attach()
1491 efc_node_transition(node, __efc_d_port_logged_in, in __efc_p2p_wait_node_attach()
1499 node->attached = false; in __efc_p2p_wait_node_attach()
1500 node_printf(node, "Node attach failed\n"); in __efc_p2p_wait_node_attach()
1501 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_node_attach()
1502 efc_fabric_initiate_shutdown(node); in __efc_p2p_wait_node_attach()
1506 node_printf(node, "%s received\n", efc_sm_event_name(evt)); in __efc_p2p_wait_node_attach()
1507 node->shutdown_reason = EFC_NODE_SHUTDOWN_DEFAULT; in __efc_p2p_wait_node_attach()
1508 efc_node_transition(node, in __efc_p2p_wait_node_attach()
1513 node_printf(node, "%s: PRLI received before node is attached\n", in __efc_p2p_wait_node_attach()
1515 efc_process_prli_payload(node, cbdata->payload->dma.virt); in __efc_p2p_wait_node_attach()
1516 efc_send_ls_acc_after_attach(node, in __efc_p2p_wait_node_attach()