(rport, NULL);   } else {    bfa_sm_set_state(rport,      bfa_fcs_rport_sm_nsdisc_sending);    rport->ns_retries = 0;    bfa_fcs_rport_send_nsdisc(rport, NULL);   }   break;   case RPSM_EVENT_FAILED:   rport->ns_retries++;   if (rport->ns_retries < BFA_FCS_RPORT_MAX_RETRIES) {    bfa_sm_set_state(rport,      bfa_fcs_rport_sm_nsdisc_sending);    bfa_fcs_rport_send_nsdisc(rport, NULL);   } else {    rport->pid = 0;    bfa_sm_set_state(rport, bfa_fcs_rport_sm_offline);    bfa_timer_start(rport->fcs->bfa, &rport->timer,      bfa_fcs_rport_timeout, rport,      bfa_fcs_rport_del_timeout);   };   break;   case RPSM_EVENT_DELETE:   bfa_sm_set_state(rport, bfa_fcs_rport_sm_uninit);   bfa_fcxp_discard(rport->fcxp);   bfa_fcs_rport_free(rport);   break;   case RPSM_EVENT_PLOGI_RCVD:   bfa_sm_set_state(rport, bfa_fcs_rport_sm_plogiacc_sending);   bfa_fcxp_discard(rport->fcxp);   bfa_fcs_rport_send_plogiacc(rport, NULL);   break;   case RPSM_EVENT_LOGO_IMP:   rport->pid = 0;   bfa_sm_set_state(rport, bfa_fcs_rport_sm_offline);   bfa_fcxp_discard(rport->fcxp);   bfa_timer_start(rport->fcs->bfa, &rport->timer,     bfa_fcs_rport_timeout, rport,     bfa_fcs_rport_del_timeout);   break;    case RPSM_EVENT_PRLO_RCVD:   bfa_fcs_rport_send_prlo_acc(rport);   break;  