[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-09-03 Thread Thomas Monjalon
Hi Stephen, There are some reports about build errors with igb_uio. This is critical for the release. As your patches have introduced this problem, we'd like to have your opinion. For release 1.7.1, I've reverted MSI support. We should try to fix it for next release. 2014-09-01 16:55, Guillaume

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-09-01 Thread Guillaume Gaudonville
On 08/22/2014 08:09 PM, Robert Sanford wrote: > This is what we came up with. It works for us. In our kernel headers' > linux/pci.h, pci_num_vf is enclosed within "#ifdef CONFIG_PCI_IOV/#endif"; > pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within > "#ifdef HAVE_PCI_SET_MWI/#en

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-09-01 Thread Guillaume Gaudonville
On 07/25/2014 07:36 PM, Stephen Hemminger wrote: > Add more compatibility wrappers, and split out all the wrapper > code to a separate file. Builds on Debian Squeeze (2.6.32) which > is oldest version of kernel current DPDK supports. > > Signed-off-by: Stephen Hemminger > > --- > lib/librte_eal/

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-09-01 Thread Thomas Monjalon
Hi Robert, 2014-08-26 11:08, Sanford, Robert: > >> This is what we came up with. It works for us. In our kernel headers' > >> linux/pci.h, pci_num_vf is enclosed within "#ifdef > >>CONFIG_PCI_IOV/#endif"; > >> pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within > >> "#ifdef HAV

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-26 Thread Sanford, Robert
> >> This is what we came up with. It works for us. In our kernel headers' >> linux/pci.h, pci_num_vf is enclosed within "#ifdef >>CONFIG_PCI_IOV/#endif"; >> pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within >> "#ifdef HAVE_PCI_SET_MWI/#endif". >> >> What do you think? > >Ma

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-23 Thread Stephen Hemminger
On Fri, 22 Aug 2014 14:09:35 -0400 Robert Sanford wrote: > This is what we came up with. It works for us. In our kernel headers' > linux/pci.h, pci_num_vf is enclosed within "#ifdef CONFIG_PCI_IOV/#endif"; > pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within > "#ifdef HAVE_PC

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-22 Thread Robert Sanford
This is what we came up with. It works for us. In our kernel headers' linux/pci.h, pci_num_vf is enclosed within "#ifdef CONFIG_PCI_IOV/#endif"; pci_intx_mask_supported and pci_check_and_mask_intx are enclosed within "#ifdef HAVE_PCI_SET_MWI/#endif". What do you think? -- Thanks, Robert --- li

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-22 Thread Sanford, Robert
Hi Thomas, Not that I would *like* to fix this, but I *need* to fix it. We are using CentOS 6.5, which I believe is based on RHEL. We have kernel 2.6.32-431.3.1.el6.x86_64. I realize that we need to add/change ifdefs around pci_num_vf, pci_intx_mask_supported, and pci_check_and_mask_intx in igb_u

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-08-01 Thread Thomas Monjalon
2014-07-25 10:36, Stephen Hemminger: > Add more compatibility wrappers, and split out all the wrapper > code to a separate file. Builds on Debian Squeeze (2.6.32) which > is oldest version of kernel current DPDK supports. > > Signed-off-by: Stephen Hemminger Acked-by: Thomas Monjalon Applied f

[dpdk-dev] [PATCH 1/2] igb_uio: fix compability on old kernel

2014-07-25 Thread Stephen Hemminger
Add more compatibility wrappers, and split out all the wrapper code to a separate file. Builds on Debian Squeeze (2.6.32) which is oldest version of kernel current DPDK supports. Signed-off-by: Stephen Hemminger --- lib/librte_eal/linuxapp/igb_uio/compat.h | 103 ++