Searched refs:min_vecs (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/Documentation/translations/zh_CN/PCI/ |
D | msi-howto.rst | 84 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, 88 如果设备对最小数量的向量有要求,驱动程序可以传递一个min_vecs参数,设置为这个限制, 118 数量作为“min_vecs“和“max_vecs“参数传递给pci_alloc_irq_vectors()函数。:: 125 'min_vecs'和'max_vecs'来实现::
|
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/ |
D | fun_dev.c | 597 static int fun_alloc_irqs(struct pci_dev *pdev, unsigned int min_vecs) in fun_alloc_irqs() argument 603 if (min_vecs > num_msix) in fun_alloc_irqs() 606 vecs = pci_alloc_irq_vectors(pdev, min_vecs, num_msix, PCI_IRQ_MSIX); in fun_alloc_irqs() 614 min_vecs); in fun_alloc_irqs()
|
/linux-6.1.9/drivers/pci/msi/ |
D | msi.c | 1005 int pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1021 nvecs = __pci_enable_msix_range(dev, NULL, min_vecs, max_vecs, in pci_alloc_irq_vectors_affinity() 1028 nvecs = __pci_enable_msi_range(dev, min_vecs, max_vecs, affd); in pci_alloc_irq_vectors_affinity() 1035 if (min_vecs == 1 && dev->irq) { in pci_alloc_irq_vectors_affinity()
|
/linux-6.1.9/Documentation/PCI/ |
D | msi-howto.rst | 96 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, 102 min_vecs argument set to this limit, and the PCI core will return -ENOSPC 145 number to pci_alloc_irq_vectors() function as both 'min_vecs' and 154 'min_vecs' and 'max_vecs'::
|
/linux-6.1.9/include/linux/ |
D | pci.h | 1556 int pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, 1581 pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1585 if ((flags & PCI_IRQ_LEGACY) && min_vecs == 1 && dev->irq) in pci_alloc_irq_vectors_affinity() 1895 pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1904 pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors() argument 1907 return pci_alloc_irq_vectors_affinity(dev, min_vecs, max_vecs, flags, in pci_alloc_irq_vectors()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 580 int min_vecs; in rvu_check_min_msix_vec() local 594 min_vecs = RVU_AF_INT_VEC_CNT + RVU_PF_INT_VEC_CNT; in rvu_check_min_msix_vec() 596 min_vecs = RVU_PF_INT_VEC_CNT; in rvu_check_min_msix_vec() 598 if (!(nvecs < min_vecs)) in rvu_check_min_msix_vec() 602 pf, nvecs, min_vecs); in rvu_check_min_msix_vec()
|
/linux-6.1.9/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 4320 int min_vecs = QLA_BASE_VECTORS; in qla24xx_enable_msix() local 4328 min_vecs++; in qla24xx_enable_msix() 4333 ret = pci_alloc_irq_vectors(ha->pdev, min_vecs, in qla24xx_enable_msix() 4334 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix() 4337 ret = pci_alloc_irq_vectors_affinity(ha->pdev, min_vecs, in qla24xx_enable_msix() 4338 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
|