]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
kni: fix ethtool build with kernel 4.11
[dpdk.git] / lib / librte_eal / linuxapp / kni / ethtool / igb / kcompat.h
index 4abab4aa3ae33c40d215541026560c636052c0b0..4c52da3c196115ab73dc4b65bde8ad85a762d5cf 100644 (file)
@@ -3937,4 +3937,8 @@ skb_set_hash(struct sk_buff *skb, __u32 hash, __always_unused int type)
 #define HAVE_VF_VLAN_PROTO
 #endif /* >= 4.9.0, >= SLES12SP3 */
 
 #define HAVE_VF_VLAN_PROTO
 #endif /* >= 4.9.0, >= SLES12SP3 */
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
+#define HAVE_PCI_ENABLE_MSIX
+#endif
+
 #endif /* _KCOMPAT_H_ */
 #endif /* _KCOMPAT_H_ */