Lines Matching full: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()
689 "Logical port lost fabric connectivity: WWN = %s Role = %s\n", 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()
1020 * Called by fabric for base port when fabric login is complete.
1030 * Called by fabric for base port when fabric goes offline.
1040 * Called by fabric for base port and by vport for virtual ports
1050 * Called by fabric to delete base lport and associated resources.
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()
1089 * Called by fabric for base port or by vport for virtual ports.
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()
1175 * Called by port to initialize fabric services of the base port.
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()
3231 /* copy IP Address to fabric */ in bfa_fcs_lport_ms_gmal_response()
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()
4196 * discovery with the fabric. Instead, we will retrieve the in bfa_fcs_lport_ns_sm_rff_id()
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()
4887 * Query Fabric for FC4-Types Devices.
4919 bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, in bfa_fcs_lport_ns_send_gid_ft()
4982 * There may not have been any FC4 devices in the fabric in bfa_fcs_lport_ns_gid_ft_response()
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()
5700 * If any of area, domain or fabric RSCN is received, do a fresh in bfa_fcs_lport_scn_process_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)
6000 BFA_FCS_VPORT_SM_ONLINE = 5, /* fabric online */
6001 BFA_FCS_VPORT_SM_OFFLINE = 6, /* fabric offline event */
6010 BFA_FCS_VPORT_SM_FABRIC_MAX = 15, /* max vports on fabric */
6094 * Fabric is offline or not NPIV capable, stay in in bfa_fcs_vport_sm_created()
6110 * Ignore ONLINE/OFFLINE events from fabric in bfa_fcs_vport_sm_created()
6121 * Offline state - awaiting ONLINE event from fabric SM.
6164 * FDISC is sent and awaiting reply from fabric.
6313 * LOGO to fabric.
6339 * LOGO to fabric.
6391 * Lport cleanup is in progress since vport is being deleted. Fabric is
6420 * LOGO is sent to fabric. Vport stop is in progress. Lport stop cleanup
6446 * LOGO is sent to fabric. Vport delete is in progress. Lport delete cleanup
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()
6562 * Called to send a logout to the fabric. Used when a V-Port is
6624 * Online notification from fabric SM.
6637 * Offline notification from fabric SM.
6647 * Cleanup notification from fabric SM on link timer expiry.
6656 * Stop notification from fabric SM. To be invoked from within FCS.
6665 * delete notification from fabric SM. To be invoked from within FCS.
6707 * FC_VF_ID_NULL to specify base fabric.
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()
6757 * FC_VF_ID_NULL to specify base fabric.
6828 * Use this function to delete a vport object. Fabric object should
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()