• Home
  • Raw
  • Download

Lines Matching refs:cpup

8950 	struct lpfc_vector_map_info *cpup;  in lpfc_sli4_queue_create()  local
9042 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_create()
9043 if (!(cpup->flag & LPFC_CPU_FIRST_IRQ)) in lpfc_sli4_queue_create()
9047 qp = &phba->sli4_hba.hdwq[cpup->hdwq]; in lpfc_sli4_queue_create()
9056 cpup->hdwq); in lpfc_sli4_queue_create()
9060 qdesc->hdwq = cpup->hdwq; in lpfc_sli4_queue_create()
9075 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_create()
9078 if (cpup->flag & LPFC_CPU_FIRST_IRQ) in lpfc_sli4_queue_create()
9082 qp = &phba->sli4_hba.hdwq[cpup->hdwq]; in lpfc_sli4_queue_create()
9087 eqcpu = lpfc_find_cpu_handle(phba, cpup->eq, LPFC_FIND_BY_EQ); in lpfc_sli4_queue_create()
9582 struct lpfc_vector_map_info *cpup; in lpfc_sli4_queue_setup() local
9649 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_setup()
9654 if (!(cpup->flag & LPFC_CPU_FIRST_IRQ)) in lpfc_sli4_queue_setup()
9656 if (qidx != cpup->eq) in lpfc_sli4_queue_setup()
9660 rc = lpfc_eq_create(phba, qp[cpup->hdwq].hba_eq, in lpfc_sli4_queue_setup()
9666 cpup->eq, (uint32_t)rc); in lpfc_sli4_queue_setup()
9671 phba->sli4_hba.hba_eq_hdl[cpup->eq].eq = in lpfc_sli4_queue_setup()
9672 qp[cpup->hdwq].hba_eq; in lpfc_sli4_queue_setup()
9676 cpup->eq, in lpfc_sli4_queue_setup()
9677 qp[cpup->hdwq].hba_eq->queue_id); in lpfc_sli4_queue_setup()
9684 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_setup()
9688 phba->sli4_hba.hdwq[cpup->hdwq].hba_eq, in lpfc_sli4_queue_setup()
10808 struct lpfc_vector_map_info *cpup; in lpfc_find_cpu_handle() local
10813 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_find_cpu_handle()
10820 (cpup->flag & LPFC_CPU_FIRST_IRQ) && in lpfc_find_cpu_handle()
10821 (cpup->eq == id)) in lpfc_find_cpu_handle()
10825 if ((match == LPFC_FIND_BY_HDWQ) && (cpup->hdwq == id)) in lpfc_find_cpu_handle()
10843 struct lpfc_vector_map_info *cpup; in lpfc_find_hyper() local
10847 cpup = &phba->sli4_hba.cpu_map[idx]; in lpfc_find_hyper()
10849 if ((cpup->phys_id == phys_id) && in lpfc_find_hyper()
10850 (cpup->core_id == core_id) && in lpfc_find_hyper()
10871 struct lpfc_vector_map_info *cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_assign_eq_map_info() local
10874 cpup->eq = eqidx; in lpfc_assign_eq_map_info()
10875 cpup->flag |= flag; in lpfc_assign_eq_map_info()
10879 cpu, eqhdl->irq, cpup->eq, cpup->flag); in lpfc_assign_eq_map_info()
10891 struct lpfc_vector_map_info *cpup; in lpfc_cpu_map_array_init() local
10896 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_map_array_init()
10897 cpup->phys_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
10898 cpup->core_id = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
10899 cpup->hdwq = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
10900 cpup->eq = LPFC_VECTOR_MAP_EMPTY; in lpfc_cpu_map_array_init()
10901 cpup->flag = 0; in lpfc_cpu_map_array_init()
10943 struct lpfc_vector_map_info *cpup; in lpfc_cpu_affinity_check() local
10959 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
10962 cpup->phys_id = cpuinfo->phys_proc_id; in lpfc_cpu_affinity_check()
10963 cpup->core_id = cpuinfo->cpu_core_id; in lpfc_cpu_affinity_check()
10964 if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) in lpfc_cpu_affinity_check()
10965 cpup->flag |= LPFC_CPU_MAP_HYPER; in lpfc_cpu_affinity_check()
10968 cpup->phys_id = 0; in lpfc_cpu_affinity_check()
10969 cpup->core_id = cpu; in lpfc_cpu_affinity_check()
10974 cpu, cpup->phys_id, cpup->core_id, cpup->flag); in lpfc_cpu_affinity_check()
10976 if (cpup->phys_id > max_phys_id) in lpfc_cpu_affinity_check()
10977 max_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
10978 if (cpup->phys_id < min_phys_id) in lpfc_cpu_affinity_check()
10979 min_phys_id = cpup->phys_id; in lpfc_cpu_affinity_check()
10981 if (cpup->core_id > max_core_id) in lpfc_cpu_affinity_check()
10982 max_core_id = cpup->core_id; in lpfc_cpu_affinity_check()
10983 if (cpup->core_id < min_core_id) in lpfc_cpu_affinity_check()
10984 min_core_id = cpup->core_id; in lpfc_cpu_affinity_check()
10996 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
10999 if (cpup->eq == LPFC_VECTOR_MAP_EMPTY) { in lpfc_cpu_affinity_check()
11001 cpup->flag |= LPFC_CPU_MAP_UNASSIGN; in lpfc_cpu_affinity_check()
11013 (new_cpup->phys_id == cpup->phys_id)) in lpfc_cpu_affinity_check()
11024 cpup->eq = new_cpup->eq; in lpfc_cpu_affinity_check()
11038 cpu, cpup->eq, new_cpu, in lpfc_cpu_affinity_check()
11039 cpup->phys_id); in lpfc_cpu_affinity_check()
11047 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
11050 if (cpup->eq == LPFC_VECTOR_MAP_EMPTY) { in lpfc_cpu_affinity_check()
11052 cpup->flag |= LPFC_CPU_MAP_UNASSIGN; in lpfc_cpu_affinity_check()
11074 cpup->hdwq, cpup->eq); in lpfc_cpu_affinity_check()
11078 cpup->eq = new_cpup->eq; in lpfc_cpu_affinity_check()
11091 cpu, cpup->eq, new_cpu, in lpfc_cpu_affinity_check()
11101 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
11104 if (!(cpup->flag & LPFC_CPU_FIRST_IRQ)) in lpfc_cpu_affinity_check()
11108 cpup->hdwq = idx; in lpfc_cpu_affinity_check()
11113 cpu, cpup->phys_id, cpup->core_id, in lpfc_cpu_affinity_check()
11114 cpup->hdwq, cpup->eq, cpup->flag); in lpfc_cpu_affinity_check()
11128 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
11131 if (cpup->flag & LPFC_CPU_FIRST_IRQ) in lpfc_cpu_affinity_check()
11139 cpup->hdwq = next_idx; in lpfc_cpu_affinity_check()
11153 new_cpup->phys_id == cpup->phys_id && in lpfc_cpu_affinity_check()
11154 new_cpup->core_id == cpup->core_id) { in lpfc_cpu_affinity_check()
11169 new_cpup->phys_id == cpup->phys_id) in lpfc_cpu_affinity_check()
11178 cpup->hdwq = idx % phba->cfg_hdw_queue; in lpfc_cpu_affinity_check()
11186 cpup->hdwq = new_cpup->hdwq; in lpfc_cpu_affinity_check()
11191 cpu, cpup->phys_id, cpup->core_id, in lpfc_cpu_affinity_check()
11192 cpup->hdwq, cpup->eq, cpup->flag); in lpfc_cpu_affinity_check()
11201 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_cpu_affinity_check()
11204 c_stat->hdwq_no = cpup->hdwq; in lpfc_cpu_affinity_check()
11206 if (cpup->hdwq != LPFC_VECTOR_MAP_EMPTY) in lpfc_cpu_affinity_check()
11209 cpup->hdwq = idx++ % phba->cfg_hdw_queue; in lpfc_cpu_affinity_check()
11211 c_stat->hdwq_no = cpup->hdwq; in lpfc_cpu_affinity_check()
11216 cpu, cpup->hdwq); in lpfc_cpu_affinity_check()
11380 struct lpfc_vector_map_info *cpup; in lpfc_irq_rebalance() local
11393 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_irq_rebalance()
11395 if (!(cpup->flag & LPFC_CPU_FIRST_IRQ)) in lpfc_irq_rebalance()
11423 lpfc_irq_set_aff(lpfc_get_eq_hdl(cpup->eq), cpu); in lpfc_irq_rebalance()
11518 struct lpfc_vector_map_info *cpup; in lpfc_sli4_enable_msix() local
11595 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_enable_msix()
11609 if (cpup->eq != LPFC_VECTOR_MAP_EMPTY) in lpfc_sli4_enable_msix()