Lines Matching full:fabric

160 			bfa_wc_down(&(port->fabric->stop_wc));  in bfa_fcs_lport_sm_init()
189 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
197 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_online()
209 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
255 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_offline()
302 bfa_wc_down(&(port->fabric->stop_wc)); in bfa_fcs_lport_sm_stopping()
343 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post()
350 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_lport_aen_post()
384 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_ls_rjt()
418 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_send_fcgs_rjt()
457 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
468 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
479 if ((!bfa_fcs_fabric_is_switched(port->fabric)) && in bfa_fcs_lport_plogi()
483 bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); in bfa_fcs_lport_plogi()
563 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_echo()
620 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_rnid()
646 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_online_actions()
648 __port_action[port->fabric->fab_type].init(port); in bfa_fcs_lport_online_actions()
649 __port_action[port->fabric->fab_type].online(port); in bfa_fcs_lport_online_actions()
668 bfa_trc(port->fcs, port->fabric->oper_type); in bfa_fcs_lport_offline_actions()
670 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_offline_actions()
673 if (bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_offline_actions()
676 "Logical port lost fabric connectivity: WWN = %s Role = %s\n", in bfa_fcs_lport_offline_actions()
728 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_abts_acc()
748 bfa_wc_down(&port->fabric->wc); in bfa_fcs_lport_deleted()
988 * Called by fabric for base port when fabric login is complete.
998 * Called by fabric for base port when fabric goes offline.
1008 * Called by fabric for base port and by vport for virtual ports
1018 * Called by fabric to delete base lport and associated resources.
1046 lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_lport_attach()
1049 lport->fabric->lps->bfa_tag; in bfa_fcs_lport_attach()
1057 * Called by fabric for base port or by vport for virtual ports.
1072 lport->fabric->vf_drv, in bfa_fcs_lport_init()
1112 if (port->fabric) { in bfa_fcs_lport_get_attr()
1113 port_attr->port_type = port->fabric->oper_type; in bfa_fcs_lport_get_attr()
1114 port_attr->loopback = bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1117 bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1130 port->fabric->lps->lp_mac; in bfa_fcs_lport_get_attr()
1143 * Called by port to initialize fabric services of the base port.
1210 bfa_lps_set_n2n_pid(port->fabric->lps, N2N_LOCAL_PID); in bfa_fcs_lport_n2n_online()
1847 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rhba()
2186 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rprt()
2507 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_fdmi_send_rpa()
2625 hba_attr->fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_hbaattr()
2710 port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_portattr()
3103 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gmal()
3105 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gmal()
3172 /* copy IP Address to fabric */ in bfa_fcs_lport_ms_gmal_response()
3304 port->fabric->lps->pr_nwwn); in bfa_fcs_lport_ms_send_gfn()
3306 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_gfn()
3344 bfa_fcs_fabric_set_fabric_name(port->fabric, *gfn_resp); in bfa_fcs_lport_ms_gfn_response()
3387 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ms_send_plogi()
4118 * discovery with the fabric. Instead, we will retrieve the in bfa_fcs_lport_ns_sm_rff_id()
4333 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_plogi()
4429 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rnn_id()
4508 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rsnn_nn()
4606 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rspn_id()
4680 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rft_id()
4758 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_rff_id()
4809 * Query Fabric for FC4-Types Devices.
4841 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
4904 * There may not have been any FC4 devices in the fabric in bfa_fcs_lport_ns_gid_ft_response()
4960 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_ns_process_gidft_pids() local
4975 if (gidft_entry->pid == fabric->bport.pid) in bfa_fcs_lport_ns_process_gidft_pids()
4983 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_ns_process_gidft_pids()
5131 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_util_send_rspn_id()
5311 port->fabric->lps->brcd_switch, in bfa_fcs_lport_scn_send_scr()
5319 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_scn_send_scr()
5393 bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, in bfa_fcs_lport_scn_send_ls_acc()
5459 struct bfa_fcs_fabric_s *fabric = port->fabric; in bfa_fcs_lport_scn_portid_rscn() local
5470 if (rpid == fabric->bport.pid) in bfa_fcs_lport_scn_portid_rscn()
5473 list_for_each(qe, &fabric->vport_q) { in bfa_fcs_lport_scn_portid_rscn()
5610 * If any of area, domain or fabric RSCN is received, do a fresh in bfa_fcs_lport_scn_process_rscn()
5626 return &fcs->fabric.bport; in bfa_fcs_get_base_port()
5790 #define __vport_fabric(__vp) ((__vp)->lport.fabric)
5791 #define __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id)
5903 * Fabric is offline or not NPIV capable, stay in in bfa_fcs_vport_sm_created()
5919 * Ignore ONLINE/OFFLINE events from fabric in bfa_fcs_vport_sm_created()
5930 * Offline state - awaiting ONLINE event from fabric SM.
5973 * FDISC is sent and awaiting reply from fabric.
6122 * LOGO to fabric.
6148 * LOGO to fabric.
6200 * Lport cleanup is in progress since vport is being deleted. Fabric is
6229 * LOGO is sent to fabric. Vport stop is in progress. Lport stop cleanup
6255 * LOGO is sent to fabric. Vport delete is in progress. Lport delete cleanup
6296 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post()
6303 aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; in bfa_fcs_vport_aen_post()
6371 * Called to send a logout to the fabric. Used when a V-Port is
6433 * Online notification from fabric SM.
6446 * Offline notification from fabric SM.
6456 * Stop notification from fabric SM. To be invoked from within FCS.
6465 * delete notification from fabric SM. To be invoked from within FCS.
6507 * FC_VF_ID_NULL to specify base fabric.
6522 if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) in bfa_fcs_vport_create()
6528 if (fcs->fabric.num_vports == in bfa_fcs_vport_create()
6557 * FC_VF_ID_NULL to specify base fabric.
6610 * Use this function to delete a vport object. Fabric object should
6660 struct bfa_fcs_fabric_s *fabric; in bfa_fcs_vport_lookup() local
6665 fabric = bfa_fcs_vf_lookup(fcs, vf_id); in bfa_fcs_vport_lookup()
6666 if (!fabric) { in bfa_fcs_vport_lookup()
6671 vport = bfa_fcs_fabric_vport_lookup(fabric, vpwwn); in bfa_fcs_vport_lookup()