Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9cfcb3474a | |||
| 6400aa76a0 |
@@ -1,41 +0,0 @@
|
||||
From a1601d25a7c05e9b572c5055ffd460f7b902258c Mon Sep 17 00:00:00 2001
|
||||
From: Clemens Famulla-Conrad <cfamullaconrad@suse.de>
|
||||
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
|
||||
|
||||
BIN
dpdk-24.11.1.tar.xz
LFS
BIN
dpdk-24.11.1.tar.xz
LFS
Binary file not shown.
BIN
dpdk-24.11.4.tar.xz
LFS
Normal file
BIN
dpdk-24.11.4.tar.xz
LFS
Normal file
Binary file not shown.
16
dpdk.changes
16
dpdk.changes
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 6 14:46:34 UTC 2026 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
||||
|
||||
- Update to version 24.11.4
|
||||
* LTS update with ~250 fixes, details here:
|
||||
https://doc.dpdk.org/guides-24.11/rel_notes/release_24_11.html#id10
|
||||
- Update to version 24.11.3
|
||||
* LTS release update contains ~180 fixes from main branch up to DPDK 25.07
|
||||
- Fixes CVE-2025-23259 -- an attacker on a VM in the system can cause
|
||||
information disclosure and denial of service (bsc#1254161)
|
||||
* remove included patch 0001-dts-generate-random-capture_name-per-call.patch
|
||||
- Remove obsolete build option -Denable_kmods (upstream a52d472c5)
|
||||
- dpdk-tools requires "which" and is noarch
|
||||
- Drop pesign and needssslcertforbuild because we don't build a kmp anymore
|
||||
(boo#1247389)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 14:55:25 UTC 2025 - Clemens Famulla-Conrad <cfamullaconrad@suse.com>
|
||||
|
||||
|
||||
12
dpdk.spec
12
dpdk.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dpdk
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -14,7 +14,6 @@
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
# needssslcertforbuild
|
||||
|
||||
|
||||
%define platform generic
|
||||
@@ -38,7 +37,7 @@
|
||||
# Add option to build without tools
|
||||
%bcond_without tools
|
||||
Name: dpdk
|
||||
Version: 24.11.1
|
||||
Version: 24.11.4
|
||||
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
|
||||
@@ -51,20 +50,16 @@ 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}
|
||||
BuildRequires: binutils
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kernel-syms
|
||||
BuildRequires: libfdt-devel
|
||||
BuildRequires: meson >= 0.53.2
|
||||
BuildRequires: modutils
|
||||
BuildRequires: patchelf
|
||||
BuildRequires: pesign-obs-integration
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: rdma-core-devel
|
||||
BuildRequires: pkgconfig(jansson)
|
||||
@@ -140,11 +135,13 @@ API programming documentation for the Data Plane Development Kit.
|
||||
%package tools
|
||||
Summary: Tools for setting up Data Plane Development Kit environment
|
||||
Group: System/Libraries
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}
|
||||
Requires: findutils
|
||||
Requires: iproute
|
||||
Requires: kmod
|
||||
Requires: pciutils
|
||||
Requires: which
|
||||
%ifarch aarch64
|
||||
Provides: dpdk-thunderx-tools = %{version}-%{release}
|
||||
Obsoletes: dpdk-thunderx-tools < %{version}-%{release}
|
||||
@@ -201,7 +198,6 @@ for flavor in %{flavors_to_build}; do
|
||||
%endif
|
||||
-Dplatform="%{platform}" \
|
||||
-Dcpu_instruction_set=%{machine} \
|
||||
-Denable_kmods=true \
|
||||
-Denable_driver_sdk=true \
|
||||
-Ddrivers_install_subdir=%{pmddir} \
|
||||
-Dkernel_dir="%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor"
|
||||
|
||||
Reference in New Issue
Block a user