Lines Matching refs:fcs

99 	bfa_trc(port->fcs, port->port_cfg.pwwn);
100 bfa_trc(port->fcs, event);
108 bfa_sm_fault(port->fcs, event);
116 bfa_trc(port->fcs, port->port_cfg.pwwn);
117 bfa_trc(port->fcs, event);
140 bfa_sm_fault(port->fcs, event);
152 bfa_trc(port->fcs, port->port_cfg.pwwn);
153 bfa_trc(port->fcs, event);
198 bfa_sm_fault(port->fcs, event);
210 bfa_trc(port->fcs, port->port_cfg.pwwn);
211 bfa_trc(port->fcs, event);
252 bfa_sm_fault(port->fcs, event);
260 bfa_trc(port->fcs, port->port_cfg.pwwn);
261 bfa_trc(port->fcs, event);
274 bfa_sm_fault(port->fcs, event);
283 bfa_trc(port->fcs, port->port_cfg.pwwn);
284 bfa_trc(port->fcs, event);
295 bfa_sm_fault(port->fcs, event);
310 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad;
320 bfa_fcs_get_base_port(port->fcs));
324 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq,
340 bfa_trc(port->fcs, rx_fchs->d_id);
341 bfa_trc(port->fcs, rx_fchs->s_id);
343 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
370 bfa_trc(port->fcs, rx_fchs->d_id);
371 bfa_trc(port->fcs, rx_fchs->s_id);
373 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
399 bfa_trc(port->fcs, rx_fchs->d_id);
400 bfa_trc(port->fcs, rx_fchs->s_id);
405 if (__fcs_min_cfg(port->fcs)) {
406 bfa_trc(port->fcs, rx_fchs->s_id);
411 bfa_trc(port->fcs, rx_fchs->s_id);
507 bfa_trc(port->fcs, rx_fchs->s_id);
508 bfa_trc(port->fcs, rx_fchs->d_id);
510 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
522 bfa_trc(port->fcs, rx_len);
523 bfa_trc(port->fcs, pyld_len);
551 bfa_trc(port->fcs, rx_fchs->s_id);
552 bfa_trc(port->fcs, rx_fchs->d_id);
553 bfa_trc(port->fcs, rx_len);
555 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
565 bfa_trc(port->fcs, rnid->node_id_data_format);
610 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad;
613 bfa_trc(port->fcs, port->fabric->oper_type);
632 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad;
635 bfa_trc(port->fcs, port->fabric->oper_type);
684 bfa_trc(port->fcs, rx_fchs->d_id);
685 bfa_trc(port->fcs, rx_fchs->s_id);
687 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
702 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad;
713 bfa_fcb_lport_delete(port->fcs->bfad, port->port_cfg.roles,
735 bfa_trc(lport->fcs, fchs->type);
793 bfa_trc(rport->fcs, fchs->s_id);
794 bfa_trc(rport->fcs, fchs->d_id);
795 bfa_trc(rport->fcs, fchs->type);
805 bfa_trc(lport->fcs, fchs->s_id);
806 bfa_trc(lport->fcs, fchs->d_id);
809 bfa_sm_fault(lport->fcs, fchs->type);
813 bfa_trc(lport->fcs, els_cmd->els_code);
856 bfa_trc(port->fcs, pid);
875 bfa_trc(port->fcs, pwwn);
894 bfa_trc(port->fcs, nwwn);
970 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
973 lport->fcs = fcs;
974 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id);
993 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad;
998 lport->bfad_port = bfa_fcb_lport_new(lport->fcs->bfad, lport,
1096 * Called by fcs/port to initialize N2N topology.
1104 * Called by fcs/port to notify transition to online state.
1113 bfa_trc(port->fcs, pcfg->pwwn);
1134 bfa_trc(port->fcs, rport->pid);
1135 bfa_trc(port->fcs, rport->pwwn);
1149 bfa_trc(port->fcs, rport->pwwn);
1158 * Called by fcs/port to notify transition to offline state.
1165 bfa_trc(port->fcs, port->pid);
1276 bfa_trc(port->fcs, port->port_cfg.pwwn);
1277 bfa_trc(port->fcs, event);
1306 bfa_sm_fault(port->fcs, event);
1316 bfa_trc(port->fcs, port->port_cfg.pwwn);
1317 bfa_trc(port->fcs, event);
1331 bfa_sm_fault(port->fcs, event);
1341 bfa_trc(port->fcs, port->port_cfg.pwwn);
1342 bfa_trc(port->fcs, event);
1380 bfa_sm_fault(port->fcs, event);
1390 bfa_trc(port->fcs, port->port_cfg.pwwn);
1391 bfa_trc(port->fcs, event);
1408 bfa_sm_fault(port->fcs, event);
1421 bfa_trc(port->fcs, port->port_cfg.pwwn);
1422 bfa_trc(port->fcs, event);
1436 bfa_sm_fault(port->fcs, event);
1446 bfa_trc(port->fcs, port->port_cfg.pwwn);
1447 bfa_trc(port->fcs, event);
1483 bfa_sm_fault(port->fcs, event);
1493 bfa_trc(port->fcs, port->port_cfg.pwwn);
1494 bfa_trc(port->fcs, event);
1511 bfa_sm_fault(port->fcs, event);
1524 bfa_trc(port->fcs, port->port_cfg.pwwn);
1525 bfa_trc(port->fcs, event);
1539 bfa_sm_fault(port->fcs, event);
1549 bfa_trc(port->fcs, port->port_cfg.pwwn);
1550 bfa_trc(port->fcs, event);
1584 bfa_sm_fault(port->fcs, event);
1594 bfa_trc(port->fcs, port->port_cfg.pwwn);
1595 bfa_trc(port->fcs, event);
1612 bfa_sm_fault(port->fcs, event);
1622 bfa_trc(port->fcs, port->port_cfg.pwwn);
1623 bfa_trc(port->fcs, event);
1631 bfa_sm_fault(port->fcs, event);
1643 bfa_trc(port->fcs, port->port_cfg.pwwn);
1644 bfa_trc(port->fcs, event);
1662 bfa_trc(port->fcs, port->port_cfg.pwwn);
1664 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
1666 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
1899 bfa_trc(port->fcs, port->port_cfg.pwwn);
1905 bfa_trc(port->fcs, req_status);
1918 bfa_trc(port->fcs, cthdr->reason_code);
1919 bfa_trc(port->fcs, cthdr->exp_code);
1936 bfa_trc(port->fcs, port->port_cfg.pwwn);
1938 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
1940 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
2092 rprt->hba_id = bfa_fcs_lport_get_pwwn(bfa_fcs_get_base_port(port->fcs));
2114 bfa_trc(port->fcs, port->port_cfg.pwwn);
2120 bfa_trc(port->fcs, req_status);
2133 bfa_trc(port->fcs, cthdr->reason_code);
2134 bfa_trc(port->fcs, cthdr->exp_code);
2151 bfa_trc(port->fcs, port->port_cfg.pwwn);
2153 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
2155 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
2205 bfa_trc(port->fcs, port->port_cfg.pwwn);
2211 bfa_trc(port->fcs, req_status);
2224 bfa_trc(port->fcs, cthdr->reason_code);
2225 bfa_trc(port->fcs, cthdr->exp_code);
2242 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info;
2246 bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc,
2248 bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc,
2250 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc,
2252 bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc,
2254 bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc,
2256 bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc,
2258 bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc,
2286 struct bfa_fcs_driver_info_s *driver_info = &port->fcs->driver_info;
2294 bfa_fcport_get_attr(port->fcs->bfa, &pport_attr);
2326 bfa_sm_fault(port->fcs, pport_attr.speed_supported);
2396 if (ms->port->fcs->fdmi_enabled)
2500 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2501 bfa_trc(ms->port->fcs, event);
2513 bfa_sm_fault(ms->port->fcs, event);
2521 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2522 bfa_trc(ms->port->fcs, event);
2536 bfa_sm_fault(ms->port->fcs, event);
2544 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2545 bfa_trc(ms->port->fcs, event);
2587 bfa_sm_fault(ms->port->fcs, event);
2595 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2596 bfa_trc(ms->port->fcs, event);
2613 bfa_sm_fault(ms->port->fcs, event);
2621 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2622 bfa_trc(ms->port->fcs, event);
2636 bfa_sm_fault(ms->port->fcs, event);
2644 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2645 bfa_trc(ms->port->fcs, event);
2659 bfa_sm_fault(ms->port->fcs, event);
2667 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2668 bfa_trc(ms->port->fcs, event);
2699 bfa_sm_fault(ms->port->fcs, event);
2707 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2708 bfa_trc(ms->port->fcs, event);
2725 bfa_sm_fault(ms->port->fcs, event);
2741 bfa_trc(port->fcs, port->pid);
2743 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
2745 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
2777 bfa_trc(port->fcs, req_status);
2778 bfa_trc(port->fcs, port->port_cfg.pwwn);
2784 bfa_trc(port->fcs, req_status);
2837 bfa_trc(port->fcs, cthdr->reason_code);
2838 bfa_trc(port->fcs, cthdr->exp_code);
2846 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2847 bfa_trc(ms->port->fcs, event);
2861 bfa_sm_fault(ms->port->fcs, event);
2869 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2870 bfa_trc(ms->port->fcs, event);
2899 bfa_sm_fault(ms->port->fcs, event);
2907 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn);
2908 bfa_trc(ms->port->fcs, event);
2925 bfa_sm_fault(ms->port->fcs, event);
2941 bfa_trc(port->fcs, port->pid);
2943 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
2945 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
2973 bfa_trc(port->fcs, req_status);
2974 bfa_trc(port->fcs, port->port_cfg.pwwn);
2980 bfa_trc(port->fcs, req_status);
2999 bfa_trc(port->fcs, cthdr->reason_code);
3000 bfa_trc(port->fcs, cthdr->exp_code);
3017 bfa_trc(port->fcs, port->pid);
3019 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
3022 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
3032 bfa_fcport_get_maxfrsize(port->fcs->bfa),
3033 bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
3054 bfa_trc(port->fcs, req_status);
3055 bfa_trc(port->fcs, port->port_cfg.pwwn);
3062 bfa_trc(port->fcs, req_status);
3073 bfa_trc(port->fcs, rsp_len);
3085 bfa_trc(port->fcs, ls_rjt->reason_code);
3086 bfa_trc(port->fcs, ls_rjt->reason_code_expl);
3094 bfa_trc(port->fcs, els_cmd->els_code);
3280 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3281 bfa_trc(ns->port->fcs, event);
3293 bfa_sm_fault(ns->port->fcs, event);
3301 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3302 bfa_trc(ns->port->fcs, event);
3316 bfa_sm_fault(ns->port->fcs, event);
3324 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3325 bfa_trc(ns->port->fcs, event);
3350 bfa_sm_fault(ns->port->fcs, event);
3358 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3359 bfa_trc(ns->port->fcs, event);
3376 bfa_sm_fault(ns->port->fcs, event);
3384 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3385 bfa_trc(ns->port->fcs, event);
3399 bfa_sm_fault(ns->port->fcs, event);
3407 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3408 bfa_trc(ns->port->fcs, event);
3433 bfa_sm_fault(ns->port->fcs, event);
3441 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3442 bfa_trc(ns->port->fcs, event);
3459 bfa_sm_fault(ns->port->fcs, event);
3467 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3468 bfa_trc(ns->port->fcs, event);
3482 bfa_sm_fault(ns->port->fcs, event);
3490 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3491 bfa_trc(ns->port->fcs, event);
3517 bfa_sm_fault(ns->port->fcs, event);
3525 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3526 bfa_trc(ns->port->fcs, event);
3540 bfa_sm_fault(ns->port->fcs, event);
3548 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3549 bfa_trc(ns->port->fcs, event);
3563 bfa_sm_fault(ns->port->fcs, event);
3571 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3572 bfa_trc(ns->port->fcs, event);
3582 if (__fcs_min_cfg(ns->port->fcs)) {
3620 bfa_sm_fault(ns->port->fcs, event);
3628 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3629 bfa_trc(ns->port->fcs, event);
3643 bfa_sm_fault(ns->port->fcs, event);
3650 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3651 bfa_trc(ns->port->fcs, event);
3665 bfa_sm_fault(ns->port->fcs, event);
3673 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3674 bfa_trc(ns->port->fcs, event);
3704 bfa_sm_fault(ns->port->fcs, event);
3712 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3713 bfa_trc(ns->port->fcs, event);
3727 bfa_sm_fault(ns->port->fcs, event);
3735 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn);
3736 bfa_trc(ns->port->fcs, event);
3756 bfa_sm_fault(ns->port->fcs, event);
3775 bfa_trc(port->fcs, port->pid);
3777 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
3780 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
3790 bfa_fcport_get_maxfrsize(port->fcs->bfa),
3791 bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
3813 bfa_trc(port->fcs, req_status);
3814 bfa_trc(port->fcs, port->port_cfg.pwwn);
3820 bfa_trc(port->fcs, req_status);
3832 bfa_trc(port->fcs, rsp_len);
3844 bfa_trc(port->fcs, ls_rjt->reason_code);
3845 bfa_trc(port->fcs, ls_rjt->reason_code_expl);
3854 bfa_trc(port->fcs, els_cmd->els_code);
3875 bfa_trc(port->fcs, port->port_cfg.pwwn);
3877 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
3880 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
3898 (bfa_fcs_get_base_port(port->fcs))),
3901 (port->fcs))));
3906 (port->fcs)))] = 0;
3937 bfa_trc(port->fcs, port->port_cfg.pwwn);
3943 bfa_trc(port->fcs, req_status);
3959 bfa_trc(port->fcs, cthdr->reason_code);
3960 bfa_trc(port->fcs, cthdr->exp_code);
3976 bfa_trc(port->fcs, port->port_cfg.pwwn);
3978 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
3981 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
4009 bfa_trc(port->fcs, port->port_cfg.pwwn);
4015 bfa_trc(port->fcs, req_status);
4031 bfa_trc(port->fcs, cthdr->reason_code);
4032 bfa_trc(port->fcs, cthdr->exp_code);
4049 bfa_trc(port->fcs, port->port_cfg.pwwn);
4051 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
4054 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
4086 bfa_trc(port->fcs, port->port_cfg.pwwn);
4092 bfa_trc(port->fcs, req_status);
4108 bfa_trc(port->fcs, cthdr->reason_code);
4109 bfa_trc(port->fcs, cthdr->exp_code);
4132 bfa_trc(port->fcs, port->pid);
4134 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
4137 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
4152 bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV);
4170 bfa_trc(port->fcs, port->port_cfg.pwwn);
4176 bfa_trc(port->fcs, req_status);
4187 bfa_trc(port->fcs, rsp_len);
4188 bfa_trc(port->fcs, resid_len);
4201 bfa_trc(port->fcs, n_pids);
4215 bfa_trc(port->fcs, cthdr->reason_code);
4216 bfa_trc(port->fcs, cthdr->exp_code);
4232 bfa_trc(port->fcs, cthdr->cmd_rsp_code);
4291 bfa_trc(port->fcs, gidft_entry->pid);
4341 bfa_trc(port->fcs, port->pid);
4354 bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns);
4430 bfa_sm_fault(scn->port->fcs, event);
4445 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe);
4449 bfa_sm_fault(scn->port->fcs, event);
4466 bfa_timer_start(port->fcs->bfa, &scn->timer,
4477 bfa_sm_fault(port->fcs, event);
4497 bfa_sm_fault(scn->port->fcs, event);
4511 bfa_sm_fault(scn->port->fcs, event);
4533 bfa_trc(port->fcs, port->pid);
4534 bfa_trc(port->fcs, port->port_cfg.pwwn);
4536 fcxp = fcxp_alloced ? fcxp_alloced : bfa_fcs_fcxp_alloc(port->fcs);
4538 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe,
4545 if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) {
4573 bfa_trc(port->fcs, port->port_cfg.pwwn);
4579 bfa_trc(port->fcs, req_status);
4596 bfa_trc(port->fcs, ls_rjt->reason_code);
4597 bfa_trc(port->fcs, ls_rjt->reason_code_expl);
4619 bfa_trc(port->fcs, rx_fchs->s_id);
4621 fcxp = bfa_fcs_fcxp_alloc(port->fcs);
4696 bfa_trc(port->fcs, rpid);
4708 if (!__fcs_min_cfg(port->fcs))
4734 bfa_trc(port->fcs, format);
4735 bfa_trc(port->fcs, rscn_pid);
4762 bfa_trc(port->fcs, num_entries);
4771 bfa_trc(port->fcs, rscn->event[i].format);
4772 bfa_trc(port->fcs, rscn_pid);
4785 bfa_trc(port->fcs, rscn_pid);
4796 bfa_trc(port->fcs, rscn_pid);
4841 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs)
4843 return &fcs->fabric.bport;
4853 struct bfa_fcs_s *fcs;
4858 fcs = port->fcs;
4859 bfa_trc(fcs, (u32) nrports);
4869 bfa_trc(fcs, (u32) rport->pwwn);
4870 bfa_trc(fcs, rport->pid);
4871 bfa_trc(fcs, i);
4887 bfa_trc(fcs, i);
4901 struct bfa_fcs_s *fcs;
4906 fcs = port->fcs;
4907 bfa_trc(fcs, (u32) *nrports);
4917 bfa_trc(fcs, (u32) rport->pwwn);
4918 bfa_trc(fcs, rport->pid);
4919 bfa_trc(fcs, i);
4929 bfa_trc(fcs, i);
4944 struct bfa_fcs_s *fcs;
4948 bfa_boolean_t trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa);
4954 fcs = port->fcs;
4957 bfa_fcport_get_attr(port->fcs->bfa, &port_attr);
4959 bfa_trc(fcs, port_speed);
4978 bfa_fcport_get_ratelim_speed(port->fcs->bfa);
4990 bfa_trc(fcs, max_speed);
4995 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn)
5000 WARN_ON(fcs == NULL);
5002 vf = bfa_fcs_vf_lookup(fcs, vf_id);
5004 bfa_trc(fcs, vf_id);
5026 bfa_trc(port->fcs, port->fabric->fabric_name);
5044 bfa_lps_get_max_vport(port->fcs->bfa);
5083 #define __vport_fcs(__vp) ((__vp)->lport.fcs)
5086 #define __vport_bfa(__vp) ((__vp)->lport.fcs->bfa)
5600 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad;
5610 bfa_fcs_get_base_port(port->fcs));
5614 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq,
5801 * param[in] fcs - FCS instance
5812 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs,
5819 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn)
5822 if (bfa_fcs_vport_lookup(fcs, vf_id, vport_cfg->pwwn) != NULL)
5825 if (fcs->fabric.num_vports ==
5826 bfa_lps_get_max_vport(fcs->bfa))
5829 vport->lps = bfa_lps_alloc(fcs->bfa);
5837 bfa_fcs_lport_attach(&vport->lport, fcs, vf_id, vport);
5851 * param[in] fcs - FCS instance
5862 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs,
5868 rc = bfa_fcs_vport_create(vport, fcs, vf_id, vport_cfg, vport_drv);
5972 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn)
5977 bfa_trc(fcs, vf_id);
5978 bfa_trc(fcs, vpwwn);
5980 fabric = bfa_fcs_vf_lookup(fcs, vf_id);
5982 bfa_trc(fcs, vf_id);