Lines Matching +full:cpu +full:- +full:centric
4 * Copyright (C) 2017-2020 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
66 #define LPFC_IOCB_LIST_CNT 2250 /* list of IOCBs for fast-path usage. */
104 /* Number of MSI-X vectors the driver uses */
130 * Provide for FC4 TYPE x28 - NVME. The
328 LPFC_LINK_UP = 5, /* Link is up - issue READ_LA */
329 LPFC_CLEAR_LA = 6, /* authentication cmplt - issue
332 LPFC_HBA_ERROR = -1
362 /* Several of these flags are HBA centric and should be moved to
363 * phba->link_flag (e.g. FC_PTP, FC_PUBLIC_LOOP)
645 /* Assign IRQs only on non-hyperthreaded CPUs. This is the
684 /* Slow-path IOCB process function jump table entries */
753 #define HBA_SP_QUEUE_EVT 0x8 /* Slow-path qevt posted to worker thread*/
775 uint32_t fcp_ring_in_use; /* When polling test if intr-hndlr active*/
828 u8 nsler; /* Firmware supports FC-NVMe-2 SLER */
956 PCI BAR0 with dual-ULP support */
958 PCI BAR2 with dual-ULP support */
960 PCI BAR4 with dual-ULP support */
1037 #define LPFC_MAX_VPI 0xFF /* Max number VPI supported 0 - 0xff */
1100 #define LPFC_INJERR_LBA_OFF (sector_t)(-1)
1105 /* iDiag debugfs sub-directory */
1247 /* SCSI host template information - for physical port */
1249 /* SCSI host template information - for all vports */
1266 if (phba->cfg_topology == FLAGS_LOCAL_LB) in lpfc_set_loopback_flag()
1267 phba->link_flag |= LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1269 phba->link_flag &= ~LS_LOOPBACK_MODE; in lpfc_set_loopback_flag()
1275 return phba->link_state == LPFC_LINK_UP || in lpfc_is_link_up()
1276 phba->link_state == LPFC_CLEAR_LA || in lpfc_is_link_up()
1277 phba->link_state == LPFC_HBA_READY; in lpfc_is_link_up()
1284 set_bit(LPFC_DATA_READY, &phba->data_flags); in lpfc_worker_wake_up()
1287 wake_up(&phba->work_waitq); in lpfc_worker_wake_up()
1297 return -EIO; in lpfc_readl()
1309 phba->sli.slistat.err_attn_event++; in lpfc_sli_read_hs()
1312 if (lpfc_readl(phba->HSregaddr, &phba->work_hs) || in lpfc_sli_read_hs()
1313 lpfc_readl(phba->MBslimaddr + 0xa8, &phba->work_status[0]) || in lpfc_sli_read_hs()
1314 lpfc_readl(phba->MBslimaddr + 0xac, &phba->work_status[1])) { in lpfc_sli_read_hs()
1315 return -EIO; in lpfc_sli_read_hs()
1319 writel(HA_ERATT, phba->HAregaddr); in lpfc_sli_read_hs()
1320 readl(phba->HAregaddr); /* flush */ in lpfc_sli_read_hs()
1321 phba->pport->stopped = 1; in lpfc_sli_read_hs()
1330 if (phba->sli_rev != LPFC_SLI_REV4 && in lpfc_phba_elsring()
1331 phba->sli_rev != LPFC_SLI_REV3 && in lpfc_phba_elsring()
1332 phba->sli_rev != LPFC_SLI_REV2) in lpfc_phba_elsring()
1335 if (phba->sli_rev == LPFC_SLI_REV4) { in lpfc_phba_elsring()
1336 if (phba->sli4_hba.els_wq) in lpfc_phba_elsring()
1337 return phba->sli4_hba.els_wq->pring; in lpfc_phba_elsring()
1341 return &phba->sli.sli3_ring[LPFC_ELS_RING]; in lpfc_phba_elsring()
1345 * lpfc_next_online_cpu - Finds next online CPU on cpumask
1347 * @start: starting cpu index
1349 * Note: If no valid cpu found, then nr_cpu_ids is returned.
1365 * lpfc_sli4_mod_hba_eq_delay - update EQ delay
1378 bf_set(lpfc_sliport_eqdelay_id, ®_data, eq->queue_id); in lpfc_sli4_mod_hba_eq_delay()
1380 writel(reg_data.word0, phba->sli4_hba.u.if_type2.EQDregaddr); in lpfc_sli4_mod_hba_eq_delay()
1381 eq->q_mode = delay; in lpfc_sli4_mod_hba_eq_delay()