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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Aug 1 15:10:34 CEST 2014


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 <stephen at networkplumber.org>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.7.1.

There are still some compilation issues with RHEL:
include/linux/pci.h:1572: note: previous declaration of ‘pci_num_vf’ was here
include/linux/pci.h:868: note: previous declaration of ‘pci_intx_mask_supported’ was here
include/linux/pci.h:869: note: previous declaration of ‘pci_check_and_mask_intx’ was here

Some ifdefs are missing but I don't want to dig into RHEL kernel headers to
find what is the first RHEL release to support these functions.
By the way, if someone knows an easy method to get all RHEL kernel headers
or to know the release where a symbol appeared, it would be very useful.

-- 
Thomas


More information about the dev mailing list