[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/