Lines Matching refs:fcs

124 	bfa_trc(port->fcs, port->port_cfg.pwwn);  in bfa_fcs_lport_sm_uninit()
125 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
133 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
141 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
142 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
167 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
180 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
227 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
239 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
240 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_offline()
283 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_offline()
291 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
292 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_stopping()
307 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_stopping()
316 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
317 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_deleting()
328 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_deleting()
343 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
353 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_aen_post()
357 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_lport_aen_post()
373 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_ls_rjt()
374 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_ls_rjt()
376 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_ls_rjt()
403 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_send_fcgs_rjt()
404 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_send_fcgs_rjt()
406 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_send_fcgs_rjt()
432 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_plogi()
433 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
438 if (__fcs_min_cfg(port->fcs)) { in bfa_fcs_lport_plogi()
439 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
444 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_plogi()
540 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_echo()
541 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_echo()
543 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_echo()
555 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_echo()
556 bfa_trc(port->fcs, pyld_len); in bfa_fcs_lport_echo()
584 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_rnid()
585 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_rnid()
586 bfa_trc(port->fcs, rx_len); in bfa_fcs_lport_rnid()
588 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_rnid()
598 bfa_trc(port->fcs, rnid->node_id_data_format); in bfa_fcs_lport_rnid()
643 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions()
646 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
665 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions()
668 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
717 bfa_trc(port->fcs, rx_fchs->d_id); in bfa_fcs_lport_abts_acc()
718 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_abts_acc()
720 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_abts_acc()
735 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted()
764 bfa_trc(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
835 bfa_trc(rport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
836 bfa_trc(rport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
837 bfa_trc(rport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
847 bfa_trc(lport->fcs, fchs->s_id); in bfa_fcs_lport_uf_recv()
848 bfa_trc(lport->fcs, fchs->d_id); in bfa_fcs_lport_uf_recv()
851 bfa_sm_fault(lport->fcs, fchs->type); in bfa_fcs_lport_uf_recv()
855 bfa_trc(lport->fcs, els_cmd->els_code); in bfa_fcs_lport_uf_recv()
898 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_pid()
917 bfa_trc(port->fcs, pid); in bfa_fcs_lport_get_rport_by_old_pid()
936 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_pwwn()
955 bfa_trc(port->fcs, nwwn); in bfa_fcs_lport_get_rport_by_nwwn()
975 bfa_trc(port->fcs, pwwn); in bfa_fcs_lport_get_rport_by_qualifier()
1061 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, in bfa_fcs_lport_attach() argument
1064 lport->fcs = fcs; in bfa_fcs_lport_attach()
1065 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1084 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init()
1089 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport, in bfa_fcs_lport_init()
1215 bfa_trc(port->fcs, pcfg->pwwn); in bfa_fcs_lport_n2n_online()
1236 bfa_trc(port->fcs, rport->pid); in bfa_fcs_lport_n2n_online()
1237 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1251 bfa_trc(port->fcs, rport->pwwn); in bfa_fcs_lport_n2n_online()
1267 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_n2n_offline()
1278 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); in bfa_fcport_get_loop_attr()
1286 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); in bfa_fcport_get_loop_attr()
1292 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1293 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1327 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1328 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1331 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1334 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1346 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1456 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_offline()
1457 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1486 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_offline()
1496 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1497 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1511 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rhba()
1521 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba()
1522 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1560 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba()
1570 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1571 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1588 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rhba_retry()
1601 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1602 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1616 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rprt()
1626 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt()
1627 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1663 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt()
1673 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1674 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1691 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rprt_retry()
1704 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1705 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1719 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_sending_rpa()
1729 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa()
1730 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1764 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa()
1774 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1775 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1792 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_rpa_retry()
1802 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_online()
1803 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1811 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_fdmi_sm_online()
1823 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_sm_disabled()
1824 bfa_trc(port->fcs, event); in bfa_fcs_lport_fdmi_sm_disabled()
1842 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rhba()
1845 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rhba()
1847 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rhba()
2146 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rhba_response()
2152 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rhba_response()
2165 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rhba_response()
2166 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rhba_response()
2183 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rprt()
2186 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rprt()
2188 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rprt()
2447 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_lport_fdmi_build_rprt_pyld()
2469 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rprt_response()
2475 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rprt_response()
2488 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rprt_response()
2489 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rprt_response()
2506 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_send_rpa()
2509 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_fdmi_send_rpa()
2511 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe, in bfa_fcs_lport_fdmi_send_rpa()
2561 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_fdmi_rpa_response()
2567 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_fdmi_rpa_response()
2580 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_fdmi_rpa_response()
2581 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_fdmi_rpa_response()
2598 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_hbaattr()
2603 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2605 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2607 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2609 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2611 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2613 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2615 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc, in bfa_fcs_fdmi_get_hbaattr()
2643 cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc)); in bfa_fcs_fdmi_get_hbaattr()
2654 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info; in bfa_fcs_fdmi_get_portattr()
2663 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr); in bfa_fcs_fdmi_get_portattr()
2695 bfa_sm_fault(port->fcs, pport_attr.speed_supported); in bfa_fcs_fdmi_get_portattr()
2777 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2868 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2869 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2881 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2889 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2890 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2904 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2912 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2913 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2955 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2963 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2964 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2981 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2989 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
2990 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3004 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3012 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3013 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3027 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3035 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3036 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3067 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3075 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3076 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3093 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3109 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gmal()
3112 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3114 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3146 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3147 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gmal_response()
3153 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gmal_response()
3206 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gmal_response()
3207 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gmal_response()
3215 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3216 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3230 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3238 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3239 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3268 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3276 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3277 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3294 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3310 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_gfn()
3313 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3315 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3343 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3344 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_gfn_response()
3350 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_gfn_response()
3369 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ms_gfn_response()
3370 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ms_gfn_response()
3387 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ms_send_plogi()
3390 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3393 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3403 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ms_send_plogi()
3404 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ms_send_plogi()
3425 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3426 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ms_plogi_response()
3433 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ms_plogi_response()
3444 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ms_plogi_response()
3456 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ms_plogi_response()
3457 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ms_plogi_response()
3465 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ms_plogi_response()
3667 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3668 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3680 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3688 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3689 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3703 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3711 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3712 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3738 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3746 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3747 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3764 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3772 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3773 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3786 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3794 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3795 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3826 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3834 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3835 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3849 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3857 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3858 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3872 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3880 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3881 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3911 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3919 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3920 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3934 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3942 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3943 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3957 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3965 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
3966 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3991 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
3999 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4000 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4017 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4025 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4026 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4040 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4048 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4049 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4075 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4083 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4084 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4098 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4106 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4107 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4121 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4129 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4130 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4140 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4178 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4186 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4187 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4201 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4208 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4209 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4223 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4231 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4232 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4262 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4270 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4271 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4285 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4293 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4294 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4314 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4333 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_plogi()
4336 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4339 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4349 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_lport_ns_send_plogi()
4350 bfa_fcport_get_rx_bbcredit(port->fcs->bfa)); in bfa_fcs_lport_ns_send_plogi()
4372 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4373 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_plogi_response()
4379 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_plogi_response()
4391 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_plogi_response()
4403 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_ns_plogi_response()
4404 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_ns_plogi_response()
4413 bfa_trc(port->fcs, els_cmd->els_code); in bfa_fcs_lport_ns_plogi_response()
4430 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rnn_id()
4433 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4436 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4468 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rnn_id_response()
4474 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rnn_id_response()
4490 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rnn_id_response()
4491 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rnn_id_response()
4508 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rsnn_nn()
4511 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4514 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4521 bfa_fcs_get_base_port(port->fcs))); in bfa_fcs_lport_ns_send_rsnn_nn()
4547 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rsnn_nn_response()
4553 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rsnn_nn_response()
4569 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4570 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rsnn_nn_response()
4590 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rspn_id()
4593 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4596 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4613 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_send_rspn_id()
4645 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rspn_id_response()
4651 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rspn_id_response()
4667 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rspn_id_response()
4668 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rspn_id_response()
4684 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rft_id()
4687 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4690 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4718 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rft_id_response()
4724 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rft_id_response()
4740 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rft_id_response()
4741 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rft_id_response()
4758 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_send_rff_id()
4761 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4764 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4796 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_rff_id_response()
4802 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_rff_id_response()
4818 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_rff_id_response()
4819 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_rff_id_response()
4842 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_send_gid_ft()
4845 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4848 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4863 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV); in bfa_fcs_lport_ns_send_gid_ft()
4881 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_gid_ft_response()
4887 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_ns_gid_ft_response()
4898 bfa_trc(port->fcs, rsp_len); in bfa_fcs_lport_ns_gid_ft_response()
4899 bfa_trc(port->fcs, resid_len); in bfa_fcs_lport_ns_gid_ft_response()
4912 bfa_trc(port->fcs, n_pids); in bfa_fcs_lport_ns_gid_ft_response()
4926 bfa_trc(port->fcs, cthdr->reason_code); in bfa_fcs_lport_ns_gid_ft_response()
4927 bfa_trc(port->fcs, cthdr->exp_code); in bfa_fcs_lport_ns_gid_ft_response()
4943 bfa_trc(port->fcs, cthdr->cmd_rsp_code); in bfa_fcs_lport_ns_gid_ft_response()
5029 bfa_trc(port->fcs, gidft_entry->pid); in bfa_fcs_lport_ns_process_gidft_pids()
5079 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_ns_query()
5093 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns); in bfa_fcs_lport_ns_boot_target_disc()
5120 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_ns_util_send_rspn_id()
5123 bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5126 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5139 (bfa_fcs_get_base_port(port->fcs))), in bfa_fcs_lport_ns_util_send_rspn_id()
5212 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5227 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5231 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5248 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5259 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_scn_sm_scr()
5279 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5293 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_online()
5315 bfa_trc(port->fcs, port->pid); in bfa_fcs_lport_scn_send_scr()
5316 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_send_scr()
5319 bfa_fcs_fcxp_alloc(port->fcs, BFA_TRUE); in bfa_fcs_lport_scn_send_scr()
5321 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe, in bfa_fcs_lport_scn_send_scr()
5328 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) { in bfa_fcs_lport_scn_send_scr()
5356 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_scn_scr_response()
5362 bfa_trc(port->fcs, req_status); in bfa_fcs_lport_scn_scr_response()
5379 bfa_trc(port->fcs, ls_rjt->reason_code); in bfa_fcs_lport_scn_scr_response()
5380 bfa_trc(port->fcs, ls_rjt->reason_code_expl); in bfa_fcs_lport_scn_scr_response()
5402 bfa_trc(port->fcs, rx_fchs->s_id); in bfa_fcs_lport_scn_send_ls_acc()
5404 fcxp = bfa_fcs_fcxp_alloc(port->fcs, BFA_FALSE); in bfa_fcs_lport_scn_send_ls_acc()
5482 bfa_trc(port->fcs, rpid); in bfa_fcs_lport_scn_portid_rscn()
5510 if (!__fcs_min_cfg(port->fcs)) in bfa_fcs_lport_scn_portid_rscn()
5536 bfa_trc(port->fcs, format); in bfa_fcs_lport_scn_multiport_rscn()
5537 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_multiport_rscn()
5564 bfa_trc(port->fcs, num_entries); in bfa_fcs_lport_scn_process_rscn()
5573 bfa_trc(port->fcs, rscn->event[i].format); in bfa_fcs_lport_scn_process_rscn()
5574 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5587 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5598 bfa_trc(port->fcs, rscn_pid); in bfa_fcs_lport_scn_process_rscn()
5643 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) in bfa_fcs_get_base_port() argument
5645 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5655 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport() local
5660 fcs = port->fcs; in bfa_fcs_lport_get_rport()
5661 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5671 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport()
5672 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport()
5673 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5689 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport()
5703 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_quals() local
5708 fcs = port->fcs; in bfa_fcs_lport_get_rport_quals()
5709 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5719 bfa_trc(fcs, (u32) rport->pwwn); in bfa_fcs_lport_get_rport_quals()
5720 bfa_trc(fcs, rport->pid); in bfa_fcs_lport_get_rport_quals()
5721 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5737 bfa_trc(fcs, i); in bfa_fcs_lport_get_rport_quals()
5752 struct bfa_fcs_s *fcs; in bfa_fcs_lport_get_rport_max_speed() local
5761 fcs = port->fcs; in bfa_fcs_lport_get_rport_max_speed()
5762 trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5765 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5767 bfa_trc(fcs, port_speed); in bfa_fcs_lport_get_rport_max_speed()
5786 bfa_fcport_get_ratelim_speed(port->fcs->bfa); in bfa_fcs_lport_get_rport_max_speed()
5798 bfa_trc(fcs, max_speed); in bfa_fcs_lport_get_rport_max_speed()
5803 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) in bfa_fcs_lookup_port() argument
5808 WARN_ON(fcs == NULL); in bfa_fcs_lookup_port()
5810 vf = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lookup_port()
5812 bfa_trc(fcs, vf_id); in bfa_fcs_lookup_port()
5834 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5852 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
5900 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5903 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
6411 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6421 bfa_fcs_get_base_port(port->fcs)); in bfa_fcs_vport_aen_post()
6425 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, in bfa_fcs_vport_aen_post()
6639 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_vport_create() argument
6646 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6649 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL) in bfa_fcs_vport_create()
6652 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6653 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
6656 vport->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_vport_create()
6664 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport); in bfa_fcs_vport_create()
6689 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, in bfa_fcs_pbc_vport_create() argument
6695 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv); in bfa_fcs_pbc_vport_create()
6799 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) in bfa_fcs_vport_lookup() argument
6804 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()
6805 bfa_trc(fcs, vpwwn); in bfa_fcs_vport_lookup()
6807 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6809 bfa_trc(fcs, vf_id); in bfa_fcs_vport_lookup()