Home
last modified time | relevance | path

Searched refs:fcf (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/fcoe/
Dfcoe_ctlr.c112 static inline int fcoe_ctlr_mtu_valid(const struct fcoe_fcf *fcf) in fcoe_ctlr_mtu_valid() argument
114 return (fcf->flags & FIP_FL_SOL) != 0; in fcoe_ctlr_mtu_valid()
123 static inline int fcoe_ctlr_fcf_usable(struct fcoe_fcf *fcf) in fcoe_ctlr_fcf_usable() argument
127 return (fcf->flags & flags) == flags; in fcoe_ctlr_fcf_usable()
171 struct fcoe_fcf *fcf; in fcoe_ctlr_reset_fcfs() local
175 list_for_each_entry_safe(fcf, next, &fip->fcfs, list) { in fcoe_ctlr_reset_fcfs()
176 list_del(&fcf->list); in fcoe_ctlr_reset_fcfs()
177 kfree(fcf); in fcoe_ctlr_reset_fcfs()
220 struct fcoe_fcf *fcf; in fcoe_ctlr_announce() local
227 list_for_each_entry(fcf, &fip->fcfs, list) in fcoe_ctlr_announce()
[all …]
/drivers/scsi/lpfc/
Dlpfc_hbadisc.c328 if (phba->fcf.fcf_flag & FCF_DISCOVERY) { in lpfc_sli4_post_dev_loss_tmo_handler()
338 if (phba->fcf.fcf_flag & FCF_REDISC_PROG) { in lpfc_sli4_post_dev_loss_tmo_handler()
624 if (phba->fcf.fcf_flag & FCF_REDISC_EVT) in lpfc_work_done()
866 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_linkdown()
1131 memset(phba->fcf.fcf_rr_bmask, 0, sizeof(*phba->fcf.fcf_rr_bmask)); in lpfc_sli4_clear_fcf_rr_bmask()
1134 &phba->fcf.fcf_pri_list, list) { in lpfc_sli4_clear_fcf_rr_bmask()
1154 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1157 phba->fcf.fcf_flag |= FCF_REGISTERED; in lpfc_mbx_cmpl_reg_fcfi()
1167 phba->fcf.fcf_flag |= (FCF_SCAN_DONE | FCF_IN_USE); in lpfc_mbx_cmpl_reg_fcfi()
1298 fcf_pri = &phba->fcf.fcf_pri[fcf_index]; in __lpfc_update_fcf_record_pri()
[all …]
Dlpfc_init.c2417 phba->fcf.fcf_flag &= ~FCF_REDISC_PEND; in __lpfc_sli4_stop_fcf_redisc_wait_timer()
2420 del_timer(&phba->fcf.redisc_wait); in __lpfc_sli4_stop_fcf_redisc_wait_timer()
2436 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND)) { in lpfc_sli4_stop_fcf_redisc_wait_timer()
2443 phba->fcf.fcf_flag &= ~(FCF_DEAD_DISC | FCF_ACVL_DISC); in lpfc_sli4_stop_fcf_redisc_wait_timer()
3169 mod_timer(&phba->fcf.redisc_wait, fcf_redisc_wait_tmo); in lpfc_fcf_redisc_wait_start_timer()
3172 phba->fcf.fcf_flag &= ~(FCF_AVAILABLE | FCF_SCAN_DONE); in lpfc_fcf_redisc_wait_start_timer()
3174 phba->fcf.fcf_flag |= FCF_REDISC_PEND; in lpfc_fcf_redisc_wait_start_timer()
3195 if (!(phba->fcf.fcf_flag & FCF_REDISC_PEND)) { in lpfc_sli4_fcf_redisc_wait_tmo()
3200 phba->fcf.fcf_flag &= ~FCF_REDISC_PEND; in lpfc_sli4_fcf_redisc_wait_tmo()
3202 phba->fcf.fcf_flag |= FCF_REDISC_EVT; in lpfc_sli4_fcf_redisc_wait_tmo()
[all …]
Dlpfc_els.c928 (phba->fcf.fcf_flag & FCF_DISCOVERY)) { in lpfc_cmpl_els_flogi()
943 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi()
947 phba->fcf.current_rec.fcf_indx); in lpfc_cmpl_els_flogi()
1030 phba->fcf.current_rec.fcf_indx, in lpfc_cmpl_els_flogi()
1031 phba->fcf.current_rec.switch_name[0], in lpfc_cmpl_els_flogi()
1032 phba->fcf.current_rec.switch_name[1], in lpfc_cmpl_els_flogi()
1033 phba->fcf.current_rec.switch_name[2], in lpfc_cmpl_els_flogi()
1034 phba->fcf.current_rec.switch_name[3], in lpfc_cmpl_els_flogi()
1035 phba->fcf.current_rec.switch_name[4], in lpfc_cmpl_els_flogi()
1036 phba->fcf.current_rec.switch_name[5], in lpfc_cmpl_els_flogi()
[all …]
Dlpfc_mbox.c2099 vport->phba->fcf.fcfi); in lpfc_init_vfi()
2124 bf_set(lpfc_reg_vfi_fcfi, reg_vfi, vport->phba->fcf.fcfi); in lpfc_reg_vfi()
2140 vport->phba->fcf.fcfi, in lpfc_reg_vfi()
2260 phba->fcf.current_rec.fcf_indx); in lpfc_reg_fcfi()
2262 bf_set(lpfc_reg_fcfi_mam, reg_fcfi, (~phba->fcf.addr_mode) & 0x3); in lpfc_reg_fcfi()
2263 if (phba->fcf.current_rec.vlan_id != LPFC_FCOE_NULL_VID) { in lpfc_reg_fcfi()
2266 phba->fcf.current_rec.vlan_id); in lpfc_reg_fcfi()
Dlpfc_sli.c3894 phba->fcf.fcf_flag = 0; in lpfc_sli4_brdreset()
6183 phba->fcf.fcf_flag = 0; in lpfc_sli4_hba_setup()
6184 phba->fcf.current_rec.flag = 0; in lpfc_sli4_hba_setup()
6228 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, in lpfc_sli4_hba_setup()
13847 if (phba->fcf.fcfi == fcfi && in lpfc_fc_frame_to_vport()
15089 phba->fcf.eligible_fcf_cnt = 0; in lpfc_sli4_fcf_scan_read_fcf_rec()
15218 last_index = find_first_bit(phba->fcf.fcf_rr_bmask, in lpfc_check_next_fcf_pri_level()
15222 if (list_empty(&phba->fcf.fcf_pri_list)) { in lpfc_check_next_fcf_pri_level()
15232 memset(phba->fcf.fcf_rr_bmask, 0, in lpfc_check_next_fcf_pri_level()
15233 sizeof(*phba->fcf.fcf_rr_bmask)); in lpfc_check_next_fcf_pri_level()
[all …]
Dlpfc.h917 struct lpfc_fcf fcf; member
Dlpfc_bsg.c1805 phba->pport->fc_myDID, phba->fcf.fcfi, in lpfc_sli4_diag_fcport_reg_setup()
/drivers/scsi/bfa/
Dbfa_defs_svc.h989 struct bfa_fcport_fcf_s fcf; /* FCF information (for FCoE) */ member
Dbfa_svc.c2215 pevent->link_state.vc_fcf.fcf.fipenabled); in bfa_fcport_sm_linkdown()
2217 pevent->link_state.vc_fcf.fcf.fipfailed); in bfa_fcport_sm_linkdown()
2219 if (pevent->link_state.vc_fcf.fcf.fipfailed) in bfa_fcport_sm_linkdown()
2984 fcport->fcoe_vlan = be16_to_cpu(pevent->link_state.vc_fcf.fcf.vlan); in bfa_fcport_update_linkinfo()