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()
844 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
845 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
846 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
856 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
857 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
860 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
864 bfa_trc(lport->fcs, els_cmd->els_code); in bfa_fcs_lport_uf_recv()
907 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_pid()
926 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_old_pid()
945 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_pwwn()
964 bfa_trc(port->fcs, nwwn); in bfa_fcs_lport_get_rport_by_nwwn()
984 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_qualifier()
1070 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach() argument
1073 lport->fcs = fcs; in bfa_fcs_lport_attach()
1074 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1093 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init()
1098 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport, in bfa_fcs_lport_init()
1224 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1245 bfa_trc(port->fcs, rport->pid); in bfa_fcs_lport_n2n_online()
1246 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1260 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1276 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_n2n_offline()
1287 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr()
1295 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1301 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1302 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1336 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1337 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1340 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1343 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1355 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1479 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_offline()
1480 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1509 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1519 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1520 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1534 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1544 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba()
1545 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1583 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1593 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1594 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1611 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1624 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1625 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1639 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1649 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt()
1650 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1686 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1696 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1697 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1714 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1727 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1728 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1742 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1752 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa()
1753 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1787 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1797 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1798 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1815 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1825 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_online()
1826 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1834 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1846 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_disabled()
1847 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_disabled()
1865 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rhba()
1868 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rhba()
1870 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rhba()
2161 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2167 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2180 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2181 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2198 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2201 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2203 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2462 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2484 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2490 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2503 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2504 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2521 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2524 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2526 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2576 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2582 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2595 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2596 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2613 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2618 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2620 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2622 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2624 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2626 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2628 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2630 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2658 cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); in bfa_fcs_fdmi_get_hbaattr()
2669 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2678 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2710 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2792 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2896 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2897 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2909 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2917 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2918 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2932 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2940 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2941 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2983 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2991 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2992 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3009 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3017 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
3018 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3032 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3040 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3041 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3055 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3063 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3064 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3095 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3103 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3104 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3121 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3137 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
3140 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3142 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3174 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3175 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
3181 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3234 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3235 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3243 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3244 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3258 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3266 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3267 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3296 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3304 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3305 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3322 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3338 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3341 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3343 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3371 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3372 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3378 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3397 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3398 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3415 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3418 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3421 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3431 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3432 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3453 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3454 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3461 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3472 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3484 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3485 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3493 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3714 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3715 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3727 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3735 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3736 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3750 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3758 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3759 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3785 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3793 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3794 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3811 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3819 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3820 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3833 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3841 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3842 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3873 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3881 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3882 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3896 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3904 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3905 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3919 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3927 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3928 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3958 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3966 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3967 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3981 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3989 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3990 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4004 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4012 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
4013 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4038 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4046 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4047 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4064 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4072 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4073 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4087 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4095 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4096 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4122 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4130 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4131 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4145 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4153 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4154 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4168 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4176 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4177 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4187 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4225 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4233 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4234 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4248 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4255 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4256 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4270 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4278 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4279 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4309 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4317 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4318 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4332 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4340 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4341 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4361 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4380 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4383 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4386 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4396 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4397 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4419 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4420 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4426 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4438 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4450 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4451 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4460 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4477 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4480 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4483 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4515 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4521 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4537 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4538 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4555 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4558 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4561 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4568 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4594 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4600 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4616 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4617 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4637 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4640 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4643 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4661 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4664 (port->fcs)))); in bfa_fcs_lport_ns_send_rspn_id()
4669 (port->fcs)))] = 0; in bfa_fcs_lport_ns_send_rspn_id()
4700 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4706 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4722 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4723 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4739 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4742 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4745 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4773 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4779 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4795 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4796 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4813 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4816 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4819 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4851 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4857 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4873 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4874 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4897 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4900 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4903 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4918 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4936 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4942 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4953 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4954 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4967 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4981 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4982 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4998 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
5084 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
5134 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
5148 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
5176 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
5179 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5182 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5195 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
5197 bfa_fcs_get_base_port(port->fcs)))); in bfa_fcs_lport_ns_util_send_rspn_id()
5201 bfa_fcs_get_base_port(port->fcs)))] = 0; in bfa_fcs_lport_ns_util_send_rspn_id()
5285 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5300 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5304 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5321 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5332 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5352 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5366 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5388 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5389 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5392 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5394 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5401 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5429 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5435 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5452 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5453 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5475 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5477 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5555 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5583 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5609 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5610 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5637 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5646 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5647 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5660 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5671 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5716 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5718 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5728 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport() local
5733 fcs = port->fcs; in bfa_fcs_lport_get_rport()
5734 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5744 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport()
5745 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport()
5746 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5762 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5776 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5781 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5782 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5792 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5793 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5794 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5810 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5825 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5829 bfa_boolean_t trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5835 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5838 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5840 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5859 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5871 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5876 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5881 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5883 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5885 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5907 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5925 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
5973 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5976 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
6493 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6503 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6507 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6721 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6728 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6731 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6734 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6735 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6738 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6746 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6771 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6777 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6881 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6886 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6887 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6889 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6891 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()