Re: [PATCH 1/4] vdpa/octeon_ep: enable support for multiple interrupts per device

2024-11-20 Thread Shijith Thotton
>> @@ -63,44 +80,53 @@ static irqreturn_t octep_vdpa_intr_handler(int irq, >void *data) >> static void octep_free_irqs(struct octep_hw *oct_hw) >> { >> struct pci_dev *pdev = oct_hw->pdev; >> +int irq; >> + >> +for (irq = 0; irq < oct_hw->nb_irqs && oct_hw->irqs; irq++) { >> +

Re: [PATCH 1/4] vdpa/octeon_ep: enable support for multiple interrupts per device

2024-11-20 Thread Dan Carpenter
On Wed, Nov 20, 2024 at 12:34:50PM +0530, Shijith Thotton wrote: > @@ -63,44 +80,53 @@ static irqreturn_t octep_vdpa_intr_handler(int irq, void > *data) > static void octep_free_irqs(struct octep_hw *oct_hw) > { > struct pci_dev *pdev = oct_hw->pdev; > + int irq; > + > + for (irq =

[PATCH 1/4] vdpa/octeon_ep: enable support for multiple interrupts per device

2024-11-19 Thread Shijith Thotton
Updated the driver to utilize all the MSI-X interrupt vectors supported by each OCTEON endpoint VF, instead of relying on a single vector. Enabling more interrupts allows packets from multiple rings to be distributed across multiple cores, improving parallelism and performance. Signed-off-by: Shij