kni: fix build on RHEL 7.2
authorLee Roberts <lee.roberts@hpe.com>
Mon, 7 Dec 2015 14:59:59 +0000 (07:59 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 8 Dec 2015 02:00:42 +0000 (03:00 +0100)
commit261f0390841d1531d1d0fe88e2375e254cb63716
tree3cea5ca34bddbd0935c232c4d78e94ca0357eba9
parent80bc1752f16e20d7de9d0add8384403df89a93a0
kni: fix build on RHEL 7.2

RHEL 7.2 contains additional backports from newer upstream kernels.
Add RHEL_RELEASE_CODE logic for RHEL_RELEASE_VERSION(7,2) to pick up
the changes to kernel functions.

Signed-off-by: Lee Roberts <lee.roberts@hpe.com>
lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h