Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2018-03-07 10:38:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Wed Mar 7 10:38:07 2018 rev:26 rq:583369 version:18.02 Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes 2018-03-04 12:49:48.581700642 +0100 +++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-thunderx.changes 2018-03-07 10:38:09.542943851 +0100 @@ -1,0 +2,28 @@ +Tue Mar 6 11:35:29 UTC 2018 - [email protected] + +- Removed 0002-kni-fix-build-on-SLE12-SP3.patch since no longer referenced in .spec files +- Added 0002-dpdk-eal-ppc-rte_smp_mb.patch to fix an issue on ppc64le platforms with v18.02 +- Updated to version 18.02; some of the changes include: + * Added function to allow releasing internal EAL resources on exit + * Added igb, ixgbe and i40e ethernet driver to support RSS with flow API + * Updated i40e driver to support PPPoE/PPPoL2TP + * Added MAC loopback support for i40e + * Added support of run time determination of number of queues per i40e VF + * Updated mlx5 driver + * Updated mlx4 driver + * Added NVGRE and UDP tunnels support in Solarflare network PMD + * Added AVF (Adaptive Virtual Function) net PMD + * Added feature supports for live migration from vhost-net to vhost-user + * Updated the AESNI-MB PMD + * Updated the DPAA_SEC crypto driver to support rte_security + * Added Wireless Base Band Device (bbdev) abstraction + * Added New eventdev Ordered Packet Distribution Library (OPDL) PMD + * Added new pipeline use case for dpdk-test-eventdev application + * Updated Eventdev sample application to support event devices based on capability + * Added Rawdev, a generic device support library + * Added new multi-process communication channel + * Added GRO support for VxLAN-tunneled packets + * Increased default Rx and Tx ring size in sample applications + * Added new DPDK build system using the tools “meson” and “ninja” [EXPERIMENTAL] + +------------------------------------------------------------------- dpdk.changes: same change Old: ---- dpdk-17.11.1.tar.xz New: ---- 0002-dpdk-eal-ppc-rte_smp_mb.patch dpdk-18.02.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk-thunderx.spec ++++++ --- /var/tmp/diff_new_pack.k2zkYc/_old 2018-03-07 10:38:15.570726424 +0100 +++ /var/tmp/diff_new_pack.k2zkYc/_new 2018-03-07 10:38:15.570726424 +0100 @@ -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_11-0 +%define lname libdpdk-18_02-0 # Do NOT edit this auto generated file! Edit dpdk.spec instead # and run 'pre_checkin.sh' before committing Name: dpdk-thunderx -Version: 17.11.1 +Version: 18.02 Release: 0 Summary: Set of libraries and drivers for fast packet processing (thunderx) License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only @@ -63,6 +63,7 @@ # 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 +Patch2: 0002-dpdk-eal-ppc-rte_smp_mb.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libelf-devel @@ -157,8 +158,9 @@ %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 .enic # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk @@ -175,6 +177,13 @@ function setdefaultconf() { + # Remove the below once upstream fixes the DPAA for NXP ARM + setconf CONFIG_RTE_LIBRTE_DPAA_BUS n $1 + setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL n $1 + setconf CONFIG_RTE_LIBRTE_DPAA_PMD n $1 + setconf CONFIG_RTE_LIBRTE_PMD_DPAA_SEC n $1 + setconf CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV n $1 + setconf CONFIG_RTE_MACHINE '"%{machine2}"' $1 # Disable experimental features setconf CONFIG_RTE_NEXT_ABI n $1 @@ -340,6 +349,7 @@ %defattr(-,root,root) # BSD %{_bindir}/testpmd +%{_bindir}/testbbdev %{_bindir}/dpdk-procinfo %{_bindir}/dpdk_proc_info %{_bindir}/dpdk-pdump @@ -357,7 +367,7 @@ %defattr(-,root,root) #BSD %docdir -%doc LICENSE.GPL LICENSE.LGPL +%doc license/gpl-2.0.txt license/lgpl-2.1.txt %files devel %defattr(-,root,root) ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.k2zkYc/_old 2018-03-07 10:38:15.594725557 +0100 +++ /var/tmp/diff_new_pack.k2zkYc/_new 2018-03-07 10:38:15.594725557 +0100 @@ -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_11-0 +%define lname libdpdk-18_02-0 Name: dpdk -Version: 17.11.1 +Version: 18.02 Release: 0 Summary: Set of libraries and drivers for fast packet processing License: BSD-3-Clause AND GPL-2.0-only AND LGPL-2.1-only @@ -61,6 +61,7 @@ # 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 +Patch2: 0002-dpdk-eal-ppc-rte_smp_mb.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libelf-devel @@ -155,8 +156,9 @@ %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 .enic # This fixes CROSS compilation (broken) in the mk file for ThunderX sed -i '/^CROSS /s/^/#/' mk/machine/thunderx/rte.vars.mk @@ -173,6 +175,13 @@ function setdefaultconf() { + # Remove the below once upstream fixes the DPAA for NXP ARM + setconf CONFIG_RTE_LIBRTE_DPAA_BUS n $1 + setconf CONFIG_RTE_LIBRTE_DPAA_MEMPOOL n $1 + setconf CONFIG_RTE_LIBRTE_DPAA_PMD n $1 + setconf CONFIG_RTE_LIBRTE_PMD_DPAA_SEC n $1 + setconf CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV n $1 + setconf CONFIG_RTE_MACHINE '"%{machine2}"' $1 # Disable experimental features setconf CONFIG_RTE_NEXT_ABI n $1 @@ -338,6 +347,7 @@ %defattr(-,root,root) # BSD %{_bindir}/testpmd +%{_bindir}/testbbdev %{_bindir}/dpdk-procinfo %{_bindir}/dpdk_proc_info %{_bindir}/dpdk-pdump @@ -355,7 +365,7 @@ %defattr(-,root,root) #BSD %docdir -%doc LICENSE.GPL LICENSE.LGPL +%doc license/gpl-2.0.txt license/lgpl-2.1.txt %files devel %defattr(-,root,root) ++++++ 0002-dpdk-eal-ppc-rte_smp_mb.patch ++++++ diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h index 39fce7b..1821774 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h @@ -55,7 +55,7 @@ * Guarantees that the LOAD and STORE operations generated before the * barrier occur before the LOAD and STORE operations generated after. */ -#define rte_mb() {asm volatile("sync" : : : "memory"); } +#define rte_mb() asm volatile("sync" : : : "memory") /** * Write memory barrier. ++++++ dpdk-17.11.1.tar.xz -> dpdk-18.02.tar.xz ++++++ /work/SRC/openSUSE:Factory/dpdk/dpdk-17.11.1.tar.xz /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-18.02.tar.xz differ: char 25, line 1
