Hello community,

here is the log from the commit of package dpdk for openSUSE:Factory checked in 
at 2017-09-13 22:30:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dpdk (Old)
 and      /work/SRC/openSUSE:Factory/.dpdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dpdk"

Wed Sep 13 22:30:16 2017 rev:19 rq:522138 version:17.08

Changes:
--------
--- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes       2017-07-21 
22:49:15.005990683 +0200
+++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-thunderx.changes  2017-09-13 
22:30:35.757405663 +0200
@@ -1,0 +2,62 @@
+Mon Sep  4 11:18:19 CEST 2017 - [email protected]
+
+- Updated to 17.08(bsc#1050250, bsc#1046598, fate#322913, fate#322608)
+  Some of the new features are listed below:
+   * Increase minimum x86 ISA version to SSE4.2
+   * Added Fail-Safe PMD
+   * Added support for generic flow API (rte_flow) on igb NICs
+   * Added support for generic flow API (rte_flow) on enic
+   * Added support for Chelsio T6 family of adapters
+   * Added latency and performance improvements for cxgbe
+   * Updated mlx5 driver
+   * Added NXP DPAA2 Eventdev PMD
+   * Added dpdk-test-eventdev test application
+   * from 17.05:
+      * Added mbuf raw free API
+      * Added free Tx mbuf on demand API
+      * Added VFIO hotplug support
+      * Added PowerPC support for i40e and its vector PMD
+      * Added VF max bandwidth setting in i40e
+      * Added LiquidIO network PMD
+      * Added support for NXP DPAA2 Network PMD
+      * Added support for NXP DPAA2 - FSLMC bus
+      * Added support for the Wind River Systems AVP PMD
+      * Added vmxnet3 version 3 support
+      * Added MTU feature support to Virtio and Vhost
+      * Added event driven programming model library (rte_eventdev)
+      * Added Software Eventdev PMD
+      * Added Cavium OCTEONTX Eventdev PMD
+      * Added NXP DPAA2 SEC crypto PMD
+   * from 17.02:
+      * Added generic EAL API for I/O device memory read/write operations
+      * Added VF Daemon (VFD) for i40e. - EXPERIMENTAL
+      * Added generic flow API (rte_flow)
+      * Added APIs for MACsec offload support to the ixgbe PMD
+      * Added Solarflare libefx-based network PMD.
+      * Added support for Mellanox ConnectX-5 adapters (mlx5)
+      * Added ARMv8 crypto PMD
+      * Added crypto performance test application
+   * more details can be found in
+     http://dpdk.org/doc/guides/rel_notes/release_17_08.html
+     http://dpdk.org/doc/guides/rel_notes/release_17_05.html
+     http://dpdk.org/doc/guides/rel_notes/release_17_02.html
+    [-0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch                   
                                                                                
                                         
+    -0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch               
                                                                                
                                        
+    -0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch           
                                                                                
                                        
+    -0005-kni-fix-build-with-gcc-7.1.patch                                     
                                                                                
                                        
+    -0006-kni-fix-ethtool-build-with-kernel-4.11.patch                         
                                                                                
                                        
+    -0007-igb_uio-switch-to-new-irq-function-for-MSI-X.patch]
+- Use updated patch to enable HAVE_TRANS_START_HELPER for 
SLE12SP3(bsc#1031705).
+  [+ 0002-kni-fix-build-on-SLE12-SP3.patch]
+
+-------------------------------------------------------------------
+Fri Aug 25 12:09:57 UTC 2017 - [email protected]
+
+- Enabled CONFIG_RTE_MAJOR_ABI: libs SONAME equal the DPDK release version
+
+-------------------------------------------------------------------
+Fri Aug 18 14:44:37 UTC 2017 - [email protected]
+
+- Split libs into a subpackage to provide multiple installable versions on 
same sytem
+
+-------------------------------------------------------------------
dpdk.changes: same change

Old:
----
  0002-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch
  0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch
  0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch
  0005-kni-fix-build-with-gcc-7.1.patch
  0006-kni-fix-ethtool-build-with-kernel-4.11.patch
  0007-igb_uio-switch-to-new-irq-function-for-MSI-X.patch
  dpdk-16.11.2.tar.xz

New:
----
  0002-kni-fix-build-on-SLE12-SP3.patch
  dpdk-17.08.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dpdk-thunderx.spec ++++++
--- /var/tmp/diff_new_pack.iuroc1/_old  2017-09-13 22:30:36.701272787 +0200
+++ /var/tmp/diff_new_pack.iuroc1/_new  2017-09-13 22:30:36.705272224 +0200
@@ -40,10 +40,13 @@
 %bcond_without examples
 # Add option to build without tools
 %bcond_without tools
+
+%define lname libdpdk-17_08-0
+
 # Do NOT edit this auto generated file! Edit dpdk.spec instead
 # and run 'pre_checkin.sh' before committing
 Name:           dpdk-thunderx
-Version:        16.11.2
+Version:        17.08
 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
@@ -58,14 +61,8 @@
 # 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-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch
-Patch3:         0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch
-Patch4:         0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch
-#PATCH-FIX-UPSTREAM 0005-kni-fix-build-with-gcc-7.1.patch bsc#1042372
-Patch5:         0005-kni-fix-build-with-gcc-7.1.patch
-#PATCH-FIX-UPSTREAM 0006-kni-fix-ethtool-build-with-kernel-4.11.patch
-Patch6:         0006-kni-fix-ethtool-build-with-kernel-4.11.patch
-Patch7:         0007-igb_uio-switch-to-new-irq-function-for-MSI-X.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:  libnuma-devel
@@ -83,7 +80,7 @@
 %package devel
 Summary:        Data Plane Development Kit development files (thunderx)
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %{lname} = %{version}
 Provides:       dpdk-any-devel = %{version}
 Conflicts:      otherproviders(dpdk-any-devel)
 
@@ -91,6 +88,15 @@
 This package contains the headers and other files needed for developing
 applications with the Data Plane Development Kit.
 
+%package -n %{lname}
+Summary:        Data Plane Development Kit runtime libraries (thunderx)
+Group:          Development/Libraries/C and C++
+Provides:       %{lname}-any = %{version}
+
+%description -n %{lname}
+This package contains the runtime libraries needed for 3rd party application
+to use the Data Plane Development Kit.
+
 %package doc
 Summary:        Data Plane Development Kit API documentation (thunderx)
 Group:          System/Libraries
@@ -149,14 +155,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 .kni1
-%patch3 -p1 -z .kni2
-%patch4 -p1 -z .thunderx
-%patch5 -p1 -z .kni3
-%patch6 -p1 -z .kni4
-%patch7 -p1 -z .igb1
+%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
@@ -177,6 +178,9 @@
        # Disable experimental features
        setconf CONFIG_RTE_NEXT_ABI n $1
 
+       # SONAME equals to DPDK release version
+       setconf CONFIG_RTE_MAJOR_ABI %{version} $1
+
        # Enable automatic driver loading from this path
        setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"' $1
 
@@ -262,10 +266,10 @@
 %make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
 
 %if ! %{with tools}
-rm -rf %{buildroot}%{sdkdir}/tools
+rm -rf %{buildroot}%{sdkdir}/usertools/
 rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
 %endif
-rm -f %{buildroot}%{sdkdir}/tools/setup.sh
+rm -f %{buildroot}%{sdkdir}/usertools/setup.sh
 #TODO pip elftools has issues to fix
 rm -rf %{buildroot}%{_bindir}/dpdk-pmdinfo
 
@@ -283,6 +287,13 @@
     bn=$(basename ${f})
     ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
 done
+#mempool is a driver now from 16.07
+mkdir -p %{buildroot}/%{pmddir}
+for f in %{buildroot}/%{_libdir}/*_mempool_*.so.*; do
+    bn=$(basename ${f})
+    ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
+done
+
 # Setup RTE_SDK environment as expected by apps etc
 mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
 cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
@@ -316,8 +327,8 @@
 
 %post devel -p /sbin/ldconfig
 %postun devel -p /sbin/ldconfig
-%post  -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -327,6 +338,8 @@
 %{_bindir}/dpdk_proc_info
 %{_bindir}/dpdk-pdump
 
+%files -n %{lname}
+%defattr(-,root,root)
 %if %{with shared}
 %dir %{_libdir}/dpdk-pmds
 
@@ -346,7 +359,7 @@
 %{incdir}/
 %{sdkdir}
 %if %{with tools}
-%exclude %{sdkdir}/tools/
+%exclude %{sdkdir}/usertools/
 %endif
 %if %{with examples}
 %exclude %{sdkdir}/examples/
@@ -361,9 +374,11 @@
 %if %{with tools}
 %files tools
 %defattr(-,root,root)
-%{sdkdir}/tools/
+%{sdkdir}/usertools/
 %{_sbindir}/dpdk-devbind
 %{_sbindir}/dpdk_nic_bind
+%{_bindir}/dpdk-test-eventdev
+%{_bindir}/dpdk-test-crypto-perf
 %endif
 
 %if %{with examples}

++++++ dpdk.spec ++++++
--- /var/tmp/diff_new_pack.iuroc1/_old  2017-09-13 22:30:36.737267720 +0200
+++ /var/tmp/diff_new_pack.iuroc1/_new  2017-09-13 22:30:36.741267157 +0200
@@ -40,8 +40,11 @@
 %bcond_without examples
 # Add option to build without tools
 %bcond_without tools
+
+%define lname libdpdk-17_08-0
+
 Name:           dpdk
-Version:        16.11.2
+Version:        17.08
 Release:        0
 Summary:        Set of libraries and drivers for fast packet processing
 License:        BSD-3-Clause and GPL-2.0 and LGPL-2.1
@@ -56,14 +59,8 @@
 # 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-kni-define-HAVE_VF_VLAN_PROTO-for-SLES12SP3.patch
-Patch3:         0003-kni-define-HAVE_TRANS_START_HELPER-for-SLES12SP3.patch
-Patch4:         0004-net-thunderx-sync-mailbox-definitions-with-Linux-PF-.patch
-#PATCH-FIX-UPSTREAM 0005-kni-fix-build-with-gcc-7.1.patch bsc#1042372
-Patch5:         0005-kni-fix-build-with-gcc-7.1.patch
-#PATCH-FIX-UPSTREAM 0006-kni-fix-ethtool-build-with-kernel-4.11.patch
-Patch6:         0006-kni-fix-ethtool-build-with-kernel-4.11.patch
-Patch7:         0007-igb_uio-switch-to-new-irq-function-for-MSI-X.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:  libnuma-devel
@@ -81,7 +78,7 @@
 %package devel
 Summary:        Data Plane Development Kit development files
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %{lname} = %{version}
 Provides:       dpdk-any-devel = %{version}
 Conflicts:      otherproviders(dpdk-any-devel)
 
@@ -89,6 +86,15 @@
 This package contains the headers and other files needed for developing
 applications with the Data Plane Development Kit.
 
+%package -n %{lname}
+Summary:        Data Plane Development Kit runtime libraries
+Group:          Development/Libraries/C and C++
+Provides:       %{lname}-any = %{version}
+
+%description -n %{lname}
+This package contains the runtime libraries needed for 3rd party application
+to use the Data Plane Development Kit.
+
 %package doc
 Summary:        Data Plane Development Kit API documentation
 Group:          System/Libraries
@@ -147,14 +153,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 .kni1
-%patch3 -p1 -z .kni2
-%patch4 -p1 -z .thunderx
-%patch5 -p1 -z .kni3
-%patch6 -p1 -z .kni4
-%patch7 -p1 -z .igb1
+%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
@@ -175,6 +176,9 @@
        # Disable experimental features
        setconf CONFIG_RTE_NEXT_ABI n $1
 
+       # SONAME equals to DPDK release version
+       setconf CONFIG_RTE_MAJOR_ABI %{version} $1
+
        # Enable automatic driver loading from this path
        setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"' $1
 
@@ -260,10 +264,10 @@
 %make_install O=%{target} prefix=%{_usr} libdir=%{_libdir}
 
 %if ! %{with tools}
-rm -rf %{buildroot}%{sdkdir}/tools
+rm -rf %{buildroot}%{sdkdir}/usertools/
 rm -rf %{buildroot}%{_sbindir}/dpdk_nic_bind
 %endif
-rm -f %{buildroot}%{sdkdir}/tools/setup.sh
+rm -f %{buildroot}%{sdkdir}/usertools/setup.sh
 #TODO pip elftools has issues to fix
 rm -rf %{buildroot}%{_bindir}/dpdk-pmdinfo
 
@@ -281,6 +285,13 @@
     bn=$(basename ${f})
     ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
 done
+#mempool is a driver now from 16.07
+mkdir -p %{buildroot}/%{pmddir}
+for f in %{buildroot}/%{_libdir}/*_mempool_*.so.*; do
+    bn=$(basename ${f})
+    ln -s ../${bn} %{buildroot}%{pmddir}/${bn}
+done
+
 # Setup RTE_SDK environment as expected by apps etc
 mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
 cat << EOF > %{buildroot}/%{_sysconfdir}/profile.d/dpdk-sdk-%{_arch}.sh
@@ -314,8 +325,8 @@
 
 %post devel -p /sbin/ldconfig
 %postun devel -p /sbin/ldconfig
-%post  -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -325,6 +336,8 @@
 %{_bindir}/dpdk_proc_info
 %{_bindir}/dpdk-pdump
 
+%files -n %{lname}
+%defattr(-,root,root)
 %if %{with shared}
 %dir %{_libdir}/dpdk-pmds
 
@@ -344,7 +357,7 @@
 %{incdir}/
 %{sdkdir}
 %if %{with tools}
-%exclude %{sdkdir}/tools/
+%exclude %{sdkdir}/usertools/
 %endif
 %if %{with examples}
 %exclude %{sdkdir}/examples/
@@ -359,9 +372,11 @@
 %if %{with tools}
 %files tools
 %defattr(-,root,root)
-%{sdkdir}/tools/
+%{sdkdir}/usertools/
 %{_sbindir}/dpdk-devbind
 %{_sbindir}/dpdk_nic_bind
+%{_bindir}/dpdk-test-eventdev
+%{_bindir}/dpdk-test-crypto-perf
 %endif
 
 %if %{with examples}

++++++ 0002-kni-fix-build-on-SLE12-SP3.patch ++++++
>From d2749a174306f7ddb4259bdeb561761ddff7ca7d Mon Sep 17 00:00:00 2001
From: Nirmoy Das <[email protected]>
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 <[email protected]>
---
 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

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.iuroc1/_old  2017-09-13 22:30:36.793259837 +0200
+++ /var/tmp/diff_new_pack.iuroc1/_new  2017-09-13 22:30:36.797259274 +0200
@@ -11,6 +11,7 @@
                                <flag>sse</flag>
                                <flag>sse2</flag>
                                <flag>sse3</flag>
+                               <!-- TODO add SSE4.2 before that need to fix 
obs, patch on the way -->
                        </cpu>
                </hardware>
        </overwrite>

++++++ dpdk-16.11.2.tar.xz -> dpdk-17.08.tar.xz ++++++
/work/SRC/openSUSE:Factory/dpdk/dpdk-16.11.2.tar.xz 
/work/SRC/openSUSE:Factory/.dpdk.new/dpdk-17.08.tar.xz differ: char 26, line 1


Reply via email to