Lines Matching full:fcs
17 BFA_TRC_FILE(FCS, PORT);
124 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
125 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
133 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
141 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
142 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
167 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
180 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
227 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
239 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
240 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_offline()
283 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_offline()
291 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
292 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_stopping()
307 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_stopping()
316 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
317 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_deleting()
328 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_deleting()
343 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
353 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_aen_post()
357 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_lport_aen_post()
373 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_ls_rjt()
374 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_ls_rjt()
376 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
403 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_fcgs_rjt()
404 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_fcgs_rjt()
406 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
432 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_plogi()
433 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
438 if (__fcs_min_cfg(port->fcs)) { in bfa_fcs_lport_plogi()
439 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
444 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
540 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_echo()
541 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_echo()
543 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
555 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_echo()
556 bfa_trc(port->fcs, pyld_len); in bfa_fcs_lport_echo()
584 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_rnid()
585 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_rnid()
586 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_rnid()
588 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
598 bfa_trc(port->fcs, rnid->node_id_data_format); in bfa_fcs_lport_rnid()
643 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions()
646 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
665 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions()
668 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
717 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_abts_acc()
718 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_abts_acc()
720 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
735 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted()
764 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
835 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
836 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
837 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
847 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
848 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
851 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
855 bfa_trc(lport->fcs, els_cmd->els_code); in bfa_fcs_lport_uf_recv()
898 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_pid()
917 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_old_pid()
936 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_pwwn()
956 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_qualifier()
1042 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach() argument
1045 lport->fcs = fcs; in bfa_fcs_lport_attach()
1046 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1065 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init()
1070 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport, in bfa_fcs_lport_init()
1179 * Called by fcs/port to initialize N2N topology.
1187 * Called by fcs/port to notify transition to online state.
1196 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1217 bfa_trc(port->fcs, rport->pid); in bfa_fcs_lport_n2n_online()
1218 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1232 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1241 * Called by fcs/port to notify transition to offline state.
1248 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_n2n_offline()
1259 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr()
1267 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1273 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1274 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1283 * Called by fcs/port to initialize Loop topology.
1291 * Called by fcs/port to notify transition to online state.
1308 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1309 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1312 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1315 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1327 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1339 * Called by fcs/port to notify transition to offline state.
1394 * fcs_fdmi_sm FCS FDMI state machine
1437 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_offline()
1438 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1467 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1477 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1478 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1492 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1502 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba()
1503 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1541 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1551 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1552 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1569 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1582 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1583 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1597 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1607 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt()
1608 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1644 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1654 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1655 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1672 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1685 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1686 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1700 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1710 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa()
1711 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1745 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1755 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1756 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1773 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1783 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_online()
1784 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1792 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1804 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_disabled()
1805 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_disabled()
1823 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rhba()
1826 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rhba()
1828 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rhba()
2127 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2133 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2146 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2147 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2164 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2167 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2169 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2428 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2450 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2456 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2469 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2470 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2487 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2490 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2492 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2542 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2548 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2561 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2562 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2579 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2584 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2586 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2588 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2590 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2592 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2594 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2596 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2624 cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); in bfa_fcs_fdmi_get_hbaattr()
2635 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2644 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2676 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2758 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2817 * fcs_ms_sm FCS MS state machine
2849 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2850 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2862 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2870 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2871 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2885 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2893 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2894 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2936 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2944 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2945 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2962 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2970 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
2971 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
2985 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
2993 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
2994 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3008 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3016 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3017 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3048 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3056 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3057 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3074 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3090 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
3093 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3095 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3127 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3128 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
3134 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3187 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3188 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3196 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3197 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3211 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3219 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3220 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3249 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3257 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3258 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3275 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3291 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3294 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3296 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3324 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3325 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3331 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3350 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3351 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3368 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3371 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3374 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3384 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3385 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3406 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3407 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3414 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3425 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3437 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3438 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3446 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3585 * fcs_ns_sm FCS nameserver interface state machine
3648 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3649 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3661 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3669 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3670 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3684 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3692 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3693 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3719 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3727 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3728 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3745 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3753 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3754 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3767 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3775 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3776 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3807 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3815 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3816 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3830 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3838 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3839 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3853 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3861 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3862 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3892 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3900 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3901 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3915 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3923 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3924 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3938 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3946 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
3947 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3972 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3980 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
3981 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
3998 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4006 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4007 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4021 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4029 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4030 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4056 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4064 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4065 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4079 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4087 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4088 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4102 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4110 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4111 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4121 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4159 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4167 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4168 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4182 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4189 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4190 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4204 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4212 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4213 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4243 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4251 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4252 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4266 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4274 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4275 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4295 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4314 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4317 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4320 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4330 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4331 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4353 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4354 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4360 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4372 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4384 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4385 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4394 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4411 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4414 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4417 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4449 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4455 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4471 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4472 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4489 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4492 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4495 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4502 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4528 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4534 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4550 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4551 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4571 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4574 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4577 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4594 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4626 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4632 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4648 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4649 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4665 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4668 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4671 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4699 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4705 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4721 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4722 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4739 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4742 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4745 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4777 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4783 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4799 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4800 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4811 * TBD : Need to use a local (FCS private) response buffer, since the response
4823 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4826 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4829 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4844 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4862 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4868 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4879 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4880 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4893 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4907 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4908 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4924 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
5010 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
5021 * fcs_ns_public FCS nameserver public interfaces
5060 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
5074 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
5101 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
5104 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5107 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5120 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
5138 * FCS SCN
5161 * fcs_scm_sm FCS SCN state machine
5193 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5208 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5212 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5229 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5240 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5260 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5274 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5281 * fcs_scn_private FCS SCN private functions
5296 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5297 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5300 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5302 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5309 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5337 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5343 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5360 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5361 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5383 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5385 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5422 * fcs_scn_public FCS state change notification public interfaces
5463 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5491 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5517 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5518 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5545 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5554 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5555 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5568 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5579 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5618 * BFA FCS port
5621 * fcs_port_api BFA FCS port API
5624 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5626 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5636 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5641 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5642 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5652 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5653 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5654 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5670 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5685 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5694 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5695 trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5698 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5700 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5719 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5731 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5736 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5741 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5743 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5745 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5782 * FCS virtual port state machine
5785 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5788 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
5803 * fcs_vport_sm FCS virtual port state machine
6287 * fcs_vport_private FCS virtual port private functions
6296 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6306 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6310 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6429 * fcs_vport_public FCS virtual port public interfaces
6456 * Stop notification from fabric SM. To be invoked from within FCS.
6465 * delete notification from fabric SM. To be invoked from within FCS.
6498 * Use this function to instantiate a new FCS vport object. This
6504 * param[in] fcs - FCS instance
6515 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6522 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6525 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6528 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6529 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6532 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6540 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6548 * Use this function to instantiate a new FCS PBC vport object. This
6554 * param[in] fcs - FCS instance
6565 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6571 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6613 * !!!!!!! Donot invoke this from within FCS !!!!!!!
6657 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6662 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6663 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6665 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6667 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()