public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Fenzi <kevin@scrye.com>
To: git-commits@fedoraproject.org
Subject: [rpms/iperf3] f43: Update to 3.20. Fixes rhbz#2415155
Date: Sun, 04 Oct 2026 18:53:09 GMT	[thread overview]
Message-ID: <179113998932.1.9691930543126257199.rpms-iperf3-8e573eda7971@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/iperf3
Branch : f43
Commit : 8e573eda79718dae3566734bc9084cc8ceafc85f
Author : Kevin Fenzi <kevin@scrye.com>
Date   : 2025-11-15T12:26:09-08:00
Stats  : +6/-152 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/iperf3/c/8e573eda79718dae3566734bc9084cc8ceafc85f?branch=f43

Log:
Update to 3.20. Fixes rhbz#2415155

---
diff --git a/.gitignore b/.gitignore
index f9fead0..5ba7ed0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,3 +32,4 @@
 /iperf-3.18.tar.gz
 /iperf-3.19.tar.gz
 /iperf-3.19.1.tar.gz
+/iperf-3.20.tar.gz

diff --git a/1278-rebase.patch b/1278-rebase.patch
deleted file mode 100644
index 018e403..0000000
--- a/1278-rebase.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --color -Nur iperf-3.18.orig/src/iperf_api.c iperf-3.18/src/iperf_api.c
---- iperf-3.18.orig/src/iperf_api.c	2024-12-13 16:09:39.000000000 -0800
-+++ iperf-3.18/src/iperf_api.c	2024-12-21 12:36:16.493209013 -0800
-@@ -3461,6 +3461,8 @@
- 
- 		    temp.rttvar = get_rttvar(&temp);
- 		    temp.pmtu = get_pmtu(&temp);
-+                    temp.reorder = get_reorder(&temp);
-+                    rp->stream_reorder = temp.reorder;
- 		}
- 	    }
- 	} else {
-@@ -3951,7 +3953,8 @@
-                     if (test->sender_has_retransmits || test->protocol->id == Psctp) {
-                         /* Sender summary, TCP and SCTP with retransmits. */
-                         if (test->json_output)
--                            cJSON_AddItemToObject(json_summary_stream, report_sender, iperf_json_printf("socket: %d  start: %f  end: %f  seconds: %f  bytes: %d  bits_per_second: %f  retransmits: %d  max_snd_cwnd:  %d  max_snd_wnd:  %d  max_rtt:  %d  min_rtt:  %d  mean_rtt:  %d sender: %b", (int64_t) sp->socket, (double) start_time, (double) sender_time, (double) sender_time, (int64_t) bytes_sent, bandwidth * 8, (int64_t) sp->result->stream_retrans, (int64_t) sp->result->stream_max_snd_cwnd, (int64_t) sp->result->stream_max_snd_wnd, (int64_t) sp->result->stream_max_rtt, (int64_t) sp->result->stream_min_rtt, (int64_t) ((sp->result->stream_count_rtt == 0) ? 0 : sp->result->stream_sum_rtt / sp->result->stream_count_rtt), stream_must_be_sender));
-+                            cJSON_AddItemToObject(json_summary_stream, report_sender, iperf_json_printf("socket: %d  start: %f  end: %f  seconds: %f  bytes: %d  bits_per_second: %f  retransmits: %d  reorder:  %d  max_snd_cwnd:  %d  max_snd_wnd:  %d  max_rtt:  %d  min_rtt:  %d  mean_rtt:  %d sender: %b", (int64_t) sp->socket, (double) start_time, (double) sender_time, (double) sender_time, (int64_t) bytes_sent, bandwidth * 8, (int64_t) sp->result->stream_retrans, (int64_t) sp->result->stream_reorder, (int64_t) sp->result->stream_max_snd_cwnd, (int64_t) sp->result->stream_max_snd_wnd, (int64_t) sp->result->stream_max_rtt, (int64_t) sp->result->stream_min_rtt, (int64_t) ((sp->result->stream_count_rtt == 0) ? 0 : sp->result->stream_sum_rtt / sp->result->stream_count_rtt), stream_must_be_sender));
-+
-                         else
-                             if (test->role == 's' && !sp->sender) {
-                                 if (test->verbose)
-@@ -4403,7 +4406,7 @@
- 	if ((test->sender_has_retransmits == 1 || test->protocol->id == Psctp) && sp->sender) {
- 	    /* Interval, TCP with retransmits. */
- 	    if (test->json_output)
--		cJSON_AddItemToArray(json_interval_streams, iperf_json_printf("socket: %d  start: %f  end: %f  seconds: %f  bytes: %d  bits_per_second: %f  retransmits: %d  snd_cwnd:  %d  snd_wnd:  %d  rtt:  %d  rttvar: %d  pmtu: %d  omitted: %b sender: %b", (int64_t) sp->socket, (double) st, (double) et, (double) irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (int64_t) irp->interval_retrans, (int64_t) irp->snd_cwnd, (int64_t) irp->snd_wnd, (int64_t) irp->rtt, (int64_t) irp->rttvar, (int64_t) irp->pmtu, irp->omitted, sp->sender));
-+                cJSON_AddItemToArray(json_interval_streams, iperf_json_printf("socket: %d  start: %f  end: %f  seconds: %f  bytes: %d  bits_per_second: %f  retransmits: %d  snd_cwnd:  %d  snd_wnd:  %d  rtt:  %d  rttvar: %d  pmtu: %d  reorder: %d  omitted: %b sender: %b", (int64_t) sp->socket, (double) st, (double) et, (double) irp->interval_duration, (int64_t) irp->bytes_transferred, bandwidth * 8, (int64_t) irp->interval_retrans, (int64_t) irp->snd_cwnd, (int64_t) irp->snd_wnd, (int64_t) irp->rtt, (int64_t) irp->rttvar, (int64_t) irp->pmtu, (int64_t) irp->reorder, irp->omitted, sp->sender));
- 	    else {
- 		unit_snprintf(cbuf, UNIT_LEN, irp->snd_cwnd, 'A');
- 		iperf_printf(test, report_bw_retrans_cwnd_format, sp->socket, mbuf, st, et, ubuf, nbuf, irp->interval_retrans, cbuf, irp->omitted?report_omitted:"");
-diff --color -Nur iperf-3.18.orig/src/iperf_api.h iperf-3.18/src/iperf_api.h
---- iperf-3.18.orig/src/iperf_api.h	2024-12-13 16:09:39.000000000 -0800
-+++ iperf-3.18/src/iperf_api.h	2024-12-21 12:37:03.518082421 -0800
-@@ -318,6 +318,7 @@
- long get_rtt(struct iperf_interval_results *irp);
- long get_rttvar(struct iperf_interval_results *irp);
- long get_pmtu(struct iperf_interval_results *irp);
-+long get_reorder(struct iperf_interval_results *irp);
- void print_tcpinfo(struct iperf_test *test);
- void build_tcpinfo_message(struct iperf_interval_results *r, char *message);
- 
-diff --color -Nur iperf-3.18.orig/src/iperf.h iperf-3.18/src/iperf.h
---- iperf-3.18.orig/src/iperf.h	2024-12-13 16:09:39.000000000 -0800
-+++ iperf-3.18/src/iperf.h	2024-12-21 12:38:03.726920296 -0800
-@@ -126,6 +126,7 @@
-     long rtt;
-     long rttvar;
-     long pmtu;
-+    long reorder;
- };
- 
- struct iperf_stream_result
-@@ -137,6 +138,7 @@
-     atomic_iperf_size_t bytes_sent_omit;
-     long stream_prev_total_retrans;
-     long stream_retrans;
-+    long stream_reorder;
-     long stream_max_rtt;
-     long stream_min_rtt;
-     long stream_sum_rtt;
-diff --color -Nur iperf-3.18.orig/src/tcp_info.c iperf-3.18/src/tcp_info.c
---- iperf-3.18.orig/src/tcp_info.c	2024-12-13 16:09:39.000000000 -0800
-+++ iperf-3.18/src/tcp_info.c	2024-12-21 12:39:04.701756102 -0800
-@@ -218,6 +218,20 @@
- }
- 
- /*************************************************************/
-+/*
-+ * Return number of reordering events seen.
-+ */
-+long
-+get_reorder(struct iperf_interval_results *irp)
-+{
-+#if defined(linux) && defined(TCP_REPAIR_ON)
-+    return irp->tcpInfo.tcpi_reord_seen;
-+#else
-+    return -1;
-+#endif
-+}
-+
-+/*************************************************************/
- void
- build_tcpinfo_message(struct iperf_interval_results *r, char *message)
- {

diff --git a/1805.patch b/1805.patch
deleted file mode 100644
index ed5e6f1..0000000
--- a/1805.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From beadb59b90e8d3339d31f9f15525108072fde135 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum <rudi@heitbaum.com>
-Date: Mon, 9 Dec 2024 10:13:02 +0000
-Subject: [PATCH] fix build with gcc-15
-
----
- src/iperf_api.c | 8 ++++----
- src/iperf_api.h | 8 ++++----
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/src/iperf_api.c b/src/iperf_api.c
-index bad0a63ad..901aec301 100644
---- a/src/iperf_api.c
-+++ b/src/iperf_api.c
-@@ -603,25 +603,25 @@ iperf_set_mapped_v4(struct iperf_test *ipt, const int val)
- }
- 
- void 
--iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *))
- {
-         ipt->on_new_stream = callback;
- }
- 
- void 
--iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_test_start = callback;
- }
- 
- void 
--iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_connect = callback;
- }
- 
- void 
--iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)())
-+iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
- {
-         ipt->on_test_finish = callback;
- }
-diff --git a/src/iperf_api.h b/src/iperf_api.h
-index 2b71613e9..5e2519e47 100644
---- a/src/iperf_api.h
-+++ b/src/iperf_api.h
-@@ -213,10 +213,10 @@ void    iperf_set_dont_fragment( struct iperf_test* ipt, int dont_fragment );
- void    iperf_set_test_congestion_control(struct iperf_test* ipt, char* cc);
- void    iperf_set_test_mss(struct iperf_test* ipt, int mss);
- void    iperf_set_mapped_v4(struct iperf_test* ipt, const int val);
--void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)());
--void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)());
-+void    iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *));
-+void    iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
-+void    iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
-+void    iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
- 
- #if defined(HAVE_SSL)
- void    iperf_set_test_client_username(struct iperf_test *ipt, const char *client_username);

diff --git a/iperf3.spec b/iperf3.spec
index f2fad29..8cf8700 100644
--- a/iperf3.spec
+++ b/iperf3.spec
@@ -1,5 +1,5 @@
 Name:           iperf3
-Version:        3.19.1
+Version:        3.20
 Release:        1%{?dist}
 Summary:        Measurement tool for TCP/UDP bandwidth performance
 
@@ -12,8 +12,6 @@ Summary:        Measurement tool for TCP/UDP bandwidth performance
 License:        BSD-3-Clause-LBNL AND MIT AND dtoa AND BSD-3-Clause AND NCSA AND LicenseRef-Fedora-Public-Domain
 URL:            https://github.com/esnet/iperf
 Source0:        %{url}/archive/%{version}/iperf-%{version}.tar.gz
-# Add some reporting: https://github.com/esnet/iperf/pull/1278
-Patch0:         1278-rebase.patch
 BuildRequires:  libuuid-devel
 BuildRequires:  gcc
 BuildRequires:  lksctp-tools-devel
@@ -60,6 +58,9 @@ rm -f %{buildroot}%{_libdir}/libiperf.la
 %{_libdir}/*.so
 
 %changelog
+* Sat Nov 15 2025 Kevin Fenzi <kevin@scrye.com> - 3.20-1
+- Update to 3.20. Fixes rhbz#2415155
+
 * Sat Jul 26 2025 Kevin Fenzi <kevin@scrye.com> - 3.19.1-1
 - Update to 3.19.1. Fixes rhbz#2383609
 

diff --git a/sources b/sources
index 4b5cde0..dfa97c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (iperf-3.19.1.tar.gz) = 7239eddf55197c45aa751d05b6518a0782ec4f2ce4d9b4246b74c41dc21077102f3f5cc3359129c32c6842d482f4a9557a92ab84d96e0a9c7063052c9cbed4f6
+SHA512 (iperf-3.20.tar.gz) = 2a52d27388e2585327f92b9cd33335345706371533f1e8da9aa5fb66d11cca70d8690f12c24bf31d7fa231e41225faa2f93b7b31fd869cbd2f34ab5401e3f5ff

                 reply	other threads:[~2026-10-04 18:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179113998932.1.9691930543126257199.rpms-iperf3-8e573eda7971@fedoraproject.org \
    --to=kevin@scrye.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox