Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2016-10-13 11:30:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk.changes 2016-08-09 22:15:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk.changes 2016-10-13 11:30:10.000000000 +0200 @@ -1,0 +2,96 @@ +Thu Oct 6 10:36:52 UTC 2016 - mchand...@suse.de + +- Drop code for generating our own linker script. + * Commit 948fd64befc3 (" mk: replace the combined library with a + linker script") added upstream support for building and installing + a linker script so we drop our code from the spec file which + generated a much larger and possibly broken linker script resulting + to linking issues (boo#1002534) + +------------------------------------------------------------------- +Wed Aug 10 16:51:17 CEST 2016 - n...@suse.de + +- Update to version 16.07. Some of the new features are listed below: + + * Removed the mempool cache memory if caching is not being used. + * Added mempool external cache for non-EAL thread. + * Changed the memory allocation scheme in the mempool library. + * Added a new driver for Broadcom NetXtreme-C devices. + * Added a new driver for ThunderX nicvf devices. + * Added mailbox interrupt support for ixgbe and igb VFs. + * Updated the ixgbe base driver. + * Updated the i40e base driver. + * Updated the enic driver. + * Updated the mlx5 driver. + * Added support for virtio on IBM POWER8. + * Added support for Virtio in containers. + * Added vhost-user client mode. + * Added NSH packet recognition in i40e. + * Added AES-CTR support to AESNI MB PMD. + * Added AES counter mode support for Intel QuickAssist devices. + * Added KASUMI SW PMD. + * Added multi-writer support for RTE Hash with Intel TSX. + * Improved IP Pipeline Application. + * Added keepalive enhancements. + * Added packet capture framework. + * Added floating VEB support for i40e PF driver. + * Added support for live migration of a VM with SRIOV VF. + * [The list of changes is rather long so please consult the following + resources for the complete list of new features, bugfixes and other + changes in this release: + - http://dpdk.org/doc/guides/rel_notes/release_16_07.html + - http://dpdk.org/browse/dpdk/tree/doc/guides/rel_notes/release_16_07.rst + - Or the doc/guides/rel_notes/release_16_07.rst file in the released + tarball]a +- Removed patches that are already avilable in dpdk-16.07 + [ -0002-examples-ip_pipeline-fix-implicit-declaration-of-fun.patch + -0003-mk-fix-external-shared-library-dependencies-of-libraries.patch + -0004-54f9e32-vhost-handle-dirty-pages-logging-request.patch + -0005-d293dac-vhost-claim-support-of-guest-announce.patch + -0006-d639996-vhost-enable-log_shmfd-protocol-feature.patch + -0007-ixgbe-fix-VLAN-filter-missing-brackets.patch + -0008-app-testpmd-handle-SIGINT-and-SIGTERM.patch + -0009-bonding-copy-entire-config-structure-in-mode-4.patch + -0010-bonding-fix-active-slaves-with-no-primary.patch + -0011-bonding-do-not-ignore-multicast-in-mode-4.patch + -0012-bonding-do-not-activate-slave-twice.patch + -0013-bonding-fix-crash-when-no-slave-device.patch + -0014-bonding-fix-detach-of-bonded-device.patch + -0015-bonding-fix-detach-of-slave-devices.patch + -0016-eal-linux-support-built-in-kernel-modules.patch + -0017-examples-l3fwd-handle-SIGINT-and-SIGTERM.patch + -0018-fm10k-fix-VLAN-flag-in-scattered-Rx.patch + -0019-i40e-base-fix-driver-load-failure.patch + -0020-i40e-base-fix-missing-check-for-stopped-admin-queue.patch + -0021-i40e-fix-inverted-check-for-no-refcount.patch + -0022-i40e-fix-overflow.patch + -0023-i40e-fix-VLAN-filtering.patch + -0024-mempool-fix-leak-when-creation-fails.patch + -0025-pcap-fix-captured-frame-length.patch + -0026-port-fix-crash-for-ethdev-writer-nodrop.patch + -0027-port-fix-crash-for-ring-writer-nodrop.patch + -0028-tools-fix-unbinding-failure-handling.patch + -0029-tools-support-Python-3-in-bind-script.patch + -0030-tools-support-binding-to-built-in-kernel-modules.patch + -0031-vhost-fix-leak-of-fds-and-mmaps.patch + -0032-virtio-fix-crash-in-statistics-functions.patch + -0033-virtio-fix-descriptors-pointing-to-the-same-buffer.patch + -0034-virtio-fix-restart.patch + -0035-PAGE_SIZE-constant-is-not-defined-on-ARM-since-multi.patch + -0036-examples-fix-build-dependencies.patch + -0037-examples-ethtool-fix-build.patch + -0099-mk-fix-gcc-5-version-on-suse.patch + -0100-kni-fix-build-with-gcc-6.patch + -0101-ixgbe-fix-uninitialized-warning.patch + -0102-ixgbe-fix-constant-sign-in-left-shift-operator.patch + -0103-e1000-base-Add-missing-braces-to-the-if-statements.patch + -0104-igb-fix-constant-sign-in-left-shift-operator.patch + -0105-e1000-fix-missing-link-interrupt-check-brackets.patch + -0106-app-test-fix-missing-brackets.patch + -0107-examples-ip_pipeline-use-unsigned-constants-for-left.patch + ] + +- Created soft link for dpdk_proc_info and dpdk_nic_bind(from dpdk-procinfo, dpdk-devbind) to keep compatibility. +- Added a new binary dpdk-pdump dpdk-procinfo + +------------------------------------------------------------------- Old: ---- 0002-examples-ip_pipeline-fix-implicit-declaration-of-fun.patch 0003-mk-fix-external-shared-library-dependencies-of-libraries.patch 0004-54f9e32-vhost-handle-dirty-pages-logging-request.patch 0005-d293dac-vhost-claim-support-of-guest-announce.patch 0006-d639996-vhost-enable-log_shmfd-protocol-feature.patch 0007-ixgbe-fix-VLAN-filter-missing-brackets.patch 0008-app-testpmd-handle-SIGINT-and-SIGTERM.patch 0009-bonding-copy-entire-config-structure-in-mode-4.patch 0010-bonding-fix-active-slaves-with-no-primary.patch 0011-bonding-do-not-ignore-multicast-in-mode-4.patch 0012-bonding-do-not-activate-slave-twice.patch 0013-bonding-fix-crash-when-no-slave-device.patch 0014-bonding-fix-detach-of-bonded-device.patch 0015-bonding-fix-detach-of-slave-devices.patch 0016-eal-linux-support-built-in-kernel-modules.patch 0017-examples-l3fwd-handle-SIGINT-and-SIGTERM.patch 0018-fm10k-fix-VLAN-flag-in-scattered-Rx.patch 0019-i40e-base-fix-driver-load-failure.patch 0020-i40e-base-fix-missing-check-for-stopped-admin-queue.patch 0021-i40e-fix-inverted-check-for-no-refcount.patch 0022-i40e-fix-overflow.patch 0023-i40e-fix-VLAN-filtering.patch 0024-mempool-fix-leak-when-creation-fails.patch 0025-pcap-fix-captured-frame-length.patch 0026-port-fix-crash-for-ethdev-writer-nodrop.patch 0027-port-fix-crash-for-ring-writer-nodrop.patch 0028-tools-fix-unbinding-failure-handling.patch 0029-tools-support-Python-3-in-bind-script.patch 0030-tools-support-binding-to-built-in-kernel-modules.patch 0031-vhost-fix-leak-of-fds-and-mmaps.patch 0032-virtio-fix-crash-in-statistics-functions.patch 0033-virtio-fix-descriptors-pointing-to-the-same-buffer.patch 0034-virtio-fix-restart.patch 0035-PAGE_SIZE-constant-is-not-defined-on-ARM-since-multi.patch 0036-examples-fix-build-dependencies.patch 0037-examples-ethtool-fix-build.patch 0099-mk-fix-gcc-5-version-on-suse.patch 0100-kni-fix-build-with-gcc-6.patch 0101-ixgbe-fix-uninitialized-warning.patch 0102-ixgbe-fix-constant-sign-in-left-shift-operator.patch 0103-e1000-base-Add-missing-braces-to-the-if-statements.patch 0104-igb-fix-constant-sign-in-left-shift-operator.patch 0105-e1000-fix-missing-link-interrupt-check-brackets.patch 0106-app-test-fix-missing-brackets.patch 0107-examples-ip_pipeline-use-unsigned-constants-for-left.patch dpdk-2.2.0.tar.xz New: ---- dpdk-16.07.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.s2GBS4/_old 2016-10-13 11:30:14.000000000 +0200 +++ /var/tmp/diff_new_pack.s2GBS4/_new 2016-10-13 11:30:14.000000000 +0200 @@ -30,115 +30,31 @@ %define machine2 armv8a %define target arm64-%{machine2}-linuxapp-gcc %endif - %ifarch ppc64le %define machine2 power8 %define target ppc_64-%{machine2}-linuxapp-gcc %endif -%bcond_without examples %bcond_without shared +# Add option to build without examples +%bcond_without examples # Add option to build without tools %bcond_without tools Name: dpdk -Version: 2.2.0 +Version: 16.07 Release: 0 Summary: Set of libraries and drivers for fast packet processing License: BSD-3-Clause and GPL-2.0 and LGPL-2.1 Group: System/Libraries Url: http://dpdk.org -Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz +Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.gz +# PATCH-FIX-OPENSUSE 0001-enic-fix-Type-punning-and-strict-aliasing-warning.patch +# This patch was originally taken from the fedora package but they have +# removed it since then because of +# http://osdir.com/ml/scm-fedora-commits/2016-03/msg00849.html +# 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-examples-ip_pipeline-fix-implicit-declaration-of-fun.patch -Patch3: 0003-mk-fix-external-shared-library-dependencies-of-libraries.patch -Patch4: 0004-54f9e32-vhost-handle-dirty-pages-logging-request.patch -Patch5: 0005-d293dac-vhost-claim-support-of-guest-announce.patch -Patch6: 0006-d639996-vhost-enable-log_shmfd-protocol-feature.patch -#PATCH-FIX-UPSTREAM 0007-ixgbe-fix-VLAN-filter-missing-brackets.patch -Patch7: 0007-ixgbe-fix-VLAN-filter-missing-brackets.patch -#PATCH-FIX-UPSTREAM 0008-app-testpmd-handle-SIGINT-and-SIGTERM.patch -Patch8: 0008-app-testpmd-handle-SIGINT-and-SIGTERM.patch -#PATCH-FIX-UPSTREAM 0009-bonding-copy-entire-config-structure-in-mode-4.patch -Patch9: 0009-bonding-copy-entire-config-structure-in-mode-4.patch -#PATCH-FIX-UPSTREAM 0010-bonding-fix-active-slaves-with-no-primary.patch -Patch10: 0010-bonding-fix-active-slaves-with-no-primary.patch -#PATCH-FIX-UPSTREAM 0011-bonding-do-not-ignore-multicast-in-mode-4.patch -Patch11: 0011-bonding-do-not-ignore-multicast-in-mode-4.patch -#PATCH-FIX-UPSTREAM 0012-bonding-do-not-activate-slave-twice.patch -Patch12: 0012-bonding-do-not-activate-slave-twice.patch -#PATCH-FIX-UPSTREAM 0013-bonding-fix-crash-when-no-slave-device.patch -Patch13: 0013-bonding-fix-crash-when-no-slave-device.patch -#PATCH-FIX-UPSTREAM 0014-bonding-fix-detach-of-bonded-device.patch -Patch14: 0014-bonding-fix-detach-of-bonded-device.patch -#PATCH-FIX-UPSTREAM 0015-bonding-fix-detach-of-slave-devices.patch -Patch15: 0015-bonding-fix-detach-of-slave-devices.patch -#PATCH-FIX-UPSTREAM 0016-eal-linux-support-built-in-kernel-modules.patch -Patch16: 0016-eal-linux-support-built-in-kernel-modules.patch -#PATCH-FIX-UPSTREAM 0017-examples-l3fwd-handle-SIGINT-and-SIGTERM.patch -Patch17: 0017-examples-l3fwd-handle-SIGINT-and-SIGTERM.patch -#PATCH-FIX-UPSTREAM 0018-fm10k-fix-VLAN-flag-in-scattered-Rx.patch -Patch18: 0018-fm10k-fix-VLAN-flag-in-scattered-Rx.patch -#PATCH-FIX-UPSTREAM 0019-i40e-base-fix-driver-load-failure.patch -Patch19: 0019-i40e-base-fix-driver-load-failure.patch -#PATCH-FIX-UPSTREAM 0020-i40e-base-fix-missing-check-for-stopped-admin-queue.patch -Patch20: 0020-i40e-base-fix-missing-check-for-stopped-admin-queue.patch -#PATCH-FIX-UPSTREAM 0021-i40e-fix-inverted-check-for-no-refcount.patch -Patch21: 0021-i40e-fix-inverted-check-for-no-refcount.patch -#PATCH-FIX-UPSTREAM 0022-i40e-fix-overflow.patch -Patch22: 0022-i40e-fix-overflow.patch -#PATCH-FIX-UPSTREAM 0023-i40e-fix-VLAN-filtering.patch -Patch23: 0023-i40e-fix-VLAN-filtering.patch -#PATCH-FIX-UPSTREAM 0024-mempool-fix-leak-when-creation-fails.patch -Patch24: 0024-mempool-fix-leak-when-creation-fails.patch -#PATCH-FIX-UPSTREAM 0025-pcap-fix-captured-frame-length.patch -Patch25: 0025-pcap-fix-captured-frame-length.patch -#PATCH-FIX-UPSTREAM 0026-port-fix-crash-for-ethdev-writer-nodrop.patch -Patch26: 0026-port-fix-crash-for-ethdev-writer-nodrop.patch -#PATCH-FIX-UPSTREAM 0027-port-fix-crash-for-ring-writer-nodrop.patch -Patch27: 0027-port-fix-crash-for-ring-writer-nodrop.patch -#PATCH-FIX-UPSTREAM 0028-tools-fix-unbinding-failure-handling.patch -Patch28: 0028-tools-fix-unbinding-failure-handling.patch -#PATCH-FIX-UPSTREAM 0029-tools-support-Python-3-in-bind-script.patch -Patch29: 0029-tools-support-Python-3-in-bind-script.patch -#PATCH-FIX-UPSTREAM 0030-tools-support-binding-to-built-in-kernel-modules.patch -Patch30: 0030-tools-support-binding-to-built-in-kernel-modules.patch -#PATCH-FIX-UPSTREAM 0031-vhost-fix-leak-of-fds-and-mmaps.patch -Patch31: 0031-vhost-fix-leak-of-fds-and-mmaps.patch -#PATCH-FIX-UPSTREAM 0032-virtio-fix-crash-in-statistics-functions.patch -Patch32: 0032-virtio-fix-crash-in-statistics-functions.patch -#PATCH-FIX-UPSTREAM 0033-virtio-fix-descriptors-pointing-to-the-same-buffer.patch -Patch33: 0033-virtio-fix-descriptors-pointing-to-the-same-buffer.patch -#PATCH-FIX-UPSTREAM 0034-virtio-fix-restart.patch -Patch34: 0034-virtio-fix-restart.patch -#PATCH-FIX-OPENSUSE 0035-PAGE_SIZE-constant-is-not-defined-on-ARM-since-multi -Patch35: 0035-PAGE_SIZE-constant-is-not-defined-on-ARM-since-multi.patch -#PATCH-FIX-UPSTREAM 0036-examples-fix-build-dependencies -Patch36: 0036-examples-fix-build-dependencies.patch -#PATCH-FIX-UPSTREAM 0037-examples-ethtool-fix-build -Patch37: 0037-examples-ethtool-fix-build.patch - -# -# Patches for build fixes -# -#PATCH-FIX-UPSTREAM: 0099-mk-fix-gcc-5-version-on-suse.patch -Patch99: 0099-mk-fix-gcc-5-version-on-suse.patch -#PATCH-FIX-UPSTREAM: 0100-kni-fix-build-with-gcc-6.patch -Patch100: 0100-kni-fix-build-with-gcc-6.patch -#PATCH-FIX-UPSTREAM: 0101-ixgbe-fix-uninitialized-warning.patch -Patch101: 0101-ixgbe-fix-uninitialized-warning.patch -#PATCH-FIX-UPSTREAM: 0102-ixgbe-fix-constant-sign-in-left-shift-operator.patch -Patch102: 0102-ixgbe-fix-constant-sign-in-left-shift-operator.patch -#PATCH-FIX-OPENSUSE: 0103-e1000-base-Add-missing-braces-to-the-if-statements.patch -#Not merged yet: http://dpdk.org/dev/patchwork/patch/14268/ -Patch103: 0103-e1000-base-Add-missing-braces-to-the-if-statements.patch -#PATCH-FIX-UPSTREAM: 0104-igb-fix-constant-sign-in-left-shift-operator.patch -Patch104: 0104-igb-fix-constant-sign-in-left-shift-operator.patch -#PATCH-FIX-UPSTREAM: 0105-e1000-fix-missing-link-interrupt-check-brackets.patch -Patch105: 0105-e1000-fix-missing-link-interrupt-check-brackets.patch -#PATCH-FIX-UPSTREAM: 0106-app-test-fix-missing-brackets.patch -Patch106: 0106-app-test-fix-missing-brackets.patch -#PATCH-FIX-UPSTREAM: 0107-examples-ip_pipeline-use-unsigned-constants-for-left.patch -Patch107: 0107-examples-ip_pipeline-use-unsigned-constants-for-left.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libnuma-devel @@ -200,53 +116,6 @@ %prep %setup -q %patch1 -p1 -z .enic -%patch2 -p1 -z .examples -%patch3 -p1 -z .dtneeded -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch26 -p1 -%patch27 -p1 -%patch28 -p1 -%patch29 -p1 -%patch30 -p1 -%patch31 -p1 -%patch32 -p1 -%patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -p1 -%patch37 -p1 - -# Build fixes -%patch99 -p1 -z .rtetoolchain -%patch100 -p1 -%patch101 -p1 -%patch102 -p1 -%patch103 -p1 -%patch104 -p1 -%patch105 -p1 -%patch106 -p1 -%patch107 -p1 %build # set up a method for modifying the resulting .config file @@ -320,6 +189,8 @@ rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind %endif rm -f %{buildroot}%{sdkdir}/tools/setup.sh +#TODO pip elftools has issues to fix +rm -rf %{buildroot}%{_bindir}/dpdk-pmdinfo %if %{with examples} find %{target}/examples/ -name "*.map" | xargs rm -f @@ -357,34 +228,13 @@ # Fixup target machine mismatch sed -i -e 's:-%{machine}-:-%{machine2}-:g' %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk* -# Upstream has an option to build a combined library but it's bloatware which -# wont work at all when library versions start moving, replace it with a -# linker script which avoids these issues. Linking against the script during -# build resolves into links to the actual used libraries which is just fine -# for us, so this combined library is a build-time only construct now. -%if %{with shared} -libext=so -%else -libext=a -%endif -comblib=libdpdk.${libext} - -echo "GROUP (" > ${comblib} -find %{buildroot}/%{_libdir}/ -name "*.${libext}" |\ - sed -e "s:^%{buildroot}/: :g" >> ${comblib} -echo ")" >> ${comblib} -install -m 644 ${comblib} %{buildroot}/%{_libdir}/${comblib} #doc mkdir %{buildroot}%{_docdir}/ mv %{buildroot}%{_datadir}/doc/dpdk %{buildroot}%{_docdir}/ -# Remove unwanted binaries "-f" so if the file -# doesn't exist --> don't complain! -rm -f %{buildroot}%{_bindir}/cmdline_test -rm -f %{buildroot}%{_bindir}/test -rm -f %{buildroot}%{_bindir}/testpipeline -rm -f %{buildroot}%{_bindir}/testacl -rm -f %{buildroot}%{_bindir}/*.map +ln -s %{_bindir}/dpdk-procinfo %{buildroot}%{_bindir}/dpdk_proc_info +ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind + # Remove duplicates %fdupes %{buildroot}/%{_prefix} @@ -397,7 +247,9 @@ %defattr(-,root,root) # BSD %{_bindir}/testpmd +%{_bindir}/dpdk-procinfo %{_bindir}/dpdk_proc_info +%{_bindir}/dpdk-pdump %if %{with shared} %dir %{_libdir}/dpdk-pmds @@ -420,11 +272,9 @@ %if %{with tools} %exclude %{sdkdir}/tools/ %endif - %if %{with examples} %exclude %{sdkdir}/examples/ %endif - %{_sysconfdir}/profile.d/dpdk-sdk-*.* %if ! %{with shared} %{_libdir}/*.a @@ -436,6 +286,7 @@ %files tools %defattr(-,root,root) %{sdkdir}/tools/ +%{_sbindir}/dpdk-devbind %{_sbindir}/dpdk_nic_bind %endif