iperf: remove local copy, as it got upstreamed some time ago
PATCH 1/1 iperf: remove local copy, as it got upstreamed some time ago
From: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../iperf/iperf-2.0.5/000-Iperf_Fix-CPU-Usage.diff | 44 ----- .../001-cast-to-max_size_t-instead-of-int.patch | 14 -- .../003-fix-hyphen-used-as-minus-sign.patch | 200 --------------------- .../iperf-2.0.5/005-iperf-die-on-bind-fail.patch | 15 -- .../iperf-2.0.5/007-iperf-reporter-deadlock.patch | 68 ------- .../iperf/iperf-2.0.5/008-numofreport.patch | 15 -- .../recipes-benchmark/iperf/iperf_2.0.5.bb | 40 ----- 7 files changed, 396 deletions(-) delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/000-Iperf_Fix-CPU-Usage.diff delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/001-cast-to-max_size_t-instead-of-int.patch delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/003-fix-hyphen-used-as-minus-sign.patch delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/005-iperf-die-on-bind-fail.patch delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/007-iperf-reporter-deadlock.patch delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/008-numofreport.patch delete mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.5.bb
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/000-Iperf_Fix-CPU-Usage.diff deleted +0 -44
@@ -1,44 +0,0 @@ -From c7c18bc93441872e7ff2fa47a18a12ef319b7949 Mon Sep 17 00:00:00 2001 -From: Franklin S. Cooper Jr <[email protected]> -Date: Sat, 6 Oct 2012 12:32:29 -0500 -Subject: [PATCH] iperf: Fix CPU Usage - -* Updated the patch 000-Iperf_Fix-CPU-Usage.diff to apply to iperf v2.0.5 -* That patch was largely based on the patch: - http://marc.info/?l=linux-kernel&m=119088670113210&w=2 -* The majority of the changes from 000-Iperf_Fix-CPU-Usage.diff have been - incorporated into iperf v2.0.5. -* The two remaining thread_rest changes that 000-Iperf_Fix-CPU-Usage.diff - made have been added to this version of iperf v2.0.5 - -Upstream-Status: Inappropriate [not author] - -Signed-off-by: Franklin S. Cooper Jr <[email protected]> ---- - src/Reporter.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/Reporter.c b/src/Reporter.c -index 7d9263b..4fbb712 100644 ---- a/src/Reporter.c -+++ b/src/Reporter.c -@@ -391,7 +391,7 @@ void EndReport( ReportHeader *agent ) { - if ( agent != NULL ) { - int index = agent->reporterindex; - while ( index != -1 ) { -- thread_rest(); -+ Condition_Wait( &ReportDoneCond ); - index = agent->reporterindex; - } - agent->agentindex = -1; -@@ -412,7 +412,7 @@ void EndReport( ReportHeader *agent ) { - Transfer_Info *GetReport( ReportHeader *agent ) { - int index = agent->reporterindex; - while ( index != -1 ) { -- thread_rest(); -+ Condition_Wait( &ReportDoneCond ); - index = agent->reporterindex; - } - return &agent->report.info; --- -1.7.0.4
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/001-cast-to-max_size_t-instead-of-int.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Import Debian patches and fix a lot of real bugs. - -Upstream-Status: Inappropriate [not author. Above message was get from oe.dev c10c33f86903c93611023197a7f812459c2dfe2d] ---- iperf-2.0.4.orig/src/Settings.cpp.orig 2008-04-08 04:37:54.000000000 +0200 -+++ iperf-2.0.4/src/Settings.cpp 2008-05-07 17:41:03.923942801 +0200 -@@ -458,7 +458,7 @@ - case 't': // seconds to write for - // time mode (instead of amount mode) - setModeTime( mExtSettings ); -- mExtSettings->mAmount = (int) (atof( optarg ) * 100.0); -+ mExtSettings->mAmount = (max_size_t) (atof( optarg ) * 100.0); - break; - - case 'u': // UDP instead of TCP
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/003-fix-hyphen-used-as-minus-sign.patch deleted +0 -200
200 lines not on this page · raw message
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/005-iperf-die-on-bind-fail.patch deleted +0 -15
@@ -1,15 +0,0 @@ -Import Debian patches and fix a lot of real bugs. - -Upstream-Status: Inappropriate [not author. Above message was get from oe.dev c10c33f86903c93611023197a7f812459c2dfe2d] - ---- iperf-2.0.4/src/Listener.cpp 2009-02-23 16:20:31.000000000 -0500 -+++ iperf-2.0.4-fixed/src/Listener.cpp 2009-02-23 16:20:40.000000000 -0500 -@@ -333,7 +333,7 @@ - #endif - { - rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local ); -- WARN_errno( rc == SOCKET_ERROR, "bind" ); -+ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings ); - } - // listen for connections (TCP only). - // default backlog traditionally 5
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/007-iperf-reporter-deadlock.patch deleted +0 -68
68 lines not on this page · raw message
meta-arago-extras/recipes-benchmark/iperf/iperf-2.0.5/008-numofreport.patch deleted +0 -15
@@ -1,15 +0,0 @@ -by Kirby Zhou < kirbyzhou \x40 sohu-rd.com > -increase the queue length to avoid thread racing - -Upstream-Status: Inappropriate [not author] ---- iperf-2.0.4.orig/include/Reporter.h 2008-04-08 04:37:54.000000000 +0200 -+++ iperf-2.0.4/include/Reporter.h 2009-07-06 11:53:58.700541554 +0200 -@@ -61,7 +61,7 @@ struct server_hdr; - - #include "Settings.hpp" - --#define NUM_REPORT_STRUCTS 700 -+#define NUM_REPORT_STRUCTS 5700 - #define NUM_MULTI_SLOTS 5 - - #ifdef __cplusplus
meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.5.bb deleted +0 -40
@@ -1,40 +0,0 @@ -DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics" -HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/" -SECTION = "console/network" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298" - -PR = "r2" - -SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/iperf-${PV}.tar.gz \ - file://000-Iperf_Fix-CPU-Usage.diff \ - file://001-cast-to-max_size_t-instead-of-int.patch \ - file://003-fix-hyphen-used-as-minus-sign.patch \ - file://005-iperf-die-on-bind-fail.patch \ - file://007-iperf-reporter-deadlock.patch \ - file://008-numofreport.patch \ -" - -SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016" -SRC_URI[sha256sum] = "636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b" - -inherit autotools-brokensep - -S = "${WORKDIR}/iperf-${PV}" - -EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" - -do_configure() { - export ac_cv_func_malloc_0_nonnull=yes - gnu-configize - oe_runconf -} - -do_compile() { - oe_runmake -} - -do_install() { - cd ${WORKDIR}/iperf-${PV}/src - oe_runmake DESTDIR=${D} install -}
Signature · 1 line
2.7.4