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 build with min/max Tx rate configuration of igbvf
[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
de7f81d
..
bd62759
100644
(file)
--- a/
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
+++ b/
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h
@@
-3858,4
+3858,8
@@
skb_set_hash(struct sk_buff *skb, __u32 hash, __always_unused int type)
#endif /* < RHEL7 */
#endif /* < 3.14.0 */
+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0) )
+#define HAVE_VF_MIN_MAX_TXRATE 1
+#endif /* >= 3.16.0 */
+
#endif /* _KCOMPAT_H_ */