Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2017-04-20 20:58:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Thu Apr 20 20:58:48 2017 rev:14 rq:489079 version:16.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes 2017-04-11 09:46:06.629051922 +0200 +++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-thunderx.changes 2017-04-20 20:58:49.829100906 +0200 @@ -1,0 +2,6 @@ +Tue Apr 18 11:35:19 CEST 2017 - [email protected] + +- Enable HAVE_TRANS_START_HELPER for SLE12SP3(bsc#1031705). + [+0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch] + +------------------------------------------------------------------- dpdk.changes: same change New: ---- 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk-thunderx.spec ++++++ --- /var/tmp/diff_new_pack.Lp3DF3/_old 2017-04-20 20:58:50.936944231 +0200 +++ /var/tmp/diff_new_pack.Lp3DF3/_new 2017-04-20 20:58:50.940943666 +0200 @@ -59,6 +59,7 @@ # upstream code. Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch Patch2: 0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch +Patch3: 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc6 @@ -144,7 +145,8 @@ %prep %setup -q -n dpdk-stable-16.11.1 %patch1 -p1 -z .enic -%patch2 -p1 -z .kni +%patch2 -p1 -z .kni1 +%patch3 -p1 -z .kni2 # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.Lp3DF3/_old 2017-04-20 20:58:50.964940272 +0200 +++ /var/tmp/diff_new_pack.Lp3DF3/_new 2017-04-20 20:58:50.964940272 +0200 @@ -57,6 +57,7 @@ # upstream code. Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch Patch2: 0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch +Patch3: 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc6 @@ -142,7 +143,8 @@ %prep %setup -q -n dpdk-stable-16.11.1 %patch1 -p1 -z .enic -%patch2 -p1 -z .kni +%patch2 -p1 -z .kni1 +%patch3 -p1 -z .kni2 # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk ++++++ 0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch ++++++ >From c284b14663fcaa2ab492496921a1fcb691abe764 Mon Sep 17 00:00:00 2001 From: Nirmoy Das <[email protected]> Date: Tue, 18 Apr 2017 11:20:48 +0200 Subject: [PATCH] kni: define HAVE_TRANS_START_HELPER for SLES12SP3 Add support for SLES12SP3, which uses kernel 4.4, but backported features from newer kernels. Signed-off-by: Nirmoy Das <[email protected]> --- 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 78da08e..f781fd0 100644 --- a/lib/librte_eal/linuxapp/kni/compat.h +++ b/lib/librte_eal/linuxapp/kni/compat.h @@ -51,7 +51,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(CONFIG_SUSE_KERNEL) && \ + (LINUX_VERSION_CODE >= KERNEL_VERSION(4,4,59)))) #define HAVE_TRANS_START_HELPER #endif -- 2.12.2
