• Home
  • Raw
  • Download

Lines Matching refs:fcs

133 	bfa_trc(port->fcs, port->port_cfg.pwwn);  in bfa_fcs_lport_sm_uninit()
134 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
142 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
150 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
151 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
176 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
188 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
189 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
236 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
248 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
249 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_offline()
292 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_offline()
300 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
301 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_stopping()
316 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_stopping()
325 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
326 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_deleting()
337 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_deleting()
352 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
362 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_aen_post()
366 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_lport_aen_post()
382 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_ls_rjt()
383 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_ls_rjt()
385 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
412 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_fcgs_rjt()
413 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_fcgs_rjt()
415 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
441 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_plogi()
442 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
447 if (__fcs_min_cfg(port->fcs)) { in bfa_fcs_lport_plogi()
448 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
453 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
549 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_echo()
550 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_echo()
552 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
564 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_echo()
565 bfa_trc(port->fcs, pyld_len); in bfa_fcs_lport_echo()
593 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_rnid()
594 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_rnid()
595 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_rnid()
597 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
607 bfa_trc(port->fcs, rnid->node_id_data_format); in bfa_fcs_lport_rnid()
652 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions()
655 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
674 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions()
677 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
726 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_abts_acc()
727 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_abts_acc()
729 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
744 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted()
773 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
831 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
832 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
833 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
843 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
844 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
847 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
851 bfa_trc(lport->fcs, els_cmd->els_code); in bfa_fcs_lport_uf_recv()
894 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_pid()
913 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_old_pid()
932 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_pwwn()
951 bfa_trc(port->fcs, nwwn); in bfa_fcs_lport_get_rport_by_nwwn()
971 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_qualifier()
1057 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach() argument
1060 lport->fcs = fcs; in bfa_fcs_lport_attach()
1061 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1080 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init()
1085 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport, in bfa_fcs_lport_init()
1200 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1221 bfa_trc(port->fcs, rport->pid); in bfa_fcs_lport_n2n_online()
1222 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1236 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1252 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_n2n_offline()
1263 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr()
1271 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1277 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1278 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1312 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1313 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1316 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1319 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1331 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1455 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_offline()
1456 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1485 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1495 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1496 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1510 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1520 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba()
1521 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1559 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1569 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1570 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1587 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1600 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1601 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1615 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1625 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt()
1626 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1662 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1672 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1673 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1690 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1703 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1704 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1718 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1728 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa()
1729 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1763 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1773 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1774 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1791 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1801 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_online()
1802 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1810 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1822 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_disabled()
1823 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_disabled()
1841 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rhba()
1844 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rhba()
1846 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rhba()
2076 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2082 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2095 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2096 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2113 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2116 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2118 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2270 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2292 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2298 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2311 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2312 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2329 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2332 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2334 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2384 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2390 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2403 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2404 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2421 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2426 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2428 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2430 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2432 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2434 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2436 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2438 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2468 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2476 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2508 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2578 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2682 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2683 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2695 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2703 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2704 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2718 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2726 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2727 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2769 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2777 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2778 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2795 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2803 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
2804 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
2818 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
2826 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
2827 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
2841 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
2849 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
2850 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
2881 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
2889 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
2890 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
2907 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
2923 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
2926 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
2928 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
2960 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
2961 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
2967 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3020 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3021 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3029 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3030 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3044 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3052 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3053 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3082 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3090 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3091 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3108 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3124 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3127 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3129 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3157 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3158 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3164 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3183 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3184 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3201 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3204 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3207 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3217 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3218 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3239 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3240 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3247 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3258 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3270 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3271 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3279 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3500 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3501 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3513 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3521 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3522 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3536 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3544 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3545 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3571 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3579 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3580 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3597 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3605 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3606 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3619 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3627 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3628 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3659 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3667 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3668 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3682 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3690 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3691 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3705 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3713 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3714 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3744 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3752 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3753 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3767 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3775 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3776 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3790 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3798 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
3799 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3824 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3832 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
3833 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
3850 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
3858 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
3859 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
3873 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
3881 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
3882 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
3908 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
3916 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
3917 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
3931 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
3939 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
3940 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
3954 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
3962 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
3963 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
3973 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4011 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4019 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4020 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4034 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4041 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4042 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4056 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4064 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4065 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4095 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4103 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4104 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4118 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4126 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4127 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4147 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4166 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4169 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4172 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4182 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4183 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4205 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4206 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4212 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4224 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4236 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4237 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4246 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4263 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4266 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4269 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4301 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4307 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4323 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4324 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4341 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4344 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4347 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4354 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4380 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4386 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4402 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4403 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4423 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4426 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4429 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4447 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4450 (port->fcs)))); in bfa_fcs_lport_ns_send_rspn_id()
4455 (port->fcs)))] = 0; in bfa_fcs_lport_ns_send_rspn_id()
4486 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4492 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4508 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4509 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4525 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4528 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4531 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4559 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4565 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4581 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4582 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4599 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4602 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4605 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4637 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4643 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4659 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4660 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4683 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4686 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4689 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4704 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4722 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4728 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4739 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4740 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4753 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4767 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4768 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4784 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
4870 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
4920 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
4934 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
4965 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
4968 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
4971 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
4984 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
4986 bfa_fcs_get_base_port(port->fcs)))); in bfa_fcs_lport_ns_util_send_rspn_id()
4990 bfa_fcs_get_base_port(port->fcs)))] = 0; in bfa_fcs_lport_ns_util_send_rspn_id()
5074 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5089 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5093 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5110 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5121 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5141 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5155 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5177 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5178 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5181 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5183 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5190 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5218 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5224 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5241 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5242 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5264 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5266 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5344 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5372 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5398 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5399 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5426 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5435 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5436 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5449 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5460 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5505 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5507 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5517 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport() local
5522 fcs = port->fcs; in bfa_fcs_lport_get_rport()
5523 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5533 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport()
5534 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport()
5535 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5551 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5565 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5570 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5571 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5581 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5582 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5583 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5599 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5614 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5618 bfa_boolean_t trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5624 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5627 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5629 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5648 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5660 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5665 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5670 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5672 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5674 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5696 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5714 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
5762 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5765 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
6279 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6289 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6293 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6507 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6514 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6517 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6520 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6521 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6524 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6532 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6557 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6563 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6667 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6672 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6673 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6675 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6677 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()