Lines Matching full:routine
65 * This routine checks whether there is an outstanding host link
134 * This routine is used for allocating a lpfc-IOCB data structure from
136 * passed into the routine for discovery state machine to issue an Extended
138 * and preparation routine that is used by all the discovery state machine
140 * the individual discovery machine routines after calling this routine
356 * This routine issues a fabric registration login for a @vport. An
358 * The routine invokes two mailbox commands to carry out fabric registration
418 * for the callback routine. in lpfc_issue_fabric_reglogin()
453 * This routine issues a REG_VFI mailbox for the vfi, vpi, fcfi triplet for
537 * This routine issues a UNREG_VFI mailbox with the vfi, vpi, fcfi triplet for
586 * This routine is called from FLOGI/FDISC completion handler functions.
644 * This routine is invoked by the lpfc_cmpl_els_flogi() completion callback
649 * the previously assigned Destination ID (DID), the lpfc_unreg_rpi() routine
838 * This routine is invoked by the lpfc_cmpl_els_flogi() completion callback
963 * This routine is the top-level completion callback function for issuing
965 * the lpfc_els_retry() routine shall be invoked to retry the FLOGI. If
976 * point-to-point topology. The routine lpfc_cmpl_els_flogi_fabric() or
1259 * This routine issues a Fabric Login (FLOGI) Request ELS command
1262 * to lpfc_cmpl_els_flogi() routine is put to the IOCB completion callback
1263 * function field. The lpfc_issue_fabric_iocb routine is invoked to send
1266 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
1398 * This routine aborts all the outstanding Fabric Login (FLOGI) IOCBs
1399 * with a @phba. This routine walks all the outstanding IOCBs on the txcmplq
1448 * This routine issues an initial Fabric Login (FLOGI) for the @vport
1452 * it will just be enabled and made active. The lpfc_issue_els_flogi() routine
1500 * This routine issues an initial Fabric Discover (FDISC) for the @vport
1504 * it will just be enabled and made active. The lpfc_issue_els_fdisc() routine
1547 * This routine checks whether there are more remaining Port Logins
1548 * (PLOGI) to be issued for the @vport. If so, it will invoke the routine
1580 * This routine checks and indicates whether the WWPN of an N_Port, retrieved
1706 /* At this point in this routine, we know new_ndlp will be in lpfc_plogi_confirm_nport()
1886 * This routine checks whether more Registration State Change
1888 * the FC_RSCN_MODE. If so, the lpfc_els_handle_rscn() routine will be
1920 * This routine will call the clear rrq function to free the rrq and
1988 * This routine is the completion callback function for issuing the Port
1994 * retry shall be attempted by invoking the lpfc_els_retry() routine.
1995 * Otherwise, the lpfc_plogi_confirm_nport() routine shall be invoked on
1999 * PLOGI. If so, the lpfc_more_plogi() routine is invoked to issue addition
2116 * This routine issues a Port Login (PLOGI) command to a remote N_Port
2119 * This routine constructs the proper feilds of the PLOGI IOCB and invokes
2120 * the lpfc_sli_issue_iocb() routine to send out PLOGI ELS command.
2122 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
2235 * This routine is the completion callback function for a Process Login
2238 * by invoking the lpfc_els_retry() routine. Otherwise, the state
2335 * This routine issues a Process Login (PRLI) ELS command for the
2337 * PRLI Request command and the pointer to lpfc_cmpl_els_prli() routine
2339 * routine lpfc_sli_issue_iocb() to send out PRLI command.
2341 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
2375 /* This routine will issue 1 or 2 PRLIs, so zero all the ndlp in lpfc_issue_els_prli()
2529 * This routine performs Registration State Change Notification (RSCN)
2533 * the lpfc_els_disc_plogi() routine, the lpfc_end_rscn() routine shall be
2576 * routine guarantees to call the state machine and in lpfc_adisc_done()
2615 * This routine determines whether there are more ndlps on a @vport
2617 * invoke the lpfc_els_disc_adisc() routine to issue ADISC on the @vport's
2648 * This routine is the completion function for issuing the Address Discover
2654 * the lpfc_els_retry() routine. Otherwise, if no error was reported in
2740 * This routine issues an Address Discover (ADISC) for an @ndlp on a
2742 * and states of the ndlp, and invokes the lpfc_sli_issue_iocb() routine
2745 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
2810 * This routine is the completion function for issuing the ELS Logout (LOGO)
2814 * the lpfc_els_retry() routine will be invoked to retry the LOGO command.
2942 * This routine constructs and issues an ELS Logout (LOGO) iocb command
2945 * lpfc_sli_issue_iocb() routine to send out the LOGO ELS command.
2947 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
2952 * Callers of this routine are expected to unregister the RPI first
3023 * This routine is a generic completion callback function for ELS commands.
3027 * Address Resolution Protocol Response (FARPR) routine, lpfc_issue_els_farpr().
3029 * lpfc_els_chk_latt() routine to check whether link went down during the
3063 * This routine is a generic completion callback function for Discovery ELS cmd.
3164 * This routine issues a State Change Request (SCR) to a fabric node
3169 * routine is invoked to send the SCR IOCB.
3171 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
3232 * lpfc_els_free_iocb routine to trigger the rlease of in lpfc_issue_els_scr()
3253 * This routine issues a RSCN to the Fabric Controller (DID 0xFFFFFD)
3258 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
3341 * lpfc_els_free_iocb routine to trigger the rlease of in lpfc_issue_els_rscn()
3363 * This routine issues a Fibre Channel Address Resolution Response
3368 * lpfc_sli_issue_iocb() routine is invoked to send the FARPR ELS command.
3370 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
3448 * lpfc_els_free_iocb routine to trigger the release of in lpfc_issue_els_farpr()
3467 * This routine issues an ELS RDF to the Fabric Controller to register
3470 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
3546 * lpfc_els_free_iocb routine to trigger the rlease of in lpfc_issue_els_rdf()
3566 * This routine cancels the timer with a delayed IOCB-command retry for
3620 * This routine is invoked by the ndlp delayed-function timer to check
3624 * lpfc_worker_wake_up() routine to wake up worker thread to process the
3662 * This routine is the worker-thread handler for processing the @ndlp delayed
3663 * event(s), posted by the lpfc_els_retry_delay() routine. It simply retrieves
3735 * This routine performs link reset by sending INIT_LINK mailbox command.
3793 * This routine makes a retry decision on an ELS command IOCB, which has
4266 * This routine releases the lpfc DMA (Direct Memory Access) buffer(s)
4298 * This routine releases the lpfc Direct Memory Access (DMA) buffer
4318 * This routine frees a command IOCB and its associated resources. The
4329 * set, it invokes the lpfc_els_free_data() routine to release the Direct
4333 * lpfc_els_free_bpl() routine is invoked to release the DMA memory
4334 * associated with BPL. Finally, the lpfc_sli_release_iocbq() routine is
4414 * This routine is the completion callback function to the Logout (LOGO)
4415 * Accept (ACC) Response ELS command. This routine is invoked to indicate
4419 * field to NULL to inform the following lpfc_els_free_iocb() routine no
4422 * routine. Finally, the lpfc_els_free_iocb() is invoked to release the
4471 * This routine is the completion callback function for unregister default
4518 * This routine is the completion callback function for ELS Response IOCB
4522 * be send out, and then invokes the lpfc_els_free_iocb() routine to release
4525 * routine shall be invoked trying to release the ndlp if no other threads
4580 * the routine lpfc_els_free_iocb. in lpfc_cmpl_els_rsp()
4660 * the routine lpfc_els_free_iocb. in lpfc_cmpl_els_rsp()
4672 * to it from within the routine in lpfc_cmpl_els_rsp()
4703 * the routine lpfc_els_free_iocb. in lpfc_cmpl_els_rsp()
4721 * This routine prepares and issues an Accept (ACC) response IOCB
4724 * lpfc_sli_issue_iocb() routine to send out ACC response IOCB. If a
4729 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
4895 * This routine prepares and issue an Reject (RJT) response IOCB
4900 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
4970 * This routine prepares and issues an Accept (ACC) response to Address
4972 * and invokes the lpfc_sli_issue_iocb() routine to send out the command.
4974 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
5053 * This routine prepares and issues an Accept (ACC) response to Process
5055 * and invokes the lpfc_sli_issue_iocb() routine to send out the command.
5057 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
5213 * This routine issues a Request Node Identification Data (RNID) Accept
5215 * the proper @format and then calls the lpfc_sli_issue_iocb() routine to
5218 * the lpfc_prep_els_iocb() routine is put back and the context1 field of
5219 * IOCB is set to NULL to indicate to the lpfc_els_free_iocb() routine that
5222 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
5226 * this is undone later by this routine after the IOCB is allocated.
5417 * This routine issues Address Discover (ADISC) ELS commands to those
5420 * lpfc_issue_els_adisc() routine, the per @vport number of discover count
5475 * This routine issues Port Login (PLOGI) ELS commands to all the N_Ports
5477 * ADISC PLOGI IOCB is issued by invoking the lpfc_issue_els_plogi() routine,
6121 * This routine processes an unsolicited RDP(Read Diagnostic Parameters)
6394 * This routine processes an unsolicited LCB(LINK CABLE BEACON) IOCB.
6478 * This routine cleans up any Registration State Change Notification
6518 * This routine checks whether there is any pending Registration State
6594 * This routine sends recovery (NLP_EVT_DEVICE_RECOVERY) event to the
6692 * This routine processes an unsolicited RSCN (Registration State Change
6694 * to invoke fc_host_post_event() routine to the FC transport layer. If the
6700 * lpfc_rscn_recovery_check() routine is invoked to send recovery event for
6702 * routine is invoked to handle the RSCN event.
6850 * routine will not try to free it. in lpfc_els_rcv_rscn()
6889 * If we zero, cmdiocb->context2, the calling routine will in lpfc_els_rcv_rscn()
6905 * This routine handles the Registration State Configuration Notification
6910 * issued, the lpfc_els_flush_rscn() routine shall be invoked to clean up any
6997 * This routine processes Fabric Login (FLOGI) IOCB received as an ELS
7001 * lpfc_check_sparm() routine is invoked to check the parameters in the
7002 * unsolicited FLOGI. If parameters validation failed, the routine
7010 * and then the lpfc_els_rsp_acc() routine is invoked to accept the FLOGI.
7169 * This routine processes Request Node Identification Data (RNID) IOCB
7172 * present, this routine will invoke the lpfc_els_rsp_rnid_acc() routine to
7174 * rejected by invoking the lpfc_els_rsp_reject() routine.
7244 * This routine processes a Link Incident Report Registration(LIRR) IOCB
7246 * the lpfc_els_rsp_reject() routine to reject the LIRR IOCB unconditionally.
7272 * This routine processes a Reinstate Recovery Qualifier (RRQ) IOCB
7296 * This routine is the completion callback function for the MBX_READ_LNK_STAT
7301 * collected, and then invokes the lpfc_sli_issue_iocb() routine to send ACC
7304 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
7384 * This routine processes Read Link Status (RLS) IOCB received as an
7387 * state, it invokes the lpfc_els_rsl_reject() routine to send the reject
7444 * This routine processes Read Timout Value (RTV) IOCB received as an
7447 * state, it invokes the lpfc_els_rsl_reject() routine to send the reject
7451 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
7596 * This routine will call the lpfc_issue_els_rrq if the rrq is
7625 * This routine issuees an Accept (ACC) Read Port List (RPL) ELS command.
7626 * It is to be called by the lpfc_els_rcv_rpl() routine to accept the RPL.
7628 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
7696 * This routine processes Read Port List (RPL) IOCB received as an ELS
7699 * invokes the lpfc_els_rsp_reject() routine to send reject response.
7700 * Otherwise, this routine then invokes the lpfc_els_rsp_rpl_acc() routine
7754 * This routine processes Fibre Channel Address Resolution Protocol
7763 * FARP request IOCB Response Flag, the lpfc_issue_els_farpr() routine is
7767 * routine is invoked to log into the remote port first.
7837 * This routine processes Fibre Channel Address Resolution Protocol
7839 * invokes the lpfc_els_rsp_acc() routine to the remote node to accept
7875 * This routine processes a Fabric Address Notification (FAN) IOCB
7880 * different, the lpfc_initial_flogi() routine is invoked to initialize
7882 * if both of those are identical, the lpfc_issue_fabric_reglogin() routine
7928 * This routine is invoked by the ELS timer after timeout. It posts the ELS
7930 * event bitmap and then invokes the lpfc_worker_wake_up() routine to wake
7931 * up the worker thread. It is for the worker thread to invoke the routine
7958 * This routine is the actual handler function that processes an ELS timeout
7961 * invoking the lpfc_sli_issue_abort_iotag() routine.
8055 * This routine is used to clean up all the outstanding ELS commands on a
8057 * routine. After that, it walks the ELS transmit queue to remove all the
8067 * lpfc_sli_issue_abort_iotag() routine. Note that this function issues the
8123 * change the compl routine to just clean up the iocb in lpfc_els_flush_cmd()
8202 * This routine is used to clean up all the outstanding ELS commands on a
8204 * routine. After that, it walks the ELS transmit queue to remove all the
8213 * out to HBA by invoking the lpfc_sli_issue_abort_iotag() routine.
8466 * This routine is used for processing the IOCB associated with a unsolicited
8470 * IOCB is then used to invoke the proper routine and to set up proper state
8916 * This routine is used to process an unsolicited event received from a SLI
8918 * associated with the unsolicited event is done by invoking the routine
9031 * This routine issues a Port Login (PLOGI) to the Name Server with
9032 * State Change Request (SCR) for a @vport. This routine will create an
9035 * lpfc_issue_els_plogi() routine. If Fabric-Device Management Interface
9037 * the PLOGI to FDMI is issued by invoking lpfc_issue_els_plogi() routine.
9110 * This routine is the completion callback function to register new vport
9226 * This routine registers the @vport as a new virtual port with a HBA.
9273 * This routine cancels the retry delay timers to all the vports.
9305 * This routine abort all pending discovery commands and
9339 * This routine checks if a FLOGI is reguired for FDISC
9361 * This routine is the completion callback function to a Fabric Discover
9371 * routine is invoked to register new vport with the HBA. Otherwise, the
9372 * lpfc_do_scr_ns_plogi() routine is invoked to issue a PLOGI to the Name
9505 * This routine prepares and issues a Fabric Discover (FDISC) IOCB to
9507 * routine to issue the IOCB, which makes sure only one outstanding fabric
9510 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
9607 * This routine is the completion callback function to the issuing of a LOGO
9611 * lpfc_els_free_iocb() routine decrements the ndlp reference held for this
9657 * This routine issues a LOGO ELS command to an @ndlp off a @vport.
9659 * Note that, in lpfc_prep_els_iocb() routine, the reference count of ndlp
9715 * This routine is invoked by the fabric iocb block timer after
9718 * lpfc_worker_wake_up() routine to wake up the worker thread. It is for
9744 * This routine issues one fabric iocb from the driver internal list to
9748 * lpfc_sli_issue_iocb() routine to send the fabric iocb to the HBA.
9802 * This routine unblocks the issuing fabric iocb command. The function
9803 * will clear the fabric iocb block bit and then invoke the routine
9820 * This routine blocks the issuing fabric iocb for a specified amount of
9845 * This routine is the callback function that is put to the fabric iocb's
9849 * and then invokes the lpfc_resume_fabric_iocbs() routine to issue the next
9901 * This routine is used as the top-level API for issuing a fabric iocb command
9913 * such, it is possible a fabric IOCB issued by this routine might be "jump"
9967 * This routine aborts all the IOCBs associated with a @vport from the
10000 * This routine aborts all the IOCBs associated with an @ndlp from the
10038 * This routine aborts all the IOCBs currently on the driver internal
10062 * This routine is invoked by the vport cleanup for deletions and the cleanup
10089 * This routine is invoked by the worker thread to process a SLI4 slow-path
10153 * The driver calls this routine in response to an SLI4 XRI ABORT CQE