Lines Matching full:fabric

175 	 * If this command is for fabric controller and HBA running  in lpfc_prep_els_iocb()
353 * lpfc_issue_fabric_reglogin - Issue fabric registration login for a vport
356 * This routine issues a fabric registration login for a @vport. An
358 * The routine invokes two mailbox commands to carry out fabric registration
361 * command requests the HBA to perform the actual fabric registration login
365 * 0 - successfully issued fabric registration login for @vport
366 * -ENXIO -- failed to issue fabric registration login for @vport
444 "0249 Cannot issue Register Fabric login: Err %d\n", in lpfc_issue_fabric_reglogin()
450 * lpfc_issue_reg_vfi - Register VFI for this vport's fabric login
486 /* Supply CSP's only if we are fabric connect or pt-to-pt connect */ in lpfc_issue_reg_vfi()
534 * lpfc_issue_unreg_vfi - Unregister VFI for this vport's fabric login
587 * lpfc_check_clean_addr_bit return 1 when FCID/Fabric portname/ Fabric
591 * in FLOGI/FDISC response is cleared and FCID/Fabric portname/ Fabric
595 * 0 - FCID and Fabric Nodename and Fabric portname is not changed.
596 * 1 - FCID or Fabric Nodename or Fabric portname is changed.
621 * If fabric parameter is changed and clean address bit is in lpfc_check_clean_addr_bit()
638 * lpfc_cmpl_els_flogi_fabric - Completion function for flogi to a fabric port
645 * function to handle the completion of a Fabric Login (FLOGI) into a fabric
646 * port in a fabric topology. It properly sets up the parameters to the @ndlp
652 * is invoked to register login to the fabric.
737 "1817 Fabric does not support NPIV " in lpfc_cmpl_els_flogi_fabric()
790 * response to this fabric parameter change event. in lpfc_cmpl_els_flogi_fabric()
839 * function to handle the completion of a Fabric Login (FLOGI) into an N_Port
905 * Cannot find existing Fabric ndlp, so allocate a in lpfc_cmpl_els_flogi_nport()
964 * a Fabric Login (FLOGI) command. If the response IOCB reported error,
974 * this is a point-to-point topology or a fabric topology: if the Port ID
975 * field is assigned, it is a fabric topology; otherwise, it is a
1068 /* FLOGI failed, so there is no fabric */ in lpfc_cmpl_els_flogi()
1130 * we are point to point, if Fport we are Fabric. in lpfc_cmpl_els_flogi()
1138 "2831 FLOGI response with cleared Fabric " in lpfc_cmpl_els_flogi()
1141 "Fabric Name " in lpfc_cmpl_els_flogi()
1259 * This routine issues a Fabric Login (FLOGI) Request ELS command
1264 * out FLOGI ELS command with one outstanding fabric IOCB at a time.
1305 /* Setup CSPs accordingly for Fabric */ in lpfc_issue_els_flogi()
1398 * This routine aborts all the outstanding Fabric Login (FLOGI) IOCBs
1445 * lpfc_initial_flogi - Issue an initial fabric login for a vport
1448 * This routine issues an initial Fabric Login (FLOGI) for the @vport
1468 /* First look for the Fabric ndlp */ in lpfc_initial_flogi()
1471 /* Cannot find existing Fabric ndlp, so allocate a new one */ in lpfc_initial_flogi()
1497 * lpfc_initial_fdisc - Issue an initial fabric discovery for a vport
1500 * This routine issues an initial Fabric Discover (FDISC) for the @vport
1517 /* First look for the Fabric ndlp */ in lpfc_initial_fdisc()
1520 /* Cannot find existing Fabric ndlp, so allocate a new one */ in lpfc_initial_fdisc()
1583 * 1) The N_Port is a Fabric ndlp; 2) The @ndlp is on vport list and matches
1625 /* Fabric nodes can have the same WWPN so we don't bother searching in lpfc_plogi_confirm_nport()
2148 * are going offline. This logic does not apply for Fabric DIDs in lpfc_issue_els_plogi()
2189 * If we are a N-port connected to a Fabric, fix-up paramm's so logins in lpfc_issue_els_plogi()
2289 /* If we don't send GFT_ID to Fabric, a PRLI error in lpfc_cmpl_els_prli()
3146 "4677 Fabric RDF Notification Grant Data: " in lpfc_cmpl_els_disc_cmd()
3164 * This routine issues a State Change Request (SCR) to a fabric node
3165 * on a @vport. The remote node is Fabric Controller (0xfffffd). It
3248 * lpfc_issue_els_rscn - Issue an RSCN to the Fabric Controller (Fabric)
3253 * This routine issues a RSCN to the Fabric Controller (DID 0xFFFFFD)
3254 * when connected to a fabric, or to the remote port when connected
3255 * in point-to-point mode. When sent to the Fabric Controller, it will
3292 /* find the fabric controller node */ in lpfc_issue_els_rscn()
3326 /* appears that page flags must be 0 for fabric to broadcast RSCN */ in lpfc_issue_els_rscn()
3463 * lpfc_issue_els_rdf - Register for diagnostic functions from the fabric.
3467 * This routine issues an ELS RDF to the Fabric Controller to register
3940 logerr = 1; /* Fabric / Remote NPort out of resources */ in lpfc_els_retry()
4015 "Fabric out of resources\n", in lpfc_els_retry()
4069 "Fabric Detected Bad WWN\n", in lpfc_els_retry()
6536 /* Never match fabric nodes for RSCNs */ in lpfc_rscn_payload_check()
6997 * This routine processes Fabric Login (FLOGI) IOCB received as an ELS
7127 * a Fabric. This is done just so we end up with the right in lpfc_els_rcv_flogi()
7875 * This routine processes a Fabric Address Notification (FAN) IOCB
7878 * physical port). The fabric NodeName and PortName from the FAN IOCB are
7881 * Fabric Login (FLOGI) to the fabric to start the discover over. Otherwise,
7883 * is invoked to register login to the fabric.
8519 /* Cannot find existing Fabric ndlp, so allocate a new one */ in lpfc_els_unsol_buffer()
8638 /* If the driver believes fabric discovery is done and is ready, in lpfc_els_unsol_buffer()
9035 * lpfc_issue_els_plogi() routine. If Fabric-Device Management Interface
9047 * bit is cleared and fc fabric parameters chenged, delay FC NPort in lpfc_do_scr_ns_plogi()
9112 * the fabric registration login shall be performed on physical port (the
9318 /* If fabric require FLOGI, then re-instantiate physical login */ in lpfc_retry_pport_discovery()
9361 * This routine is the completion callback function to a Fabric Discover
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
9562 /* Setup CSPs accordingly for Fabric */ in lpfc_issue_els_fdisc()
9712 * lpfc_fabric_block_timeout - Handler function to the fabric block timer
9715 * This routine is invoked by the fabric iocb block timer after
9716 * timeout. It posts the fabric iocb block timeout event by setting the
9741 * lpfc_resume_fabric_iocbs - Issue a fabric iocb from driver internal list
9744 * This routine issues one fabric iocb from the driver internal list to
9745 * the HBA. It first checks whether it's ready to issue one fabric iocb to
9746 * the HBA (whether there is no outstanding fabric iocb). If so, it shall
9747 * remove one pending fabric iocb from the driver internal list and invokes
9748 * lpfc_sli_issue_iocb() routine to send the fabric iocb to the HBA.
9766 /* Increment fabric iocb count to hold the position */ in lpfc_resume_fabric_iocbs()
9776 "Fabric sched1: ste:x%x", in lpfc_resume_fabric_iocbs()
9799 * lpfc_unblock_fabric_iocbs - Unblock issuing fabric iocb command
9802 * This routine unblocks the issuing fabric iocb command. The function
9803 * will clear the fabric iocb block bit and then invoke the routine
9804 * lpfc_resume_fabric_iocbs() to issue one of the pending fabric iocb
9805 * from the driver internal fabric iocb list.
9817 * lpfc_block_fabric_iocbs - Block issuing fabric iocb command
9820 * This routine blocks the issuing fabric iocb for a specified amount of
9821 * time (currently 100 ms). This is done by set the fabric iocb block bit
9823 * fabric iocb will be issued out of the HBA.
9831 /* Start a timer to unblock fabric iocbs after 100ms */ in lpfc_block_fabric_iocbs()
9840 * lpfc_cmpl_fabric_iocb - Completion callback function for fabric iocb
9845 * This routine is the callback function that is put to the fabric iocb's
9850 * fabric bound iocb from the driver internal fabric iocb list onto the wire.
9897 * lpfc_issue_fabric_iocb - Issue a fabric iocb command
9901 * This routine is used as the top-level API for issuing a fabric iocb command
9902 * such as FLOGI and FDISC. To accommodate certain switch fabric, this driver
9903 * function makes sure that only one fabric bound iocb will be outstanding at
9905 * is already an outstanding fabric iocb on the wire. If so, it will put the
9906 * newly issued iocb onto the driver internal fabric iocb list, waiting to be
9908 * fabric iocb count it indicate that there is one fabric iocb on the wire.
9910 * Note, this implementation has a potential sending out fabric IOCBs out of
9912 * not include the condition that the internal fabric IOCB list is empty. As
9913 * such, it is possible a fabric IOCB issued by this routine might be "jump"
9914 * ahead of the fabric IOCBs in the internal list.
9917 * IOCB_SUCCESS - either fabric iocb put on the list or issued successfully
9918 * IOCB_ERROR - failed to issue fabric iocb
9934 /* Increment fabric iocb count to hold the position */ in lpfc_issue_fabric_iocb()
9943 "Fabric sched2: ste:x%x", in lpfc_issue_fabric_iocb()
9964 * lpfc_fabric_abort_vport - Abort a vport's iocbs from driver fabric iocb list
9968 * driver internal fabric IOCB list. The list contains fabric IOCBs to be
9969 * issued to the ELS IOCB ring. This abort function walks the fabric IOCB
9997 * lpfc_fabric_abort_nport - Abort a ndlp's iocbs from driver fabric iocb list
10001 * driver internal fabric IOCB list. The list contains fabric IOCBs to be
10002 * issued to the ELS IOCB ring. This abort function walks the fabric IOCB
10035 * lpfc_fabric_abort_hba - Abort all iocbs on driver fabric iocb list
10039 * fabric IOCB list. The list contains fabric IOCBs to be issued to the ELS
10040 * IOCB ring. This function takes the entire IOCB list off the fabric IOCB