Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2019-10-03 14:09:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Thu Oct 3 14:09:30 2019 rev:40 rq:734734 version:18.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk.changes 2019-06-19 21:14:47.898886854 +0200 +++ /work/SRC/openSUSE:Factory/.dpdk.new.2352/dpdk.changes 2019-10-03 14:09:35.836079039 +0200 @@ -1,0 +2,7 @@ +Mon Sep 30 10:04:59 UTC 2019 - <[email protected]> + +- Changed to multibuild (bsc#1151455). +- Added dpdk-fix-implicit-fallthrough-warning.patch to address build error with + recent kernels (bsc#1144704). + +------------------------------------------------------------------- Old: ---- dpdk-thunderx.changes dpdk-thunderx.spec pre_checkin.sh New: ---- _multibuild dpdk-fix-implicit-fallthrough-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.8HzBhz/_old 2019-10-03 14:09:36.912076271 +0200 +++ /var/tmp/diff_new_pack.8HzBhz/_new 2019-10-03 14:09:36.916076261 +0200 @@ -17,6 +17,20 @@ # needssslcertforbuild +%define flavor @BUILD_FLAVOR@%{nil} + +%define aarch64_machine2 armv8a +%define exclusive_arch aarch64 x86_64 ppc64le +%define name_tag %{nil} +%define summary_tag %{nil} + +%if "%flavor" == "thunderx" +%define name_tag -thunderx +%define summary_tag thunderx +%define aarch64_machine2 thunderx +%define exclusive_arch aarch64 +%endif + %define machine native %define machine2 default %ifarch x86_64 @@ -24,7 +38,7 @@ %define target x86_64-%{machine}-linuxapp-gcc %endif %ifarch aarch64 -%define machine2 armv8a +%define machine2 %aarch64_machine2 %define target arm64-%{machine2}-linuxapp-gcc %endif %ifarch ppc64le @@ -43,7 +57,7 @@ %define min 11 %define lname libdpdk-%{maj}_%{min} -Name: dpdk +Name: dpdk%{name_tag} Version: 18.11.2 Release: 0 Summary: Set of libraries and drivers for fast packet processing @@ -52,6 +66,7 @@ Url: http://dpdk.org Source: http://fast.dpdk.org/rel/dpdk-%{version}.tar.xz Source1: preamble +Patch: dpdk-fix-implicit-fallthrough-warning.patch Patch1: 0002-fix-cpu-compatibility.patch BuildRequires: doxygen BuildRequires: fdupes @@ -64,7 +79,7 @@ BuildRequires: rdma-core-devel %endif BuildRequires: zlib-devel -ExclusiveArch: aarch64 x86_64 ppc64le +ExclusiveArch: %exclusive_arch Provides: dpdk-any = %{version} Conflicts: otherproviders(dpdk-any) @@ -73,7 +88,7 @@ fast packet processing in the user space. %package devel -Summary: Data Plane Development Kit development files +Summary: Data Plane Development Kit development files %{summary_tag} Group: Development/Libraries/C and C++ Requires: %{lname} = %{version} Provides: dpdk-any-devel = %{version} @@ -84,7 +99,7 @@ applications with the Data Plane Development Kit. %package -n %{lname} -Summary: Data Plane Development Kit runtime libraries +Summary: Data Plane Development Kit runtime libraries %{summary_tag} Group: Development/Libraries/C and C++ Provides: %{lname}-any = %{version} @@ -93,7 +108,7 @@ to use the Data Plane Development Kit. %package doc -Summary: Data Plane Development Kit API documentation +Summary: Data Plane Development Kit API documentation %{summary_tag} Group: System/Libraries BuildArch: noarch Provides: dpdk-any-doc = %{version} @@ -104,7 +119,7 @@ %if %{with tools} %package tools -Summary: Tools for setting up Data Plane Development Kit environment +Summary: Tools for setting up Data Plane Development Kit environment %{summary_tag} Group: System/Libraries Requires: %{name} = %{version} Requires: findutils @@ -120,7 +135,7 @@ %if %{with examples} %package examples -Summary: Data Plane Development Kit example applications +Summary: Data Plane Development Kit example applications %{summary_tag} Group: System/Libraries BuildRequires: libvirt-devel Provides: dpdk-any-examples = %{version} @@ -132,7 +147,7 @@ %endif %package kmp -Summary: DPDK KNI kernel module +Summary: DPDK KNI kernel module %{summary_tag} Group: System/Kernel BuildRequires: %{kernel_module_package_buildreqs} Conflicts: otherproviders(dpdk-any-kmp) @@ -149,6 +164,7 @@ %prep # can't use %{name} because of dpdk-thunderx %setup -q -n dpdk-stable-%{version} +%patch -p1 %patch1 -p1 -z .init # This fixes CROSS compilation (broken) in the mk file for ThunderX ++++++ _multibuild ++++++ <multibuild> <package>thunderx</package> </multibuild> ++++++ dpdk-fix-implicit-fallthrough-warning.patch ++++++ diff -ur dpdk-18.11.orig/kernel/linux/igb_uio/igb_uio.c dpdk-18.11/kernel/linux/igb_uio/igb_uio.c --- dpdk-18.11.orig/kernel/linux/igb_uio/igb_uio.c 2018-11-27 00:36:00.000000000 +0100 +++ dpdk-18.11/kernel/linux/igb_uio/igb_uio.c 2019-08-14 09:49:58.720141734 +0200 @@ -235,8 +235,8 @@ break; } #endif - /* fall back to MSI */ + /* fallthrough */ case RTE_INTR_MODE_MSI: #ifndef HAVE_ALLOC_IRQ_VECTORS if (pci_enable_msi(udev->pdev) == 0) { @@ -256,6 +256,7 @@ } #endif /* fall back to INTX */ + /* fallthrough */ case RTE_INTR_MODE_LEGACY: if (pci_intx_mask_supported(udev->pdev)) { dev_dbg(&udev->pdev->dev, "using INTX"); @@ -266,6 +267,7 @@ } dev_notice(&udev->pdev->dev, "PCI INTX mask not supported\n"); /* fall back to no IRQ */ + /* fallthrough */ case RTE_INTR_MODE_NONE: udev->mode = RTE_INTR_MODE_NONE; udev->info.irq = UIO_IRQ_NONE; Only in dpdk-18.11/kernel/linux/igb_uio: igb_uio.c~
