Home
last modified time | relevance | path

Searched refs:numvecs (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/kernel/irq/
Daffinity.c128 static void alloc_nodes_vectors(unsigned int numvecs, in alloc_nodes_vectors() argument
154 numvecs = min_t(unsigned, remaining_ncpus, numvecs); in alloc_nodes_vectors()
233 WARN_ON_ONCE(numvecs == 0); in alloc_nodes_vectors()
237 numvecs * ncpus / remaining_ncpus); in alloc_nodes_vectors()
243 numvecs -= nvectors; in alloc_nodes_vectors()
248 unsigned int numvecs, in __irq_build_affinity_masks() argument
256 unsigned int last_affv = firstvec + numvecs; in __irq_build_affinity_masks()
270 if (numvecs <= nodes) { in __irq_build_affinity_masks()
278 return numvecs; in __irq_build_affinity_masks()
288 alloc_nodes_vectors(numvecs, node_to_cpumask, cpu_mask, in __irq_build_affinity_masks()
[all …]
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_pci_func.c217 u32 numvecs; in aq_pci_probe() local
293 numvecs = min((u8)AQ_CFG_VECS_DEF, in aq_pci_probe()
295 numvecs = min(numvecs, num_online_cpus()); in aq_pci_probe()
297 numvecs += 1; in aq_pci_probe()
299 numvecs += AQ_HW_SERVICE_IRQS; in aq_pci_probe()
302 err = pci_alloc_irq_vectors(self->pdev, 1, numvecs, in aq_pci_probe()
308 numvecs = err; in aq_pci_probe()
310 self->irqvecs = numvecs; in aq_pci_probe()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c4252 int numvecs, i; in igc_set_interrupt_capability() local
4265 numvecs = adapter->num_rx_queues; in igc_set_interrupt_capability()
4269 numvecs += adapter->num_tx_queues; in igc_set_interrupt_capability()
4272 adapter->num_q_vectors = numvecs; in igc_set_interrupt_capability()
4275 numvecs++; in igc_set_interrupt_capability()
4277 adapter->msix_entries = kcalloc(numvecs, sizeof(struct msix_entry), in igc_set_interrupt_capability()
4284 for (i = 0; i < numvecs; i++) in igc_set_interrupt_capability()
4289 numvecs, in igc_set_interrupt_capability()
4290 numvecs); in igc_set_interrupt_capability()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c1096 int numvecs, i; in igb_set_interrupt_capability() local
1110 numvecs = adapter->num_rx_queues; in igb_set_interrupt_capability()
1114 numvecs += adapter->num_tx_queues; in igb_set_interrupt_capability()
1117 adapter->num_q_vectors = numvecs; in igb_set_interrupt_capability()
1120 numvecs++; in igb_set_interrupt_capability()
1121 for (i = 0; i < numvecs; i++) in igb_set_interrupt_capability()
1126 numvecs, in igb_set_interrupt_capability()
1127 numvecs); in igb_set_interrupt_capability()