Lines Matching refs:ns

3654 static void     bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns,
3656 static void bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns,
3658 static void bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns,
3660 static void bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns,
3663 struct bfa_fcs_lport_ns_s *ns,
3665 static void bfa_fcs_lport_ns_sm_rspn_id(struct bfa_fcs_lport_ns_s *ns,
3667 static void bfa_fcs_lport_ns_sm_rspn_id_retry(struct bfa_fcs_lport_ns_s *ns,
3670 struct bfa_fcs_lport_ns_s *ns,
3672 static void bfa_fcs_lport_ns_sm_rft_id_retry(struct bfa_fcs_lport_ns_s *ns,
3674 static void bfa_fcs_lport_ns_sm_rft_id(struct bfa_fcs_lport_ns_s *ns,
3677 struct bfa_fcs_lport_ns_s *ns,
3679 static void bfa_fcs_lport_ns_sm_rff_id_retry(struct bfa_fcs_lport_ns_s *ns,
3681 static void bfa_fcs_lport_ns_sm_rff_id(struct bfa_fcs_lport_ns_s *ns,
3684 struct bfa_fcs_lport_ns_s *ns,
3686 static void bfa_fcs_lport_ns_sm_gid_ft(struct bfa_fcs_lport_ns_s *ns,
3688 static void bfa_fcs_lport_ns_sm_gid_ft_retry(struct bfa_fcs_lport_ns_s *ns,
3690 static void bfa_fcs_lport_ns_sm_online(struct bfa_fcs_lport_ns_s *ns,
3693 struct bfa_fcs_lport_ns_s *ns,
3695 static void bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns,
3697 static void bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns,
3700 struct bfa_fcs_lport_ns_s *ns,
3702 static void bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns,
3705 struct bfa_fcs_lport_ns_s *ns,
3711 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_offline() argument
3714 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_offline()
3715 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3719 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_plogi_sending); in bfa_fcs_lport_ns_sm_offline()
3720 bfa_fcs_lport_ns_send_plogi(ns, NULL); in bfa_fcs_lport_ns_sm_offline()
3727 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_offline()
3732 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_sending() argument
3735 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_sending()
3736 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3740 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_plogi); in bfa_fcs_lport_ns_sm_plogi_sending()
3744 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_plogi_sending()
3745 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_plogi_sending()
3746 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_plogi_sending()
3750 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_sending()
3755 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi() argument
3758 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi()
3759 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3766 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_plogi_retry); in bfa_fcs_lport_ns_sm_plogi()
3767 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_plogi()
3768 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_plogi()
3769 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_plogi()
3774 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rnn_id); in bfa_fcs_lport_ns_sm_plogi()
3775 ns->num_rnnid_retries = 0; in bfa_fcs_lport_ns_sm_plogi()
3776 bfa_fcs_lport_ns_send_rnn_id(ns, NULL); in bfa_fcs_lport_ns_sm_plogi()
3780 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_plogi()
3781 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_plogi()
3785 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi()
3790 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_retry() argument
3793 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_plogi_retry()
3794 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3801 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_plogi_sending); in bfa_fcs_lport_ns_sm_plogi_retry()
3802 bfa_fcs_lport_ns_send_plogi(ns, NULL); in bfa_fcs_lport_ns_sm_plogi_retry()
3806 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_plogi_retry()
3807 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_plogi_retry()
3811 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_plogi_retry()
3816 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rnn_id() argument
3819 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3820 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3824 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rnn_id); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3828 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3829 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_rnn_id()
3830 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3833 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rnn_id()
3838 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id() argument
3841 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id()
3842 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3846 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rsnn_nn); in bfa_fcs_lport_ns_sm_rnn_id()
3847 ns->num_rnnid_retries = 0; in bfa_fcs_lport_ns_sm_rnn_id()
3848 ns->num_rsnn_nn_retries = 0; in bfa_fcs_lport_ns_sm_rnn_id()
3849 bfa_fcs_lport_ns_send_rsnn_nn(ns, NULL); in bfa_fcs_lport_ns_sm_rnn_id()
3853 if (ns->num_rnnid_retries < BFA_FCS_MAX_NS_RETRIES) { in bfa_fcs_lport_ns_sm_rnn_id()
3854 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rnn_id_retry); in bfa_fcs_lport_ns_sm_rnn_id()
3855 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_rnn_id()
3856 ns->num_rnnid_retries++; in bfa_fcs_lport_ns_sm_rnn_id()
3857 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_rnn_id()
3858 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_rnn_id()
3861 bfa_sm_set_state(ns, in bfa_fcs_lport_ns_sm_rnn_id()
3863 bfa_fcs_lport_ns_send_rspn_id(ns, NULL); in bfa_fcs_lport_ns_sm_rnn_id()
3868 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rnn_id()
3869 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rnn_id()
3873 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id()
3878 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id_retry() argument
3881 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3882 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3886 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rnn_id); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3887 bfa_fcs_lport_ns_send_rnn_id(ns, NULL); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3891 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3892 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3896 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rnn_id_retry()
3901 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rsnn_nn() argument
3904 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3905 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3909 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rsnn_nn); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3913 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3914 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3915 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3919 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3924 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn() argument
3927 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn()
3928 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3932 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rspn_id); in bfa_fcs_lport_ns_sm_rsnn_nn()
3933 ns->num_rsnn_nn_retries = 0; in bfa_fcs_lport_ns_sm_rsnn_nn()
3934 bfa_fcs_lport_ns_send_rspn_id(ns, NULL); in bfa_fcs_lport_ns_sm_rsnn_nn()
3938 if (ns->num_rsnn_nn_retries < BFA_FCS_MAX_NS_RETRIES) { in bfa_fcs_lport_ns_sm_rsnn_nn()
3939 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rsnn_nn_retry); in bfa_fcs_lport_ns_sm_rsnn_nn()
3940 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_rsnn_nn()
3941 ns->num_rsnn_nn_retries++; in bfa_fcs_lport_ns_sm_rsnn_nn()
3942 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_rsnn_nn()
3943 &ns->timer, bfa_fcs_lport_ns_timeout, in bfa_fcs_lport_ns_sm_rsnn_nn()
3944 ns, BFA_FCS_RETRY_TIMEOUT); in bfa_fcs_lport_ns_sm_rsnn_nn()
3946 bfa_sm_set_state(ns, in bfa_fcs_lport_ns_sm_rsnn_nn()
3948 bfa_fcs_lport_ns_send_rspn_id(ns, NULL); in bfa_fcs_lport_ns_sm_rsnn_nn()
3953 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rsnn_nn()
3954 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rsnn_nn()
3958 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn()
3963 bfa_fcs_lport_ns_sm_rsnn_nn_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn_retry() argument
3966 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3967 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3971 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rsnn_nn); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3972 bfa_fcs_lport_ns_send_rsnn_nn(ns, NULL); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3976 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3977 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3981 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
3986 bfa_fcs_lport_ns_sm_sending_rspn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rspn_id() argument
3989 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3990 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3994 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rspn_id); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3998 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_rspn_id()
3999 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_rspn_id()
4000 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4004 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rspn_id()
4009 bfa_fcs_lport_ns_sm_rspn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rspn_id() argument
4012 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id()
4013 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4020 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rspn_id_retry); in bfa_fcs_lport_ns_sm_rspn_id()
4021 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_rspn_id()
4022 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_rspn_id()
4023 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_rspn_id()
4028 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rft_id); in bfa_fcs_lport_ns_sm_rspn_id()
4029 bfa_fcs_lport_ns_send_rft_id(ns, NULL); in bfa_fcs_lport_ns_sm_rspn_id()
4033 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rspn_id()
4034 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rspn_id()
4038 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id()
4043 bfa_fcs_lport_ns_sm_rspn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rspn_id_retry() argument
4046 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4047 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4054 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rspn_id); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4055 bfa_fcs_lport_ns_send_rspn_id(ns, NULL); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4059 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4060 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4064 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rspn_id_retry()
4069 bfa_fcs_lport_ns_sm_sending_rft_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rft_id() argument
4072 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rft_id()
4073 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4077 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rft_id); in bfa_fcs_lport_ns_sm_sending_rft_id()
4081 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_rft_id()
4082 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_rft_id()
4083 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_rft_id()
4087 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rft_id()
4092 bfa_fcs_lport_ns_sm_rft_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rft_id() argument
4095 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id()
4096 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4101 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rff_id); in bfa_fcs_lport_ns_sm_rft_id()
4102 bfa_fcs_lport_ns_send_rff_id(ns, NULL); in bfa_fcs_lport_ns_sm_rft_id()
4109 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rft_id_retry); in bfa_fcs_lport_ns_sm_rft_id()
4110 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_rft_id()
4111 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_rft_id()
4112 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_rft_id()
4117 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rft_id()
4118 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rft_id()
4122 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id()
4127 bfa_fcs_lport_ns_sm_rft_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rft_id_retry() argument
4130 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rft_id_retry()
4131 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4135 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rft_id); in bfa_fcs_lport_ns_sm_rft_id_retry()
4136 bfa_fcs_lport_ns_send_rft_id(ns, NULL); in bfa_fcs_lport_ns_sm_rft_id_retry()
4140 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rft_id_retry()
4141 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_rft_id_retry()
4145 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rft_id_retry()
4150 bfa_fcs_lport_ns_sm_sending_rff_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rff_id() argument
4153 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_rff_id()
4154 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4158 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rff_id); in bfa_fcs_lport_ns_sm_sending_rff_id()
4162 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_rff_id()
4163 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_rff_id()
4164 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_rff_id()
4168 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_rff_id()
4173 bfa_fcs_lport_ns_sm_rff_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rff_id() argument
4176 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id()
4177 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4187 if (__fcs_min_cfg(ns->port->fcs)) { in bfa_fcs_lport_ns_sm_rff_id()
4188 bfa_fcs_lport_ns_boot_target_disc(ns->port); in bfa_fcs_lport_ns_sm_rff_id()
4189 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_online); in bfa_fcs_lport_ns_sm_rff_id()
4197 if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) { in bfa_fcs_lport_ns_sm_rff_id()
4198 bfa_sm_set_state(ns, in bfa_fcs_lport_ns_sm_rff_id()
4200 bfa_fcs_lport_ns_send_gid_ft(ns, NULL); in bfa_fcs_lport_ns_sm_rff_id()
4205 bfa_fcs_lport_ms_online(ns->port); in bfa_fcs_lport_ns_sm_rff_id()
4212 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_rff_id_retry); in bfa_fcs_lport_ns_sm_rff_id()
4213 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_rff_id()
4214 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_rff_id()
4215 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_rff_id()
4220 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rff_id()
4221 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_rff_id()
4225 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id()
4230 bfa_fcs_lport_ns_sm_rff_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rff_id_retry() argument
4233 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_rff_id_retry()
4234 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4238 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_rff_id); in bfa_fcs_lport_ns_sm_rff_id_retry()
4239 bfa_fcs_lport_ns_send_rff_id(ns, NULL); in bfa_fcs_lport_ns_sm_rff_id_retry()
4243 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_rff_id_retry()
4244 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_rff_id_retry()
4248 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_rff_id_retry()
4252 bfa_fcs_lport_ns_sm_sending_gid_ft(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_gid_ft() argument
4255 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4256 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4260 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_gid_ft); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4264 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4265 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_sending_gid_ft()
4266 &ns->fcxp_wqe); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4270 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_sending_gid_ft()
4275 bfa_fcs_lport_ns_sm_gid_ft(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_gid_ft() argument
4278 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft()
4279 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4283 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_online); in bfa_fcs_lport_ns_sm_gid_ft()
4293 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_gid_ft_retry); in bfa_fcs_lport_ns_sm_gid_ft()
4294 ns->port->stats.ns_retries++; in bfa_fcs_lport_ns_sm_gid_ft()
4295 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ns->port), in bfa_fcs_lport_ns_sm_gid_ft()
4296 &ns->timer, bfa_fcs_lport_ns_timeout, ns, in bfa_fcs_lport_ns_sm_gid_ft()
4301 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_gid_ft()
4302 bfa_fcxp_discard(ns->fcxp); in bfa_fcs_lport_ns_sm_gid_ft()
4309 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft()
4314 bfa_fcs_lport_ns_sm_gid_ft_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_gid_ft_retry() argument
4317 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4318 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4322 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_sending_gid_ft); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4323 bfa_fcs_lport_ns_send_gid_ft(ns, NULL); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4327 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4328 bfa_timer_stop(&ns->timer); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4332 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_gid_ft_retry()
4337 bfa_fcs_lport_ns_sm_online(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_online() argument
4340 bfa_trc(ns->port->fcs, ns->port->port_cfg.pwwn); in bfa_fcs_lport_ns_sm_online()
4341 bfa_trc(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4345 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_sm_online()
4353 if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) { in bfa_fcs_lport_ns_sm_online()
4354 bfa_sm_set_state(ns, in bfa_fcs_lport_ns_sm_online()
4356 bfa_fcs_lport_ns_send_gid_ft(ns, NULL); in bfa_fcs_lport_ns_sm_online()
4361 bfa_sm_fault(ns->port->fcs, event); in bfa_fcs_lport_ns_sm_online()
4374 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_plogi() local
4375 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_plogi()
4386 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_plogi()
4387 bfa_fcs_lport_ns_send_plogi, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_plogi()
4390 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_plogi()
4401 bfa_fcs_lport_ns_plogi_response, (void *)ns, in bfa_fcs_lport_ns_send_plogi()
4405 bfa_sm_send_event(ns, NSSM_EVENT_PLOGI_SENT); in bfa_fcs_lport_ns_send_plogi()
4413 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_plogi_response() local
4414 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_plogi_response()
4428 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_plogi_response()
4440 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_plogi_response()
4444 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_plogi_response()
4455 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_plogi_response()
4461 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_plogi_response()
4471 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rnn_id() local
4472 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_rnn_id()
4483 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rnn_id()
4484 bfa_fcs_lport_ns_send_rnn_id, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_rnn_id()
4488 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rnn_id()
4497 bfa_fcs_lport_ns_rnn_id_response, (void *)ns, in bfa_fcs_lport_ns_send_rnn_id()
4501 bfa_sm_send_event(ns, NSSM_EVENT_RNNID_SENT); in bfa_fcs_lport_ns_send_rnn_id()
4511 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_rnn_id_response() local
4512 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_rnn_id_response()
4523 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rnn_id_response()
4532 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rnn_id_response()
4539 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rnn_id_response()
4548 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rsnn_nn() local
4549 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_rsnn_nn()
4561 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rsnn_nn()
4562 bfa_fcs_lport_ns_send_rsnn_nn, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_rsnn_nn()
4565 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rsnn_nn()
4576 bfa_fcs_lport_ns_rsnn_nn_response, (void *)ns, in bfa_fcs_lport_ns_send_rsnn_nn()
4581 bfa_sm_send_event(ns, NSSM_EVENT_RSNN_NN_SENT); in bfa_fcs_lport_ns_send_rsnn_nn()
4590 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_rsnn_nn_response() local
4591 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_rsnn_nn_response()
4602 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rsnn_nn_response()
4611 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rsnn_nn_response()
4618 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rsnn_nn_response()
4627 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rspn_id() local
4628 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_rspn_id()
4643 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rspn_id()
4644 bfa_fcs_lport_ns_send_rspn_id, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_rspn_id()
4647 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rspn_id()
4682 bfa_fcs_lport_ns_rspn_id_response, (void *)ns, in bfa_fcs_lport_ns_send_rspn_id()
4687 bfa_sm_send_event(ns, NSSM_EVENT_RSPNID_SENT); in bfa_fcs_lport_ns_send_rspn_id()
4696 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_rspn_id_response() local
4697 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_rspn_id_response()
4708 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rspn_id_response()
4717 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rspn_id_response()
4724 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rspn_id_response()
4733 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rft_id() local
4734 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_rft_id()
4745 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rft_id()
4746 bfa_fcs_lport_ns_send_rft_id, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_rft_id()
4749 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rft_id()
4756 bfa_fcs_lport_ns_rft_id_response, (void *)ns, in bfa_fcs_lport_ns_send_rft_id()
4760 bfa_sm_send_event(ns, NSSM_EVENT_RFTID_SENT); in bfa_fcs_lport_ns_send_rft_id()
4769 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_rft_id_response() local
4770 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_rft_id_response()
4781 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rft_id_response()
4790 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rft_id_response()
4797 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rft_id_response()
4806 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_rff_id() local
4807 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_rff_id()
4819 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_rff_id()
4820 bfa_fcs_lport_ns_send_rff_id, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_rff_id()
4823 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_rff_id()
4825 if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) in bfa_fcs_lport_ns_send_rff_id()
4834 bfa_fcs_lport_ns_rff_id_response, (void *)ns, in bfa_fcs_lport_ns_send_rff_id()
4838 bfa_sm_send_event(ns, NSSM_EVENT_RFFID_SENT); in bfa_fcs_lport_ns_send_rff_id()
4847 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_rff_id_response() local
4848 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_rff_id_response()
4859 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rff_id_response()
4868 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rff_id_response()
4878 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_rff_id_response()
4880 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_rff_id_response()
4891 struct bfa_fcs_lport_ns_s *ns = ns_cbarg; in bfa_fcs_lport_ns_send_gid_ft() local
4892 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_send_gid_ft()
4903 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_send_gid_ft()
4904 bfa_fcs_lport_ns_send_gid_ft, ns, BFA_TRUE); in bfa_fcs_lport_ns_send_gid_ft()
4907 ns->fcxp = fcxp; in bfa_fcs_lport_ns_send_gid_ft()
4913 ns->port->pid, FC_TYPE_FCP); in bfa_fcs_lport_ns_send_gid_ft()
4917 bfa_fcs_lport_ns_gid_ft_response, (void *)ns, in bfa_fcs_lport_ns_send_gid_ft()
4922 bfa_sm_send_event(ns, NSSM_EVENT_GIDFT_SENT); in bfa_fcs_lport_ns_send_gid_ft()
4931 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) cbarg; in bfa_fcs_lport_ns_gid_ft_response() local
4932 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_gid_ft_response()
4944 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_gid_ft_response()
4971 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_gid_ft_response()
4987 bfa_sm_send_event(ns, NSSM_EVENT_RSP_OK); in bfa_fcs_lport_ns_gid_ft_response()
4992 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_gid_ft_response()
4999 bfa_sm_send_event(ns, NSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ns_gid_ft_response()
5018 struct bfa_fcs_lport_ns_s *ns = (struct bfa_fcs_lport_ns_s *) arg; in bfa_fcs_lport_ns_timeout() local
5020 ns->port->stats.ns_timeouts++; in bfa_fcs_lport_ns_timeout()
5021 bfa_sm_send_event(ns, NSSM_EVENT_TIMEOUT); in bfa_fcs_lport_ns_timeout()
5105 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); in bfa_fcs_lport_ns_init() local
5107 ns->port = port; in bfa_fcs_lport_ns_init()
5108 bfa_sm_set_state(ns, bfa_fcs_lport_ns_sm_offline); in bfa_fcs_lport_ns_init()
5114 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); in bfa_fcs_lport_ns_offline() local
5116 ns->port = port; in bfa_fcs_lport_ns_offline()
5117 bfa_sm_send_event(ns, NSSM_EVENT_PORT_OFFLINE); in bfa_fcs_lport_ns_offline()
5123 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); in bfa_fcs_lport_ns_online() local
5125 ns->port = port; in bfa_fcs_lport_ns_online()
5126 bfa_sm_send_event(ns, NSSM_EVENT_PORT_ONLINE); in bfa_fcs_lport_ns_online()
5132 struct bfa_fcs_lport_ns_s *ns = BFA_FCS_GET_NS_FROM_PORT(port); in bfa_fcs_lport_ns_query() local
5135 if (bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_online)) in bfa_fcs_lport_ns_query()
5136 bfa_sm_send_event(ns, NSSM_EVENT_NS_QUERY); in bfa_fcs_lport_ns_query()
5159 struct bfa_fcs_lport_ns_s *ns = cbarg; in bfa_fcs_lport_ns_util_send_rspn_id() local
5160 struct bfa_fcs_lport_s *port = ns->port; in bfa_fcs_lport_ns_util_send_rspn_id()
5168 if (bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_offline) || in bfa_fcs_lport_ns_util_send_rspn_id()
5169 bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_plogi_sending) || in bfa_fcs_lport_ns_util_send_rspn_id()
5170 bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_plogi) || in bfa_fcs_lport_ns_util_send_rspn_id()
5171 bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_plogi_retry) || in bfa_fcs_lport_ns_util_send_rspn_id()
5172 bfa_sm_cmp_state(ns, bfa_fcs_lport_ns_sm_rspn_id_retry)) in bfa_fcs_lport_ns_util_send_rspn_id()
5182 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe, in bfa_fcs_lport_ns_util_send_rspn_id()
5183 bfa_fcs_lport_ns_util_send_rspn_id, ns, BFA_FALSE); in bfa_fcs_lport_ns_util_send_rspn_id()
5187 ns->fcxp = fcxp; in bfa_fcs_lport_ns_util_send_rspn_id()