[dpdk-stable] patch 'kni: fix build on RHEL 7.4' has been queued to LTS release 16.11.4
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Oct 30 16:35:04 CET 2017
Hi,
FYI, your patch has been queued to LTS release 16.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/01/17. So please
shout if anyone has objections.
Thanks.
Kind regards,
Luca Boccassi
---
>From cc0f505aa263efb2e87e2be5b4454b819df2cc76 Mon Sep 17 00:00:00 2001
From: Lee Roberts <lee.roberts at hpe.com>
Date: Wed, 31 May 2017 09:40:15 -0600
Subject: [PATCH] kni: fix build on RHEL 7.4
[ upstream commit 1e1cabc7a5d8799e55324de01f8eec150d574aef ]
Linux: 9b36627acecd ("net: remove dev->trans_start")
Signed-off-by: Lee Roberts <lee.roberts at hpe.com>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
lib/librte_eal/linuxapp/kni/compat.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h
index d96275af9..6a1587b4e 100644
--- a/lib/librte_eal/linuxapp/kni/compat.h
+++ b/lib/librte_eal/linuxapp/kni/compat.h
@@ -53,7 +53,9 @@
#define HAVE_SK_ALLOC_KERN_PARAM
#endif
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) || \
+ (defined(RHEL_RELEASE_CODE) && \
+ RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 4))
#define HAVE_TRANS_START_HELPER
#endif
--
2.11.0
More information about the stable
mailing list