RE: [EXT] Re: [PATCH v9,net-next,05/12] crypto: octeontx2: add mailbox communication with AF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mon, 9 Nov 2020 17:39:17 +0530 Srujana Challa wrote:
> > +	err = pci_alloc_irq_vectors(pdev, RVU_PF_INT_VEC_CNT,
> > +				    RVU_PF_INT_VEC_CNT, PCI_IRQ_MSIX);
> 
> I don't see any pci_free_irq_vectors() in this patch

This will be handled by the devres managed PCI interface.

Copied code for reference:

static void pcim_release(struct device *gendev, void *res)
{
    struct pci_dev *dev = to_pci_dev(gendev);
    struct pci_devres *this = res;
    int i;

    if (dev->msi_enabled)
        pci_disable_msi(dev);
    if (dev->msix_enabled)
        pci_disable_msix(dev);

    ....
}




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux