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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Sep 1 13:15:57 CEST 2014


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 HAVE_PCI_SET_MWI/#endif".
> >> 
> >> What do you think?
> >
> >Maybe we can just get rid of kernel version checks all together and
> >just use the HAVE_ checks.
> >
> >I will test on stock 2.6.32.
> 
> Sorry, I spoke too soon. Although it builds with the ifdefs, I just found
> that it does not load.
> "kernel: igb_uio: Unknown symbol irq_to_desc"

Do you have some progress on this side?
Release 1.7.1 should be closed tomorrow and your help would be greatly
appreciated.

Thanks
-- 
Thomas


More information about the dev mailing list