Hello community,

here is the log from the commit of package dpdk for openSUSE:Factory checked in 
at 2017-03-24 02:22:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dpdk (Old)
 and      /work/SRC/openSUSE:Factory/.dpdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dpdk"

Fri Mar 24 02:22:12 2017 rev:12 rq:481702 version:16.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes       2017-03-17 
15:06:30.362189728 +0100
+++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-thunderx.changes  2017-03-24 
02:22:13.547215129 +0100
@@ -1,0 +2,5 @@
+Mon Mar 20 15:32:12 CET 2017 - [email protected]
+
+- Disable dpdk-kmp package for ix86.
+
+-------------------------------------------------------------------
dpdk.changes: same change

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

Other differences:
------------------
++++++ dpdk-thunderx.spec ++++++
--- /var/tmp/diff_new_pack.Ue5g43/_old  2017-03-24 02:22:16.230835414 +0100
+++ /var/tmp/diff_new_pack.Ue5g43/_new  2017-03-24 02:22:16.234834848 +0100
@@ -123,6 +123,7 @@
 as L2 and L3 forwarding.
 %endif
 
+%ifnarch %{ix86}
 %package kmp
 Summary:        DPDK KNI kernel module (thunderx)
 Group:          System/Kernel
@@ -132,6 +133,7 @@
 
 %description kmp
 The DPDK Kernel NIC Interface (KNI) allows userspace applications access to 
the Linux* control plane.
+%endif
 
 %define sdkdir  %{_datadir}/dpdk
 %define docdir  %{_docdir}/dpdk
@@ -181,6 +183,11 @@
 setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
 
 setconf CONFIG_RTE_EAL_IGB_UIO n
+%ifnarch %{ix86}
+setconf CONFIG_RTE_KNI_KMOD y
+%else
+setconf CONFIG_RTE_KNI_KMOD n
+%endif
 
 %if %{with shared}
 setconf CONFIG_RTE_BUILD_SHARED_LIB y
@@ -192,6 +199,8 @@
 %ifarch ppc64le
 setconf CONFIG_RTE_LIBRTE_PMD_RING n
 %endif
+
+%ifnarch %{ix86}
 export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
 for flavor in %{flavors_to_build}; do
        cp -r %{target} %{target}-$flavor
@@ -199,6 +208,7 @@
        make CC=gcc-6 KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor 
%{?_smp_mflags}
        cd -
 done
+%endif
 
 make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags}
 make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags} doc-api-html
@@ -208,6 +218,7 @@
 %endif
 
 %install
+%ifnarch %{ix86}
 # export needed for kmp package
 export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
 export INSTALL_MOD_PATH=%{buildroot}
@@ -219,7 +230,7 @@
        %make_install  
KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor prefix=%{_usr} 
libdir=%{_libdir}
        cd -
 done
-
+%endif
 # In case dpdk-devel is installed
 unset RTE_SDK RTE_INCLUDE RTE_TARGET
 

++++++ dpdk.spec ++++++
--- /var/tmp/diff_new_pack.Ue5g43/_old  2017-03-24 02:22:16.250832585 +0100
+++ /var/tmp/diff_new_pack.Ue5g43/_new  2017-03-24 02:22:16.254832019 +0100
@@ -121,6 +121,7 @@
 as L2 and L3 forwarding.
 %endif
 
+%ifnarch %{ix86}
 %package kmp
 Summary:        DPDK KNI kernel module
 Group:          System/Kernel
@@ -130,6 +131,7 @@
 
 %description kmp
 The DPDK Kernel NIC Interface (KNI) allows userspace applications access to 
the Linux* control plane.
+%endif
 
 %define sdkdir  %{_datadir}/dpdk
 %define docdir  %{_docdir}/dpdk
@@ -179,6 +181,11 @@
 setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y
 
 setconf CONFIG_RTE_EAL_IGB_UIO n
+%ifnarch %{ix86}
+setconf CONFIG_RTE_KNI_KMOD y
+%else
+setconf CONFIG_RTE_KNI_KMOD n
+%endif
 
 %if %{with shared}
 setconf CONFIG_RTE_BUILD_SHARED_LIB y
@@ -190,6 +197,8 @@
 %ifarch ppc64le
 setconf CONFIG_RTE_LIBRTE_PMD_RING n
 %endif
+
+%ifnarch %{ix86}
 export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
 for flavor in %{flavors_to_build}; do
        cp -r %{target} %{target}-$flavor
@@ -197,6 +206,7 @@
        make CC=gcc-6 KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor 
%{?_smp_mflags}
        cd -
 done
+%endif
 
 make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags}
 make CC=gcc-6 V=1 O=%{target} %{?_smp_mflags} doc-api-html
@@ -206,6 +216,7 @@
 %endif
 
 %install
+%ifnarch %{ix86}
 # export needed for kmp package
 export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
 export INSTALL_MOD_PATH=%{buildroot}
@@ -217,7 +228,7 @@
        %make_install  
KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor prefix=%{_usr} 
libdir=%{_libdir}
        cd -
 done
-
+%endif
 # In case dpdk-devel is installed
 unset RTE_SDK RTE_INCLUDE RTE_TARGET
 


Reply via email to