kni: fix build on RHEL 7.5
authorDrocula Lambda <quzeyao@gmail.com>
Thu, 9 Aug 2018 12:09:06 +0000 (12:09 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 9 Aug 2018 14:11:50 +0000 (16:11 +0200)
commit3639c91df43d7cfa29cf4d419a2c56c45f6fcf26
tree013d8c0bb1cffea7ea44206d863fe60a6afaca82
parente716b639856cc4baa46bc6d5bc63bcc1d6bd9cf9
kni: fix build on RHEL 7.5

This patch fixes compilation errors on Centos 7.5 when
CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.
On RHEL75 ndo_change_mtu has changed to ndo_change_mtu_rh74.

See commit 37d477b6863e5c06 ("kni: fix build on RHEL 7.5")

Signed-off-by: Drocula Lambda <quzeyao@gmail.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
kernel/linux/kni/ethtool/igb/kcompat.h