Lines Matching refs:fabric

169 			bfa_wc_down(&(port->fabric->stop_wc));  in bfa_fcs_lport_sm_init()
198 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
206 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_online()
218 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
264 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_offline()
311 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_stopping()
352 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
359 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
393 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
427 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
466 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
477 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
488 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
492 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
572 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
629 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
655 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
657 __port_action[port->fabric->fab_type].init(port); in bfa_fcs_lport_online_actions()
658 __port_action[port->fabric->fab_type].online(port); in bfa_fcs_lport_online_actions()
677 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
679 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_offline_actions()
682 if (bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_offline_actions()
737 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
757 bfa_wc_down(&port->fabric->wc); in bfa_fcs_lport_deleted()
1074 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1077 lport->fabric->lps->bfa_tag; in bfa_fcs_lport_attach()
1100 lport->fabric->vf_drv, in bfa_fcs_lport_init()
1140 if (port->fabric) { in bfa_fcs_lport_get_attr()
1141 port_attr->port_type = port->fabric->oper_type; in bfa_fcs_lport_get_attr()
1142 port_attr->loopback = bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1145 bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1158 port->fabric->lps->lp_mac; in bfa_fcs_lport_get_attr()
1238 bfa_lps_set_n2n_pid(port->fabric->lps, N2N_LOCAL_PID); in bfa_fcs_lport_n2n_online()
1887 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2220 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2541 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2659 hba_attr->fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_hbaattr()
2744 port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_portattr()
3150 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gmal()
3152 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3351 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gfn()
3353 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3391 bfa_fcs_fabric_set_fabric_name(port->fabric, *gfn_resp); in bfa_fcs_lport_ms_gfn_response()
3434 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
4399 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4495 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4574 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4680 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4754 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4832 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4915 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
5034 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_ns_process_gidft_pids() local
5049 if (gidft_entry->pid == fabric->bport.pid) in bfa_fcs_lport_ns_process_gidft_pids()
5057 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_ns_process_gidft_pids()
5211 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5403 port->fabric->lps->brcd_switch, in bfa_fcs_lport_scn_send_scr()
5411 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5485 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()
5551 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_scn_portid_rscn() local
5562 if (rpid == fabric->bport.pid) in bfa_fcs_lport_scn_portid_rscn()
5565 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_scn_portid_rscn()
5718 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5907 bfa_trc(port->fcs, port->fabric->fabric_name); in bfa_fcs_lport_get_info()
5927 port->fabric->num_vports; in bfa_fcs_lport_get_info()
5978 #define __vport_fabric(__vp) ((__vp)->lport.fabric)
5979 #define __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id)
6493 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6500 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_vport_aen_post()
6728 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6734 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6884 struct bfa_fcs_fabric_s *fabric; in bfa_fcs_vport_lookup() local
6889 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6890 if (!fabric) { in bfa_fcs_vport_lookup()
6895 vport = bfa_fcs_fabric_vport_lookup(fabric, vpwwn); in bfa_fcs_vport_lookup()