Lines Matching refs:fcs
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()
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()
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()
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()
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()
2173 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2179 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2192 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2193 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2210 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2213 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2215 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2474 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2496 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2502 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2515 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2516 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2533 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2536 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2538 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2588 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2594 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2607 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2608 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2625 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2630 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2632 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2634 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2636 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2638 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2640 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2642 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2670 cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); in bfa_fcs_fdmi_get_hbaattr()
2681 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2690 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2722 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2804 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2908 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2909 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2921 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2929 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2930 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2944 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2952 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2953 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2995 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
3003 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
3004 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3021 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3029 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
3030 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3044 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3052 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3053 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3067 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3075 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3076 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3107 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3115 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3116 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3133 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3149 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
3152 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3154 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3186 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3187 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
3193 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3246 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3247 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3255 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3256 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3270 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3278 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3279 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3308 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3316 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3317 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3334 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3350 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3353 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3355 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3383 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3384 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3390 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3409 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3410 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3427 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3430 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3433 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3443 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3444 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3465 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3466 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3473 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3484 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3496 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3497 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3505 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3726 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3727 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3739 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3747 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3748 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3762 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3770 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3771 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3797 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3805 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3806 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3823 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3831 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3832 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3845 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3853 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3854 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3885 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3893 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3894 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3908 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3916 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3917 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3931 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3939 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3940 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3970 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3978 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3979 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3993 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
4001 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4002 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4016 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4024 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
4025 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4050 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4058 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4059 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4076 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4084 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4085 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4099 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4107 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4108 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4134 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4142 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4143 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4157 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4165 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4166 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4180 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4188 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4189 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4199 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4237 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4245 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4246 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4260 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4267 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4268 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4282 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4290 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4291 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4321 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4329 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4330 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4344 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4352 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4353 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4373 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4392 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4395 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4398 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4408 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4409 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4431 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4432 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4438 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4450 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4462 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4463 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4472 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4489 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4492 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4495 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4527 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4533 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4549 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4550 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4567 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4570 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4573 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4580 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4606 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4612 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4628 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4629 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4649 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4652 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4655 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4672 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4704 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4710 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4726 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4727 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4743 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4746 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4749 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4777 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4783 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4799 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4800 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4817 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4820 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4823 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4855 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4861 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4877 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4878 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4901 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4904 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4907 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4922 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4940 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4946 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4957 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4958 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4971 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4985 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4986 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
5002 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
5088 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
5138 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
5152 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
5179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
5182 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5185 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5198 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
5283 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5298 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5302 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5319 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5330 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5350 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5364 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5386 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5387 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5390 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5392 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5399 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5427 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5433 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5450 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5451 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5473 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5475 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5553 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5581 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5607 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5608 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5635 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5644 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5645 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5658 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5669 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5714 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5716 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5726 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport() local
5731 fcs = port->fcs; in bfa_fcs_lport_get_rport()
5732 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5742 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport()
5743 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport()
5744 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5760 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5774 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5779 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5780 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5790 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5791 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5792 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5808 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5823 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5832 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5833 trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5836 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5838 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5857 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5869 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5874 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5879 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5881 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5883 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5905 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5923 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
5971 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5974 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
6487 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6497 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6501 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6715 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6722 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6725 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6728 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6729 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6732 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6740 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6765 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6771 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6875 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6880 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6881 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6883 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6885 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()