diff --git a/0001-dts-generate-random-capture_name-per-call.patch b/0001-dts-generate-random-capture_name-per-call.patch new file mode 100644 index 0000000..ae00564 --- /dev/null +++ b/0001-dts-generate-random-capture_name-per-call.patch @@ -0,0 +1,41 @@ +From a1601d25a7c05e9b572c5055ffd460f7b902258c Mon Sep 17 00:00:00 2001 +From: Clemens Famulla-Conrad +Date: Thu, 5 Jun 2025 16:48:27 +0200 +Subject: [PATCH 1/1] dts: generate random capture_name per call +Reference: boo#1244130 + +Previously, `capture_name` defaulted to a "dynamic" value. This caused +non-deterministic documentation (as reported in +https://bugs.dpdk.org/show_bug.cgi?id=1718) and could lead to +overwriting capture files if the method was called +multiple times within a single Python process. +--- + .../traffic_generator/capturing_traffic_generator.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/dts/framework/testbed_model/traffic_generator/capturing_traffic_generator.py b/dts/framework/testbed_model/traffic_generator/capturing_traffic_generator.py +index 66a77da9c4..c1e4a898d4 100644 +--- a/dts/framework/testbed_model/traffic_generator/capturing_traffic_generator.py ++++ b/dts/framework/testbed_model/traffic_generator/capturing_traffic_generator.py +@@ -70,7 +70,7 @@ def send_packets_and_capture( + receive_port: Port, + filter_config: PacketFilteringConfig, + duration: float, +- capture_name: str = _get_default_capture_name(), ++ capture_name: str = None, + ) -> list[Packet]: + """Send `packets` and capture received traffic. + +@@ -104,6 +104,9 @@ def send_packets_and_capture( + duration, + ) + ++ if capture_name is None: ++ capture_name = _get_default_capture_name() ++ + self._logger.debug(f"Received packets: {get_packet_summaries(received_packets)}") + self._write_capture_from_packets(capture_name, received_packets) + return received_packets +-- +2.43.0 + diff --git a/dpdk.changes b/dpdk.changes index 5b592f1..125b552 100644 --- a/dpdk.changes +++ b/dpdk.changes @@ -1,26 +1,49 @@ ------------------------------------------------------------------- -Tue Apr 1 13:30:00 UTC 2025 - Clemens Famulla-Conrad +Thu Jun 5 14:55:25 UTC 2025 - Clemens Famulla-Conrad + +- Fix deterministic build [bsc#1244130] + [+ 0001-dts-generate-random-capture_name-per-call.patch] + +------------------------------------------------------------------- +Tue Apr 1 09:54:21 UTC 2025 - Clemens Famulla-Conrad + +- Change 0001-always_inline-fix.patch by replacing the function + rte_trace_feature_is_enabled with a preprocessor substitution, + this also work with older gcc7 where -mgeneral-regs-only isn't + available. + +------------------------------------------------------------------- +Mon Mar 31 11:49:34 UTC 2025 - Richard Biener - Add 0001-always_inline-fix.patch to fix issue with always_inline - in rte_trace_feature_is_enabled() and replace it with preprocessor substitution. - Remove GCC 14 build requirement for SLE15/16 again. -- Fixup: Add "Provides:" for 'thunderx' multibuild flavor. Also remove - 'Provides: dpdk-any' as there are no users. [bsc#1237385] + and rte_trace_feature_is_enabled which should use -mgeneral-regs-only + to inter-operate with other ISA flags. Remove GCC 14 build requirement + for SLE15/16 again. ------------------------------------------------------------------- -Mon Mar 17 09:00:00 UTC 2025 - Clemens Famulla-Conrad +Fri Mar 14 13:37:33 UTC 2025 - Clemens Famulla-Conrad -- Drop multibuild flavor "thunderx" as it is equal to aarch64 [bsc#1237385] -- Update to version 24.11.1 [jsc#PED-11233] - * Changelog: https://doc.dpdk.org/guides/rel_notes/release_24_11.html +- Remove the 'thunderx' multibuild flavor; it was identical to aarch64. + It also makes 'Provides: dpdk-any' obsolete. [bsc#1237385] + +------------------------------------------------------------------- +Mon Mar 10 13:21:19 UTC 2025 - Clemens Famulla-Conrad + +- Update to version 24.11.1 * Contains DPDK 24.11 plus the fix for CVE-2024-11614, remove patch dpdk-CVE-2024-11614.patch - * This update fix build with glibc 2.41 -- Use gcc14 on x86_64 SLE15/16 to avoid the inline error -- Move docs from %{_docdir}/dpdk/dpdk to %{_docdir}/dpdk +- Move docs from %{_docdir}/dpdk/dpdk to %{docdir}/dpdk ------------------------------------------------------------------- -Wed Jan 1 13:14:23 UTC 2025 - Duraisankar P +Mon Feb 17 07:38:12 UTC 2025 - Guillaume GARDET + +- Update to LTS version 24.11 + * Changelog: https://doc.dpdk.org/guides/rel_notes/release_24_11.html + * This update fix build with glibc 2.41 +- Use gcc14 on x86_64 SLE15/16 to avoid the inline error + +------------------------------------------------------------------- +Wed Jan 1 13:12:20 UTC 2025 - Duraisankar P - Fix CVE-2024-11614 [bsc#1234718] - Denial Of Service from malicious guest on hypervisors using DPDK Vhost library - Added patch, diff --git a/dpdk.spec b/dpdk.spec index e147885..7bfe192 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -51,6 +51,8 @@ Patch0: 0001-fix-cpu-compatibility.patch Patch1: 0001-examples-vm_power_manager-add-missing-header.patch # Fix inline error for < gcc14 (<=SLE16) Patch2: 0001-always_inline-fix.patch +# Fix reproducable builds https://bugzilla.opensuse.org/show_bug.cgi?id=1244130 +Patch3: 0001-dts-generate-random-capture_name-per-call.patch BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pyelftools >= 0.22} BuildRequires: %{pythons}