igb_uio: fix compability on old kernel
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 25 Jul 2014 17:36:27 +0000 (10:36 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 1 Aug 2014 12:43:18 +0000 (14:43 +0200)
commit4a5c221f9d9bf641b808e1f1a90ec584b4596c94
tree6a87c9affbf096bdfd0a20003fd29c3ce35932ff
parent282e1ec8570cb021c3f85cff9fced40e6c2d74d2
igb_uio: fix compability on old kernel

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@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/igb_uio/compat.h [new file with mode: 0644]
lib/librte_eal/linuxapp/igb_uio/igb_uio.c