* [rocko/master][PATCH 1/2] iperf: add 2.0.10 of iperf from restored iperf2 project
@ 2018-05-03 20:26 Denys Dmytriyenko
2018-05-03 20:26 ` [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2 Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2018-05-03 20:26 UTC (permalink / raw)
To: meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
...s.h-include-stdbool.h-for-bool-definition.patch | 25 ++++++++++++++++++++++
.../iperf/iperf/0002-fix-bool-size-m4.patch | 16 ++++++++++++++
.../recipes-benchmark/iperf/iperf_2.0.10.bb | 22 +++++++++++++++++++
3 files changed, 63 insertions(+)
create mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf/0001-headers.h-include-stdbool.h-for-bool-definition.patch
create mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf/0002-fix-bool-size-m4.patch
create mode 100644 meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.10.bb
diff --git a/meta-arago-extras/recipes-benchmark/iperf/iperf/0001-headers.h-include-stdbool.h-for-bool-definition.patch b/meta-arago-extras/recipes-benchmark/iperf/iperf/0001-headers.h-include-stdbool.h-for-bool-definition.patch
new file mode 100644
index 0000000..26c5bef
--- /dev/null
+++ b/meta-arago-extras/recipes-benchmark/iperf/iperf/0001-headers.h-include-stdbool.h-for-bool-definition.patch
@@ -0,0 +1,25 @@
+From f6d6e2551e88221ae2c7bce6246f5286ac5bc124 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Thu, 3 May 2018 16:09:44 -0400
+Subject: [PATCH] headers.h: include <stdbool.h> for bool definition
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ include/headers.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/headers.h b/include/headers.h
+index 7e43b44..36e59d7 100644
+--- a/include/headers.h
++++ b/include/headers.h
+@@ -86,6 +86,7 @@
+ #include <sys/types.h>
+ #include <fcntl.h>
+ #include <inttypes.h>
++#include <stdbool.h>
+
+ #ifdef WIN32
+
+--
+2.7.4
+
diff --git a/meta-arago-extras/recipes-benchmark/iperf/iperf/0002-fix-bool-size-m4.patch b/meta-arago-extras/recipes-benchmark/iperf/iperf/0002-fix-bool-size-m4.patch
new file mode 100644
index 0000000..348e316
--- /dev/null
+++ b/meta-arago-extras/recipes-benchmark/iperf/iperf/0002-fix-bool-size-m4.patch
@@ -0,0 +1,16 @@
+--- iperf-2.0.5/m4/dast.m4.orig 2016-06-15 11:42:03.945581785 -0400
++++ iperf-2.0.5/m4/dast.m4 2016-06-15 11:42:11.053581641 -0400
+@@ -11,7 +11,12 @@
+
+ AC_DEFUN(DAST_CHECK_BOOL, [
+
+-AC_CHECK_SIZEOF(bool)
++if test "$ac_cv_header_stdbool_h" = yes; then
++ AC_CHECK_SIZEOF(bool,,[#include <stdbool.h>])
++else
++ AC_CHECK_SIZEOF(bool)
++fi
++
+ if test "$ac_cv_sizeof_bool" = 0 ; then
+ AC_DEFINE(bool, int)
+ fi
diff --git a/meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.10.bb b/meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.10.bb
new file mode 100644
index 0000000..737efba
--- /dev/null
+++ b/meta-arago-extras/recipes-benchmark/iperf/iperf_2.0.10.bb
@@ -0,0 +1,22 @@
+SUMMARY = "iperf is a widely used tool for network performance measurement and tuning"
+HOMEPAGE = "https://sourceforge.net/projects/iperf2/"
+SECTION = "console/network"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e136a7b2560d80bcbf0d9b3e1356ecff"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/iperf2/${BP}.tar.gz \
+ file://0001-headers.h-include-stdbool.h-for-bool-definition.patch \
+ file://0002-fix-bool-size-m4.patch \
+"
+
+SRC_URI[md5sum] = "097cf0754bc1afa165975c06a91e6906"
+SRC_URI[sha256sum] = "7fe4348dcca313b74e0aa9c34a8ccd713b84a5615b8578f4aa94cedce9891ef2"
+
+S = "${WORKDIR}/${BP}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2
2018-05-03 20:26 [rocko/master][PATCH 1/2] iperf: add 2.0.10 of iperf from restored iperf2 project Denys Dmytriyenko
@ 2018-05-03 20:26 ` Denys Dmytriyenko
2018-05-15 18:44 ` [EXTERNAL] " Chengalvala, Vivek
0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2018-05-03 20:26 UTC (permalink / raw)
To: meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
.../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
index 8238b1b..7a59fea 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
LICENSE = "MIT"
-PR = "r19"
+PR = "r20"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -19,7 +19,7 @@ RDEPENDS_${PN} = "\
libxml2 \
libpcre \
iptables \
- iperf3 \
+ iperf \
arago-gpl-notice \
arago-feed-config \
nfs-utils-client \
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [EXTERNAL] [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2
2018-05-03 20:26 ` [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2 Denys Dmytriyenko
@ 2018-05-15 18:44 ` Chengalvala, Vivek
2018-05-15 18:48 ` Denys Dmytriyenko
0 siblings, 1 reply; 4+ messages in thread
From: Chengalvala, Vivek @ 2018-05-15 18:44 UTC (permalink / raw)
To: Dmytriyenko, Denys, meta-arago; +Cc: Karicheri, Muralidharan
Denys,
Can we have both iperf2 and iperf3? With iperf3, we see that packet loss/re-ordering stats are better accounted.
Regards,
Vivek
-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
Sent: Thursday, May 03, 2018 4:26 PM
To: meta-arago@arago-project.org
Subject: [EXTERNAL] [meta-arago] [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
.../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
index 8238b1b..7a59fea 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
LICENSE = "MIT"
-PR = "r19"
+PR = "r20"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -19,7 +19,7 @@ RDEPENDS_${PN} = "\
libxml2 \
libpcre \
iptables \
- iperf3 \
+ iperf \
arago-gpl-notice \
arago-feed-config \
nfs-utils-client \
--
2.7.4
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [EXTERNAL] [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2
2018-05-15 18:44 ` [EXTERNAL] " Chengalvala, Vivek
@ 2018-05-15 18:48 ` Denys Dmytriyenko
0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2018-05-15 18:48 UTC (permalink / raw)
To: Chengalvala, Vivek; +Cc: meta-arago, Karicheri, Muralidharan
Vivek,
I was trying to avoid having both versions in the rootfs. Can you install the
second one from IPK?
--
Denys
On Tue, May 15, 2018 at 02:44:45PM -0400, Chengalvala, Vivek wrote:
> Denys,
>
> Can we have both iperf2 and iperf3? With iperf3, we see that packet
> loss/re-ordering stats are better accounted.
>
> Regards,
> Vivek
>
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Dmytriyenko, Denys
> Sent: Thursday, May 03, 2018 4:26 PM
> To: meta-arago@arago-project.org
> Subject: [EXTERNAL] [meta-arago] [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2
>
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
> .../recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
> index 8238b1b..7a59fea 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb
> @@ -1,6 +1,6 @@
> DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
> LICENSE = "MIT"
> -PR = "r19"
> +PR = "r20"
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> @@ -19,7 +19,7 @@ RDEPENDS_${PN} = "\
> libxml2 \
> libpcre \
> iptables \
> - iperf3 \
> + iperf \
> arago-gpl-notice \
> arago-feed-config \
> nfs-utils-client \
> --
> 2.7.4
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-05-15 18:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 20:26 [rocko/master][PATCH 1/2] iperf: add 2.0.10 of iperf from restored iperf2 project Denys Dmytriyenko
2018-05-03 20:26 ` [rocko/master][PATCH 2/2] packagegroup-*-base-tisdk: switch back from iperf3 to iperf2 Denys Dmytriyenko
2018-05-15 18:44 ` [EXTERNAL] " Chengalvala, Vivek
2018-05-15 18:48 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.