Lines Matching refs:fabric

173 			bfa_wc_down(&(port->fabric->stop_wc));  in bfa_fcs_lport_sm_init()
202 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
210 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_online()
222 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
268 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_offline()
315 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_stopping()
356 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
363 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
397 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
431 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
470 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
481 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
492 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
496 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
576 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
633 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
659 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
661 __port_action[port->fabric->fab_type].init(port); in bfa_fcs_lport_online_actions()
662 __port_action[port->fabric->fab_type].online(port); in bfa_fcs_lport_online_actions()
681 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
683 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_offline_actions()
686 if (bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_offline_actions()
741 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
761 bfa_wc_down(&port->fabric->wc); in bfa_fcs_lport_deleted()
1078 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1081 lport->fabric->lps->bfa_tag; in bfa_fcs_lport_attach()
1104 lport->fabric->vf_drv, in bfa_fcs_lport_init()
1144 if (port->fabric) { in bfa_fcs_lport_get_attr()
1145 port_attr->port_type = port->fabric->oper_type; in bfa_fcs_lport_get_attr()
1146 port_attr->loopback = bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1149 bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1162 port->fabric->lps->lp_mac; in bfa_fcs_lport_get_attr()
1242 bfa_lps_set_n2n_pid(port->fabric->lps, N2N_LOCAL_PID); in bfa_fcs_lport_n2n_online()
1893 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2232 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2553 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2671 hba_attr->fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_hbaattr()
2756 port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_portattr()
3162 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gmal()
3164 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3363 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gfn()
3365 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3403 bfa_fcs_fabric_set_fabric_name(port->fabric, *gfn_resp); in bfa_fcs_lport_ms_gfn_response()
3446 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
4411 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4507 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4586 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4684 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4758 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4836 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4919 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
5038 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_ns_process_gidft_pids() local
5053 if (gidft_entry->pid == fabric->bport.pid) in bfa_fcs_lport_ns_process_gidft_pids()
5061 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_ns_process_gidft_pids()
5209 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5401 port->fabric->lps->brcd_switch, in bfa_fcs_lport_scn_send_scr()
5409 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5483 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()
5549 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_scn_portid_rscn() local
5560 if (rpid == fabric->bport.pid) in bfa_fcs_lport_scn_portid_rscn()
5563 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_scn_portid_rscn()
5716 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5905 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5925 port->fabric->num_vports; in bfa_fcs_lport_get_info()
5976 #define __vport_fabric(__vp) ((__vp)->lport.fabric)
5977 #define __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id)
6487 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6494 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_vport_aen_post()
6722 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6728 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6878 struct bfa_fcs_fabric_s *fabric; in bfa_fcs_vport_lookup() local
6883 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6884 if (!fabric) { in bfa_fcs_vport_lookup()
6889 vport = bfa_fcs_fabric_vport_lookup(fabric, vpwwn); in bfa_fcs_vport_lookup()