Re: [PATCH] igb: completely disable interrupts during netpoll

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

 



On Wed, Jun 25, 2008 at 02:35:19PM -0600, Matthew Wilcox wrote:
> On Wed, Jun 25, 2008 at 01:29:19PM -0700, Brandeburg, Jesse wrote:
> > > -	igb_irq_disable(adapter);
> > > +	disable_irq(adapter->pdev->irq);
> > 
> > how does changing to disable_irq/enable_irq work with MSI and MSI-X
> > interrupts?
> 
> Works just fine.  There's a disable_irq method in the irq_chip that
> knows how to disable a particular type of interrupt.
> 

Sure does.  Just for the record, most of the other net-drivers do it
this way too.

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux