Lines Matching full:fcs

17 BFA_TRC_FILE(FCS, PORT);
107 * fcs_port_sm FCS logical port state machine
137 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
138 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
146 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
154 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
155 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
180 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
192 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
193 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
240 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
252 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
253 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_offline()
296 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_offline()
304 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
305 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_stopping()
320 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_stopping()
329 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
330 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_deleting()
341 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_deleting()
356 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
366 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_aen_post()
370 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_lport_aen_post()
386 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_ls_rjt()
387 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_ls_rjt()
389 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
416 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_fcgs_rjt()
417 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_fcgs_rjt()
419 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
445 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_plogi()
446 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
451 if (__fcs_min_cfg(port->fcs)) { in bfa_fcs_lport_plogi()
452 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
457 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
553 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_echo()
554 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_echo()
556 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
568 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_echo()
569 bfa_trc(port->fcs, pyld_len); in bfa_fcs_lport_echo()
597 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_rnid()
598 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_rnid()
599 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_rnid()
601 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
611 bfa_trc(port->fcs, rnid->node_id_data_format); in bfa_fcs_lport_rnid()
656 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions()
659 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
678 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions()
681 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
730 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_abts_acc()
731 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_abts_acc()
733 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
748 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted()
777 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
848 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
849 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
850 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
860 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
861 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
864 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
868 bfa_trc(lport->fcs, els_cmd->els_code); in bfa_fcs_lport_uf_recv()
911 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_pid()
930 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_old_pid()
949 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_pwwn()
968 bfa_trc(port->fcs, nwwn); in bfa_fcs_lport_get_rport_by_nwwn()
988 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_qualifier()
1074 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach() argument
1077 lport->fcs = fcs; in bfa_fcs_lport_attach()
1078 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1097 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init()
1102 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport, in bfa_fcs_lport_init()
1211 * Called by fcs/port to initialize N2N topology.
1219 * Called by fcs/port to notify transition to online state.
1228 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1249 bfa_trc(port->fcs, rport->pid); in bfa_fcs_lport_n2n_online()
1250 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1264 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1273 * Called by fcs/port to notify transition to offline state.
1280 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_n2n_offline()
1291 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr()
1299 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1305 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1306 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1315 * Called by fcs/port to initialize Loop topology.
1323 * Called by fcs/port to notify transition to online state.
1340 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1341 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1344 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1347 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1359 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1371 * Called by fcs/port to notify transition to offline state.
1426 * fcs_fdmi_sm FCS FDMI state machine
1483 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_offline()
1484 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1513 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1523 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1524 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1538 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1548 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba()
1549 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1587 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1597 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1598 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1615 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1628 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1629 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1643 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1653 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt()
1654 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1690 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1700 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1701 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1718 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1731 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1732 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1746 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1756 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa()
1757 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1791 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1801 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1802 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1819 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1829 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_online()
1830 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1838 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1850 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_disabled()
1851 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_disabled()
1869 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rhba()
1872 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rhba()
1874 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rhba()
2165 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2171 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2184 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2185 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2202 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2205 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2207 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2466 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2488 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2494 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2507 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2508 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2525 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2528 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2530 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2580 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2586 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2599 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2600 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2617 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2622 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2624 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2626 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2628 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2630 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2632 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2634 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2662 cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); in bfa_fcs_fdmi_get_hbaattr()
2673 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2682 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2714 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2796 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2855 * fcs_ms_sm FCS MS state machine
2900 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2901 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2913 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2921 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2922 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2936 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2944 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2945 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2987 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2995 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2996 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3013 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3021 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
3022 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3036 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3044 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3045 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3059 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3067 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3068 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3099 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3107 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3108 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3125 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3141 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
3144 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3146 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3178 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
3185 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3238 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3239 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3247 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3248 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3262 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3270 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3271 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3300 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3308 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3309 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3326 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3342 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3345 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3347 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3375 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3376 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3382 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3401 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3402 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3419 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3422 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3425 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3435 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3436 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3457 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3458 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3465 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3476 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3488 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3489 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3497 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3636 * fcs_ns_sm FCS nameserver interface state machine
3718 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3719 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3731 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3739 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3740 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3754 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3762 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3763 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3789 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3797 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3798 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3815 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3823 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3824 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3837 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3845 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3846 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3877 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3885 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3886 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3900 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3908 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3909 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3923 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3931 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3932 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3962 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3970 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3971 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3985 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3993 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3994 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4008 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4016 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
4017 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4042 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4050 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4051 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4068 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4076 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4077 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4091 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4099 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4100 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4126 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4134 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4135 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4149 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4157 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4158 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4172 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4180 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4181 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4191 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4229 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4237 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4238 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4252 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4259 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4260 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4274 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4282 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4283 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4313 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4321 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4322 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4336 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4344 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4345 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4365 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4384 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4387 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4390 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4400 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4401 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4423 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4424 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4430 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4442 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4454 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4455 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4464 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4481 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4484 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4487 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4519 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4525 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4541 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4542 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4559 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4562 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4565 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4572 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4598 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4604 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4620 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4621 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4641 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4644 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4647 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4664 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4696 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4702 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4718 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4719 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4735 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4738 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4741 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4769 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4775 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4791 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4792 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4809 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4812 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4815 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4847 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4853 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4869 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4870 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4881 * TBD : Need to use a local (FCS private) response buffer, since the response
4893 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4896 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4899 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4914 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4932 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4938 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4949 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4950 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4963 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4977 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4978 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4994 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
5080 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
5091 * fcs_ns_public FCS nameserver public interfaces
5130 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
5144 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
5171 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
5174 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5177 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5190 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
5208 * FCS SCN
5231 * fcs_scm_sm FCS SCN state machine
5275 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5290 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5294 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5311 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5322 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5342 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5356 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5363 * fcs_scn_private FCS SCN private functions
5378 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5379 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5382 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5384 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5391 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5419 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5425 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5442 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5443 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5465 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5467 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5504 * fcs_scn_public FCS state change notification public interfaces
5545 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5573 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5599 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5600 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5627 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5636 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5637 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5650 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5661 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5700 * BFA FCS port
5703 * fcs_port_api BFA FCS port API
5706 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5708 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5718 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport() local
5723 fcs = port->fcs; in bfa_fcs_lport_get_rport()
5724 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5734 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport()
5735 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport()
5736 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5752 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5766 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5771 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5772 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5782 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5783 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5784 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5800 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5815 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5824 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5825 trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5828 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5830 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5849 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5861 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5866 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5871 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5873 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5875 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5897 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5915 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
5960 * FCS virtual port state machine
5963 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5966 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
5981 * fcs_vport_sm FCS virtual port state machine
6470 * fcs_vport_private FCS virtual port private functions
6479 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6489 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6493 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6612 * fcs_vport_public FCS virtual port public interfaces
6648 * Stop notification from fabric SM. To be invoked from within FCS.
6657 * delete notification from fabric SM. To be invoked from within FCS.
6690 * Use this function to instantiate a new FCS vport object. This
6696 * param[in] fcs - FCS instance
6707 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6714 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6717 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6720 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6721 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6724 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6732 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6740 * Use this function to instantiate a new FCS PBC vport object. This
6746 * param[in] fcs - FCS instance
6757 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6763 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6823 * !!!!!!! Donot invoke this from within FCS !!!!!!!
6867 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6872 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6873 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6875 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6877 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()