Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dpdk for openSUSE:Factory checked in 
at 2023-04-14 13:12:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dpdk (Old)
 and      /work/SRC/openSUSE:Factory/.dpdk.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dpdk"

Fri Apr 14 13:12:12 2023 rev:56 rq:1077701 version:22.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dpdk/dpdk.changes        2023-02-25 
19:54:37.915089172 +0100
+++ /work/SRC/openSUSE:Factory/.dpdk.new.19717/dpdk.changes     2023-04-14 
13:12:25.883341943 +0200
@@ -1,0 +2,62 @@
+Wed Apr  5 21:10:54 UTC 2023 - Duraisankar P <duraisankar.pitchum...@suse.com>
+
+-- Update to LTS release version v22.11.1
+   Some of the new features are,
+    * Added initial LoongArch architecture support.
+    * Added support for multiple mbuf pools per ethdev Rx queue.
+    * Added support for congestion management in ethdev.
+    * Added protocol header based buffer split.
+    * Added proactive error handling mode for ethdev.
+    * Added ethdev Rx/Tx descriptor dump API.
+    * Added ethdev hairpin memory configuration options.
+    * Added new configuration flags for hairpin queues in rte_eth_hairpin_conf:
+    * Added strict queue to pre-configuration flow hints.
+    * Added configuration for asynchronous flow connection tracking.
+    * Added support for queue-based async query in flow API.
+    * Added new function rte_flow_async_action_handle_query() to query the 
action asynchronously.
+    * Extended metering and marking support in the flow API.
+    * Added flow offload action to route packets to kernel.
+    * Updated AF_XDP driver.
+    * Updated AMD Pensando ionic driver.
+    * Added GVE net PMD.
+    * Updated Intel iavf driver.
+    * Updated Intel ice driver.
+    * Added Intel idpf driver.
+    * Updated Marvell cnxk driver.
+    * Added Microsoft mana driver.
+    * Updated Netronome nfp driver.
+    * Added flow API support:
+    * Updated NVIDIA mlx5 driver.
+    * Updated NXP dpaa2 driver.
+    * Updated Wangxun ngbe driver.
+    * Added DMA vChannel unconfiguration for async vhost.
+    * Added non-blocking notify API to vhost library.
+    * Added support for MACsec in rte_security.
+    * Added new algorithms to cryptodev.
+    * Updated Intel QuickAssist Technology (QAT) crypto driver.
+    * Updated Marvell cnxk crypto driver.
+    * Updated aesni_mb crypto driver.
+    * Updated ipsec_mb crypto driver.
+    * Added UADK crypto driver.
+    * Added bbdev operation for FFT processing.
+    * Added Intel ACC200 bbdev driver.
+    * Added eventdev adapter instance get API.
+    * Added eventdev Tx adapter queue start/stop API.
+    * Added event crypto adapter vectorization support.
+    * Added NitroSketch in membership library.
+    * Added Intel uncore frequency control API to the power library.
+    * Added security performance test application.
+    * Updated IPsec sample application.
+    * Updated FIPS validation sample application.
+    * Rewrote pmdinfo script.
+    * More details can be found in
+        http://doc.dpdk.org/guides/rel_notes/release_22_11.html
+    * Removed the patches as fixed in upstream
+       0001-build-try-to-get-kernel-version-from-kernel-source.patch
+       kni-fix-build-with-Linux-5.18.patch
+    * Added Patches:
+        0001-fix-cpu-compatibility.patch
+    * Rebased patches:
+        0002-SLE15-SP3-compatibility-patch-for-kni.patch 
+
+-------------------------------------------------------------------

Old:
----
  0001-build-try-to-get-kernel-version-from-kernel-source.patch
  dpdk-21.11.1.tar.xz
  kni-fix-build-with-Linux-5.18.patch

New:
----
  0001-fix-cpu-compatibility.patch
  dpdk-22.11.1.tar.xz

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

Other differences:
------------------
++++++ dpdk.spec ++++++
--- /var/tmp/diff_new_pack.Daf4zp/_old  2023-04-14 13:12:26.527345626 +0200
+++ /var/tmp/diff_new_pack.Daf4zp/_new  2023-04-14 13:12:26.531345649 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,7 +28,7 @@
 %define aarch64_machine thunderx
 %define exclusive_arch aarch64
 %endif
-# 
http://doc.dpdk.org/guides-21.11/linux_gsg/build_dpdk.html#adjusting-build-options
+# 
http://doc.dpdk.org/guides-22.11/linux_gsg/build_dpdk.html#adjusting-build-options
 %define platform generic
 %define machine  auto
 %ifarch aarch64
@@ -36,7 +36,7 @@
 %endif
 # This is in sync with <src>/ABI_VERSION
 # TODO: automate this sync
-%define maj 22
+%define maj 23
 %define min 0
 #%%define lname libdpdk-%%{maj}_%%{min}
 %define lname libdpdk-%{maj}
@@ -46,7 +46,7 @@
 %bcond_without tools
 #
 Name:           dpdk%{name_tag}
-Version:        21.11.1
+Version:        22.11.1
 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
@@ -55,15 +55,14 @@
 Source:         https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
 Source1:        preamble
 # PATCH-FIX-OPENSUSE PATCH-FEATURE-UPSTREAM
-Patch0:         0001-build-try-to-get-kernel-version-from-kernel-source.patch
+Patch0:         0001-fix-cpu-compatibility.patch
 Patch1:         0002-SLE15-SP3-compatibility-patch-for-kni.patch
-Patch2:         kni-fix-build-with-Linux-5.18.patch
 BuildRequires:  binutils
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  kernel-syms
 BuildRequires:  libfdt-devel
-BuildRequires:  meson >= 0.49.2
+BuildRequires:  meson >= 0.53.2
 BuildRequires:  modutils
 BuildRequires:  patchelf
 BuildRequires:  pesign-obs-integration
@@ -164,7 +163,6 @@
 Summary:        DPDK KNI kernel module %{summary_tag}
 Group:          System/Kernel
 BuildRequires:  %{kernel_module_package_buildreqs}
-Conflicts:      dpdk-any-kmp
 %suse_kernel_module_package -p %{_sourcedir}/preamble pae 64kb
 
 %description kmp
@@ -189,7 +187,7 @@
 %define _vpath_builddir "build-%{_target_cpu}-$flavor"
 
 %ifarch x86_64
-export CFLAGS="%{optflags} -msse4"
+export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -msse4"
 %endif
 examples="all"
 for flavor in %{flavors_to_build}; do
@@ -236,7 +234,15 @@
 # Fix documentation
 mkdir -p %{buildroot}%docdir
 mv %{buildroot}%{_datadir}/doc/dpdk %{buildroot}%docdir
-find %{buildroot}%docdir -name .doctrees | xargs rm -r # cleanup Sphinx 
leftovers
+
+# driver .so files often depend upon the bus drivers for their connect bus,
+# e.g. ixgbe depends on librte_bus_pci. This means that the bus drivers need
+# to be in the library path, so symlink the drivers from the main lib directory
+# Fix broken symlink created by buildtools/symlink-drivers-solibs.sh
+for f in %{buildroot}/%{pmddir}/*.so.*; do
+    bn=$(basename ${f})
+    ln -s %{pmddir}/${bn} %{buildroot}%{_libdir}/${bn}
+done
 
 %if ! %{with tools}
 # Remove tools if not needed

++++++ 0001-fix-cpu-compatibility.patch ++++++
>From e2950fec9cd9c235a7847ed97b6914174857bf93 Mon Sep 17 00:00:00 2001
From: "mvarl...@suse.de" <mvarl...@suse.de>
Date: Wed, 29 Apr 2020 12:24:16 +0200
Subject: [PATCH] fix cpu compatibility

Added 0001-fix-cpu-compatibility.patch to address issue with older CPUs 
(bsc#1125961, bsc#1099474)

Updated 2023-02-26 for version 22.11

diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c
index 41bc07dde7..750180cb84 100644
--- a/drivers/bus/vdev/vdev.c
+++ b/drivers/bus/vdev/vdev.c
@@ -51,7 +51,11 @@ static struct vdev_custom_scans vdev_custom_scans =
 static rte_spinlock_t vdev_custom_scan_lock = RTE_SPINLOCK_INITIALIZER;
 
 /* register a driver */
-void
+#if defined(__x86_64__) ||  defined(__i386__)
+void __attribute__((target ("sse2")))
+#else
+ void
+#endif
 rte_vdev_register(struct rte_vdev_driver *driver)
 {
        TAILQ_INSERT_TAIL(&vdev_driver_list, driver, next);
diff --git a/lib/eal/common/eal_common_bus.c b/lib/eal/common/eal_common_bus.c
index deb9fb8a12..cb7bec607f 100644
--- a/lib/eal/common/eal_common_bus.c
+++ b/lib/eal/common/eal_common_bus.c
@@ -22,7 +22,11 @@ rte_bus_name(const struct rte_bus *bus)
        return bus->name;
 }
 
-void
+#if defined(__x86_64__) ||  defined(__i386__)
+void __attribute__((target ("sse2")))
+#else
+ void
+#endif
 rte_bus_register(struct rte_bus *bus)
 {
        RTE_VERIFY(bus);
diff --git a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h
index 15765b408d..4291706faa 100644
--- a/lib/eal/include/rte_common.h
+++ b/lib/eal/include/rte_common.h
@@ -179,8 +179,20 @@ typedef uint16_t unaligned_uint16_t;
  *   Lowest number is the first to run.
  */
 #ifndef RTE_INIT_PRIO /* Allow to override from EAL */
+#if defined(__x86_64__) ||  defined(__i386__)
 #define RTE_INIT_PRIO(func, prio) \
-static void __attribute__((constructor(RTE_PRIO(prio)), used)) func(void)
+static void \
+       __attribute__((constructor(RTE_PRIO(prio)), used)) \
+       __attribute__((target ("sse2"))) \
+       __attribute__((target ("no-sse3"))) \
+       __attribute__((target ("no-sse4"))) \
+       func(void)
+#else
+#define RTE_INIT_PRIO(func, prio) \
+static void \
+       __attribute__((constructor(RTE_PRIO(prio)), used)) \
+       func(void)
+#endif
 #endif
 
 /**

++++++ 0002-SLE15-SP3-compatibility-patch-for-kni.patch ++++++
--- /var/tmp/diff_new_pack.Daf4zp/_old  2023-04-14 13:12:26.575345901 +0200
+++ /var/tmp/diff_new_pack.Daf4zp/_new  2023-04-14 13:12:26.579345924 +0200
@@ -3,11 +3,17 @@
 Date: Mon, 21 Sep 2020 14:50:13 +0200
 Subject: [PATCH] SLE15 SP3 compatibility patch for kni
 
-Updated 2022-02-25 for version 21.11
+  Add patch to resolve build error reported in Staging:E project 
+  where a kernel backport (jsc#SLE-13536) introduced backward
+  incompatible changes to the API that break kni module build
+  * 0001-SLE15-SP3-compatibility-patch-for-kni.patch
 
-diff -Nur dpdk-21.11/kernel/linux/kni/compat.h new/kernel/linux/kni/compat.h
---- dpdk-21.11/kernel/linux/kni/compat.h       2021-11-26 18:58:21.000000000 
+0100
-+++ new/kernel/linux/kni/compat.h      2022-02-25 18:08:52.638000134 +0100
+Updated 2023-02-26 for version 22.11
+
+diff --git a/kernel/linux/kni/compat.h b/kernel/linux/kni/compat.h
+index 3a86d12bbc..66d1afd944 100644
+--- a/kernel/linux/kni/compat.h
++++ b/kernel/linux/kni/compat.h
 @@ -14,7 +14,10 @@
  #define SLE_VERSION(a, b, c) KERNEL_VERSION(a, b, c)
  #endif

++++++ dpdk-21.11.1.tar.xz -> dpdk-22.11.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/dpdk/dpdk-21.11.1.tar.xz 
/work/SRC/openSUSE:Factory/.dpdk.new.19717/dpdk-22.11.1.tar.xz differ: char 25, 
line 1

++++++ preamble ++++++
--- /var/tmp/diff_new_pack.Daf4zp/_old  2023-04-14 13:12:26.687346541 +0200
+++ /var/tmp/diff_new_pack.Daf4zp/_new  2023-04-14 13:12:26.695346587 +0200
@@ -1,4 +1,5 @@
 Requires: kernel-%1
 Enhances: kernel-%1
 Supplements: packageand(kernel-%1:%{-n*})
+Conflicts: dpdk-any-kmp
 

Reply via email to