Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c139 int max_intr, ret; in ifcvf_alloc_vectors() local
142 max_intr = vf->nr_vring + 1; in ifcvf_alloc_vectors()
143 ret = pci_alloc_irq_vectors(pdev, 1, max_intr, PCI_IRQ_MSIX | PCI_IRQ_AFFINITY); in ifcvf_alloc_vectors()
150 if (ret < max_intr) in ifcvf_alloc_vectors()
153 max_intr, ret); in ifcvf_alloc_vectors()
320 int nvectors, ret, max_intr; in ifcvf_request_irq() local
327 max_intr = vf->nr_vring + 1; in ifcvf_request_irq()
328 if (nvectors < max_intr) in ifcvf_request_irq()