RE: [PATCH v3 02/15] PCI: Add macro for message signalled interrupt types

2020-06-16 Thread Stankiewicz, Piotr
> -Original Message- > From: Christoph Hellwig > Sent: Wednesday, June 10, 2020 9:08 AM > > On Tue, Jun 09, 2020 at 06:22:40PM +0200, Piotr Stankiewicz wrote: > > There are several places in the kernel which check/ask for MSI or > > MSI-X interrupts. It would make sense to have a macro wh

Re: [PATCH v3 02/15] PCI: Add macro for message signalled interrupt types

2020-06-10 Thread Christoph Hellwig
On Tue, Jun 09, 2020 at 06:22:40PM +0200, Piotr Stankiewicz wrote: > There are several places in the kernel which check/ask for MSI or MSI-X > interrupts. It would make sense to have a macro which defines all types > of message signalled interrupts, to use in such situations. Add > PCI_IRQ_MSI_TYPE