git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kni: fix ethtool build with kernel 4.11
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
kni
/
ethtool
/
igb
/
kcompat.h
diff --git
a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
b/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
index
4abab4a
..
4c52da3
100644
(file)
--- a/
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
+++ b/
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
@@
-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_ */