• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching refs:fcf

535 		if (phba->fcf.fcf_flag & FCF_REDISC_EVT)
768 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE);
1030 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi);
1033 phba->fcf.fcf_flag |= FCF_REGISTERED;
1041 phba->fcf.fcf_flag |= (FCF_SCAN_DONE | FCF_IN_USE);
1052 * lpfc_fab_name_match - Check if the fcf fabric name match.
1054 * @new_fcf_record: pointer to fcf record.
1056 * This routine compare the fcf record's fabric name with provided
1083 * lpfc_sw_name_match - Check if the fcf switch name match.
1085 * @new_fcf_record: pointer to fcf record.
1087 * This routine compare the fcf record's switch name with provided
1114 * lpfc_mac_addr_match - Check if the fcf mac address match.
1116 * @new_fcf_record: pointer to fcf record.
1118 * This routine compare the fcf record's mac address with HBA's
1147 * lpfc_copy_fcf_record - Copy fcf information to lpfc_hba.
1148 * @fcf: pointer to driver fcf record.
1149 * @new_fcf_record: pointer to fcf record.
1206 * lpfc_update_fcf_record - Update driver fcf record
1208 * @fcf_rec: pointer to driver fcf record.
1209 * @new_fcf_record: pointer to hba fcf record.
1210 * @addr_mode: address mode to be set to the driver fcf record.
1211 * @vlan_id: vlan tag to be set to the driver fcf record.
1212 * @flag: flag bits to be set to the driver fcf record.
1236 * the fcf with HBA.
1248 if (!(phba->fcf.fcf_flag & FCF_AVAILABLE)) {
1255 if (phba->fcf.fcf_flag & FCF_REGISTERED) {
1256 phba->fcf.fcf_flag |= (FCF_SCAN_DONE | FCF_IN_USE);
1291 * @new_fcf_record: pointer to fcf record.
1296 * This routine compare the fcf record with connect list obtained from the
1425 * This fcf record matches filtering criteria.
1509 phba->fcf.fcf_flag &= ~FCF_AVAILABLE;
1530 phba->fcf.fcf_flag &= ~(FCF_REDISC_FOV | FCF_DISCOVERY);
1537 phba->fcf.fcf_flag &= ~FCF_REGISTERED;
1545 * lpfc_sli4_new_fcf_random_select - Randomly select an eligible new fcf record
1547 * @fcf_cnt: number of eligible fcf record seen so far.
1578 * @next_fcf_index: pointer to holder of next fcf index.
1580 * This routine parses the non-embedded fcf mailbox command by performing the
1644 * lpfc_sli4_log_fcf_record_info - Log the information of a fcf record
1646 * @fcf_record: pointer to the fcf record.
1647 * @vlan_id: the lowest vlan identifier associated to this fcf record.
1648 * @next_fcf_index: the index to the next fcf record in hba's fcf table.
1734 * lpfc_mbx_cmpl_fcf_scan_read_fcf_rec - fcf scan read_fcf mbox cmpl handler.
1738 * This function iterates through all the fcf records available in
1790 * If the fcf record does not match with connect list entries
1805 if ((phba->fcf.fcf_flag & FCF_IN_USE) &&
1806 lpfc_sli4_fcf_record_match(phba, &phba->fcf.current_rec,
1814 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND) &&
1815 !(phba->fcf.fcf_flag & FCF_REDISC_FOV)) {
1821 phba->fcf.current_rec.fcf_indx);
1823 phba->fcf.fcf_flag |= FCF_REDISC_FOV;
1846 if (phba->fcf.fcf_flag & FCF_IN_USE) {
1847 if (lpfc_sli4_fcf_record_match(phba, &phba->fcf.current_rec,
1849 phba->fcf.fcf_flag |= FCF_AVAILABLE;
1850 if (phba->fcf.fcf_flag & FCF_REDISC_PEND)
1853 else if (phba->fcf.fcf_flag & FCF_REDISC_FOV)
1855 phba->fcf.fcf_flag &= ~FCF_REDISC_FOV;
1861 phba->fcf.current_rec.fcf_indx,
1873 if (!(phba->fcf.fcf_flag & FCF_REDISC_FOV)) {
1882 if (phba->fcf.fcf_flag & FCF_REDISC_FOV)
1883 fcf_rec = &phba->fcf.failover_rec;
1885 fcf_rec = &phba->fcf.current_rec;
1887 if (phba->fcf.fcf_flag & FCF_AVAILABLE) {
1890 * set and new hba fcf record has boot flag set, use
1891 * the new hba fcf record.
1930 phba->fcf.eligible_fcf_cnt = 1;
1933 phba->fcf.eligible_fcf_cnt++;
1935 phba->fcf.eligible_fcf_cnt);
1965 phba->fcf.fcf_flag |= FCF_AVAILABLE;
1967 phba->fcf.eligible_fcf_cnt = 1;
1978 if (phba->fcf.fcf_flag & FCF_REDISC_FOV) {
1987 if (!(phba->fcf.failover_rec.flag & RECORD_VALID)) {
2023 phba->fcf.current_rec.fcf_indx,
2024 phba->fcf.failover_rec.fcf_indx);
2025 memcpy(&phba->fcf.current_rec,
2026 &phba->fcf.failover_rec,
2034 phba->fcf.fcf_flag &=
2041 phba->fcf.fcf_rr_init_indx =
2042 phba->fcf.failover_rec.fcf_indx;
2050 if ((phba->fcf.fcf_flag & FCF_REDISC_EVT) ||
2051 (phba->fcf.fcf_flag & FCF_REDISC_PEND))
2054 if (phba->fcf.fcf_flag & FCF_IN_USE) {
2065 phba->fcf.current_rec.fcf_indx);
2067 phba->fcf.fcf_flag |= FCF_REDISC_FOV;
2087 phba->fcf.fcf_flag &=
2094 phba->fcf.fcf_rr_init_indx =
2095 phba->fcf.current_rec.fcf_indx;
2111 * lpfc_mbx_cmpl_fcf_rr_read_fcf_rec - fcf round robin read_fcf mbox cmpl hdler
2137 phba->fcf.fcf_flag &= ~FCF_DISCOVERY;
2165 phba->fcf.failover_rec.fcf_indx,
2168 __lpfc_update_fcf_record(phba, &phba->fcf.failover_rec,
2173 current_fcf_index = phba->fcf.current_rec.fcf_indx;
2179 memcpy(&phba->fcf.current_rec, &phba->fcf.failover_rec,
2194 * lpfc_mbx_cmpl_read_fcf_rec - read fcf completion handler.
2218 if (!(phba->fcf.fcf_flag & FCF_DISCOVERY))
2620 "fcf record\n");
2649 phba->fcf.fcf_flag |= FCF_INIT_DISC;
2657 phba->fcf.fcf_flag &= ~FCF_INIT_DISC;
2662 memset(phba->fcf.fcf_rr_bmask, 0,
2663 sizeof(*phba->fcf.fcf_rr_bmask));
5139 * lpfc_unregister_fcf_prep - Unregister fcf record preparation
5237 lpfc_unreg_fcfi(mbox, phba->fcf.fcfi);
5253 * lpfc_unregister_fcf_rescan - Unregister currently registered fcf and rescan
5264 /* Preparation for unregistering fcf */
5278 phba->fcf.fcf_flag = 0;
5279 phba->fcf.current_rec.flag = 0;
5291 phba->fcf.fcf_flag |= FCF_INIT_DISC;
5295 memset(phba->fcf.fcf_rr_bmask, 0, sizeof(*phba->fcf.fcf_rr_bmask));
5301 phba->fcf.fcf_flag &= ~FCF_INIT_DISC;
5311 * lpfc_unregister_fcf - Unregister the currently registered fcf record
5322 /* Preparation for unregistering fcf */
5337 phba->fcf.fcf_flag &= ~FCF_REGISTERED;
5359 !(phba->fcf.fcf_flag & FCF_REGISTERED) ||
5361 (phba->fcf.fcf_flag & FCF_DISCOVERY) ||