Re: [dpdk-dev] [PATCH v4 3/3] igb_uio: MSI IRQ mode

2017-08-31 Thread Markus Theil
On 31.08.2017 17:32, Stephen Hemminger wrote: > On Thu, 31 Aug 2017 12:22:29 +0200 > Markus Theil wrote: > >> +/* >> + * It masks the msi on/off of generating MSI messages. >> + */ >> +static void >> +igbuio_msi_mask_irq(struct pci_dev *pdev, struct msi_desc *desc, int32_t >> state) >> +{ >> +

Re: [dpdk-dev] [PATCH v4 3/3] igb_uio: MSI IRQ mode

2017-08-31 Thread Stephen Hemminger
On Thu, 31 Aug 2017 12:22:29 +0200 Markus Theil wrote: > +/* > + * It masks the msi on/off of generating MSI messages. > + */ > +static void > +igbuio_msi_mask_irq(struct pci_dev *pdev, struct msi_desc *desc, int32_t > state) > +{ > + u32 mask_bits = desc->masked; > + u32 offset = desc->

[dpdk-dev] [PATCH v4 3/3] igb_uio: MSI IRQ mode

2017-08-31 Thread Markus Theil
This patch adds MSI IRQ mode and in a way, that should also work on older kernel versions. The base for my patch was an attempt to do this in cf705bc36c which was later reverted in d8ee82745a. Compilation was tested on Linux 3.2, 4.10 and 4.12. Signed-off-by: Markus Theil --- lib/librte_eal/linu