DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
@ 2018-08-06 12:06 Drocula
  2018-08-09  9:59 ` Ferruh Yigit
  2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
  0 siblings, 2 replies; 9+ messages in thread
From: Drocula @ 2018-08-06 12:06 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, Drocula

Signed-off-by: Drocula <quzeyao@gmail.com>
---
 kernel/linux/kni/ethtool/igb/kcompat.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kernel/linux/kni/ethtool/igb/kcompat.h b/kernel/linux/kni/ethtool/igb/kcompat.h
index 40a8d99..ae1b530 100644
--- a/kernel/linux/kni/ethtool/igb/kcompat.h
+++ b/kernel/linux/kni/ethtool/igb/kcompat.h
@@ -3929,6 +3929,11 @@ static inline struct sk_buff *__kc__vlan_hwaccel_put_tag(struct sk_buff *skb,
 #endif
 #endif
 
+#if (defined(RHEL_RELEASE_CODE) && \
+	(RHEL_RELEASE_VERSION(7, 5) <= RHEL_RELEASE_CODE))
+#define ndo_change_mtu ndo_change_mtu_rh74
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
 #define HAVE_PCI_ENABLE_MSIX
 #endif
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-09 17:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06 12:06 [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5 Drocula
2018-08-09  9:59 ` Ferruh Yigit
2018-08-09 10:25   ` Drocula
2018-08-09 10:33     ` Drocula
2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
2018-08-09 12:15   ` Ferruh Yigit
2018-08-09 14:10     ` Thomas Monjalon
2018-08-09 14:03   ` Thomas Monjalon
2018-08-09 17:10     ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).