diff --git a/0002-kni-fix-build-on-SLE12-SP3.patch b/0002-kni-fix-build-on-SLE12-SP3.patch deleted file mode 100644 index d621b85..0000000 --- a/0002-kni-fix-build-on-SLE12-SP3.patch +++ /dev/null @@ -1,71 +0,0 @@ -From d2749a174306f7ddb4259bdeb561761ddff7ca7d Mon Sep 17 00:00:00 2001 -From: Nirmoy Das -Date: Tue, 29 Aug 2017 16:48:35 +0200 -Subject: [PATCH v2] kni: fix build on SLE12 SP3 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -compilation error: -build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error: -‘struct net_device’ has no member named ‘trans_start’ - dev->trans_start = jiffies; - -Signed-off-by: Nirmoy Das ---- - lib/librte_eal/linuxapp/kni/compat.h | 32 +++++++++++++++++++++++++++++++- - 1 file changed, 31 insertions(+), 1 deletion(-) - -diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h -index 6a1587b4e..19f8e96ce 100644 ---- a/lib/librte_eal/linuxapp/kni/compat.h -+++ b/lib/librte_eal/linuxapp/kni/compat.h -@@ -8,6 +8,34 @@ - #define RHEL_RELEASE_VERSION(a, b) (((a) << 8) + (b)) - #endif - -+/* SuSE version macro is the same as Linux kernel version */ -+#ifndef SLE_VERSION -+#define SLE_VERSION(a, b, c) KERNEL_VERSION(a, b, c) -+#endif -+#ifdef CONFIG_SUSE_KERNEL -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 57)) -+/* SLES12SP3 is at least 4.4.57+ based */ -+#define SLE_VERSION_CODE SLE_VERSION(12, 3, 0) -+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 28)) -+/* SLES12 is at least 3.12.28+ based */ -+#define SLE_VERSION_CODE SLE_VERSION(12, 0, 0) -+#elif ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 61)) && \ -+ (LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0))) -+/* SLES11 SP3 is at least 3.0.61+ based */ -+#define SLE_VERSION_CODE SLE_VERSION(11, 3, 0) -+#elif (LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 32)) -+/* SLES11 SP1 is 2.6.32 based */ -+#define SLE_VERSION_CODE SLE_VERSION(11, 1, 0) -+#elif (LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 27)) -+/* SLES11 GA is 2.6.27 based */ -+#define SLE_VERSION_CODE SLE_VERSION(11, 0, 0) -+#endif /* LINUX_VERSION_CODE == KERNEL_VERSION(x,y,z) */ -+#endif /* CONFIG_SUSE_KERNEL */ -+#ifndef SLE_VERSION_CODE -+#define SLE_VERSION_CODE 0 -+#endif /* SLE_VERSION_CODE */ -+ -+ - #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && \ - (!(defined(RHEL_RELEASE_CODE) && \ - RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6, 4))) -@@ -55,7 +83,9 @@ - - #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) || \ - (defined(RHEL_RELEASE_CODE) && \ -- RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 4)) -+ RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 4)) || \ -+ (defined(SLE_VERSION_CODE) && \ -+ SLE_VERSION_CODE == SLE_VERSION(12, 3, 0)) - #define HAVE_TRANS_START_HELPER - #endif - --- -2.13.3 - diff --git a/dpdk-17.08.1.tar.xz b/dpdk-17.08.1.tar.xz deleted file mode 100644 index 180b6cf..0000000 --- a/dpdk-17.08.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0072ca79508dc3c77fc42f3ff550415e2c7399cf53c9a3fee6700811ed9a854c -size 10161812 diff --git a/dpdk-17.11.tar.xz b/dpdk-17.11.tar.xz new file mode 100644 index 0000000..8006741 --- /dev/null +++ b/dpdk-17.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75e8103183ba1aa012f2e63a4b50bcd2e8a155376722b64fc59c8f07d8f8d930 +size 10204168 diff --git a/dpdk-thunderx.changes b/dpdk-thunderx.changes index eb894c9..157e9e5 100644 --- a/dpdk-thunderx.changes +++ b/dpdk-thunderx.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Jan 9 14:03:43 UTC 2018 - marco.varlese@suse.de + +- Upgraded to latest major 17.11; some of the fixes include: + * Extended port_id range from uint8_t to uint16_t + * Added a new driver for Marvell Armada 7k/8k devices + * Updated mlx4 driver + * Updated mlx5 driver + * Added SoftNIC PMD + * Added support for NXP DPAA Devices + * Updated support for Cavium OCTEONTX Device + * Added PF support to the Netronome NFP PMD + * Updated bnxt PMD + * Added bus agnostic functions to cryptodev for PMD initialization + * Updated QAT crypto PMD + * Updated the AESNI MB PMD + * Updated the OpenSSL PMD + * Added NXP DPAA SEC crypto PMD + * Add new benchmarking mode to dpdk-test-crypto-perf application + * Added IOMMU support to libvhost-user + * Added the Generic Segmentation Offload Library + * Added the Flow Classification Library +- Removed 0002-kni-fix-build-on-SLE12-SP3.patch since patch merged upstream and available in 17.11 + ------------------------------------------------------------------- Fri Dec 22 09:06:51 UTC 2017 - marco.varlese@suse.de diff --git a/dpdk-thunderx.spec b/dpdk-thunderx.spec index 8f0f875..a1758c7 100644 --- a/dpdk-thunderx.spec +++ b/dpdk-thunderx.spec @@ -1,7 +1,7 @@ # # spec file for package dpdk-thunderx # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,12 +43,12 @@ # The lname versioning is based solely on the MAJOR and MINOR # as per DPDK CONFIG_RTE_MAJOR_ABI. -%define lname libdpdk-17_08-0 +%define lname libdpdk-17_11-0 # Do NOT edit this auto generated file! Edit dpdk.spec instead # and run 'pre_checkin.sh' before committing Name: dpdk-thunderx -Version: 17.08.1 +Version: 17.11 Release: 0 Summary: Set of libraries and drivers for fast packet processing (thunderx) License: BSD-3-Clause and GPL-2.0 and LGPL-2.1 @@ -63,8 +63,6 @@ Source1: preamble # However, the problem still exists and the fix has to find its way to the # upstream code. Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch -# PATCH-FIX-UPSTREAM 0002-kni-fix-build-on-SLE12-SP3.patch bsc#1031705 -Patch2: 0002-kni-fix-build-on-SLE12-SP3.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libelf-devel @@ -158,9 +156,8 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the %prep # can't use %{name} because of dpdk-thunderx -%setup -q -n dpdk-stable-%{version} +%setup -q -n dpdk-%{version} %patch1 -p1 -z .enic -%patch2 -p1 -z .kni # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk diff --git a/dpdk.changes b/dpdk.changes index eb894c9..157e9e5 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Jan 9 14:03:43 UTC 2018 - marco.varlese@suse.de + +- Upgraded to latest major 17.11; some of the fixes include: + * Extended port_id range from uint8_t to uint16_t + * Added a new driver for Marvell Armada 7k/8k devices + * Updated mlx4 driver + * Updated mlx5 driver + * Added SoftNIC PMD + * Added support for NXP DPAA Devices + * Updated support for Cavium OCTEONTX Device + * Added PF support to the Netronome NFP PMD + * Updated bnxt PMD + * Added bus agnostic functions to cryptodev for PMD initialization + * Updated QAT crypto PMD + * Updated the AESNI MB PMD + * Updated the OpenSSL PMD + * Added NXP DPAA SEC crypto PMD + * Add new benchmarking mode to dpdk-test-crypto-perf application + * Added IOMMU support to libvhost-user + * Added the Generic Segmentation Offload Library + * Added the Flow Classification Library +- Removed 0002-kni-fix-build-on-SLE12-SP3.patch since patch merged upstream and available in 17.11 + ------------------------------------------------------------------- Fri Dec 22 09:06:51 UTC 2017 - marco.varlese@suse.de diff --git a/dpdk.spec b/dpdk.spec index 44d6343..a7d2733 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,7 +1,7 @@ # # spec file for package dpdk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,10 +43,10 @@ # The lname versioning is based solely on the MAJOR and MINOR # as per DPDK CONFIG_RTE_MAJOR_ABI. -%define lname libdpdk-17_08-0 +%define lname libdpdk-17_11-0 Name: dpdk -Version: 17.08.1 +Version: 17.11 Release: 0 Summary: Set of libraries and drivers for fast packet processing License: BSD-3-Clause and GPL-2.0 and LGPL-2.1 @@ -61,8 +61,6 @@ Source1: preamble # However, the problem still exists and the fix has to find its way to the # upstream code. Patch1: 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch -# PATCH-FIX-UPSTREAM 0002-kni-fix-build-on-SLE12-SP3.patch bsc#1031705 -Patch2: 0002-kni-fix-build-on-SLE12-SP3.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libelf-devel @@ -156,9 +154,8 @@ The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the %prep # can't use %{name} because of dpdk-thunderx -%setup -q -n dpdk-stable-%{version} +%setup -q -n dpdk-%{version} %patch1 -p1 -z .enic -%patch2 -p1 -z .kni # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk