summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netperf
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2 days1-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: fix build error with gcc-15mark.yang2025-04-192-0/+169
| | | | | | | | | | | | | | | | | | | | | | * submit fix: https://github.com/HewlettPackard/netperf/pull/86 to fix: http://errors.yoctoproject.org/Errors/Details/851803/ ../../git/src/nettest_bsd.c:4497:19: error: too many arguments to function 'alloc_sendfile_buf_ring'; expected 0, have 4 4497 | send_ring = alloc_sendfile_buf_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from ../../git/src/nettest_bsd.c:175: ../../git/src/netlib.h:690:26: note: declared here 690 | extern struct ring_elt *alloc_sendfile_buf_ring(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../git/src/nettest_omni.c:184: ../../git/src/hist.h:135:6: error: conflicting types for 'HIST_purge'; have 'void(struct histogram_struct *)' 135 | void HIST_purge(HIST h); | ^~~~~~~~~~ ... Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix variable assignment whitespaceRichard Purdie2025-03-201-2/+2
| | | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: fix build failure due to autotools.bbclass changeDmitry Baryshkov2025-02-272-6/+42
| | | | | | | | | Recent change to autotools.bbclass broke netperf as it can not now find proper macros. Remove old workaround and add a proper patch to utilize ACLOCAL_AMFLAGS option. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-3/+3
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: drop ${SRCPV} usageMartin Jansa2024-02-091-1/+1
| | | | | | | | | | * Drop SRCPV similarly like oe-core did in: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872 * SRCPV is deferred now from PV to PKGV since: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* netperf: Always enable largefile supportKhem Raj2022-08-131-2/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netserver: don't change permissions on /dev/nullAshish Sharma2022-06-302-0/+30
| | | | | | | | | | | | | | Source: MontaVista Software, LLC MR: 117141 Type: Defect Fix Disposition: Backport from [https://github.com/HewlettPackard/netperf/pull/27/commits/78c9ae7d9a6735575bc72dd28a19b2bc3a251981] ChangeID: 199f8618971de15d177dab9651f82f5696ff1aa1 Description: the (now default) suppress_debug=1 changes permissions on /dev/null to 0644. Don't do this. Signed-off-by: Ashish Sharma <asharma@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netperf: Add systemd unit fileKhem Raj2021-07-272-4/+17
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: Update to latestKhem Raj2021-07-271-3/+2
| | | | | | | | License-Update: Upstream has switched to MIT [1] [1] https://github.com/HewlettPackard/netperf/commit/2d88bcc75d97f462eafe8605f8da0c1f875b7dad Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: Fix build with -fno-commonKhem Raj2020-08-132-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: Inherit texinfo to get makeinfoKhem Raj2020-01-281-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: add "intervals" and "histogram" PACKAGECONFIGsDenys Dmytriyenko2019-12-111-0/+2
| | | | | | | | | | | >From https://hewlettpackard.github.io/netperf/doc/netperf.html: Other optional configure-time settings include --enable-intervals=yes to give netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to have netperf keep a histogram of interesting times. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: Fix build error on muslKhem Raj2018-09-262-4/+56
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* netperf: upgrade to 2.7.0+ with git versionKai Kang2017-09-121-6/+6
| | | | | | | | | | | | | The homepage of netperf has been moved to github. The original webpage www.netperf.org is redirected to github and tarballs are removed. So use git version of recipe instead. netperf 2.7.0 was released in July 2015 which is too old. So upgrade to latest commit of git repo which is on Nov 29, 2016. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-051-2/+2
| | | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netperf: fix the broken download urlZongchun Yu2015-08-031-1/+1
| | | | | Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* netperf: enable SCTP supportMihaela Sendrea2014-06-031-0/+5
| | | | | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* netperf: fix S!=B issuesKoen Kooi2014-05-031-8/+8
| | | | | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Remove PR = r0 from all recipesMartin Jansa2013-11-011-1/+0
| | | | | | | | | | | * Remove all PR = "r0" from all .bb files in meta-oe repo. This was done with the command sed -e '/^PR.*=.*r0\"/d' meta*/recipes*/*/*.bb -i * We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* netperf: set _FILE_OFFSET_BITS to 64 to support large filesTing Liu2013-10-091-0/+5
| | | | | | | | | | Without this patch, netperf2.6 can only support files smaller than 2GB with TCP_SENDFILE item. Signed-off-by: Ting Liu <b28495@freescale.com> Tested-by: Jianhua Xie<jianhua.xie@freescale.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Joe MacDonald <joe@deserted.net>
* recipes: Unify indentationMartin Jansa2013-04-151-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* netperf: Correct license flagsJoe MacDonald2012-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Mark Hatle <mark.hatle@windriver.com> I was helping someone with building netperf from meta-networking last night, and stumbled on what I think is a bug. SUMMARY = "A networking benchmarking tool" DESCRIPTION = "Network performance benchmark including tests for TCP, UDP, sockets, ATM and more." SECTION = "console/network" HOMEPAGE = "http://www.netperf.org/" LICENSE = "netperf" LICENSE_FLAGS = "commercial" In the above, the LICENSE_FLAGS are set to 'commercial'. I think this is incorrect. It should be set to 'non-commercial'. There is a subtle difference between them which is why I think it's a bug... commercial -- there are some commercial requirements necessary to use this recipe in a commercial device... you are responsible for understanding them and doing whatever is necessary... (for non-commercial devices you can likely use it...) non-commercial -- this item is restricted to non-commercial users only. As in the case of netperf, the license says it's only for non-commercial use. So anyway, my suggestion is to simply change the value of the flag. Reported-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* netperf: import from oe-classic and upgrade to 2.6.0xin.ouyang@windriver.com2012-11-194-0/+207
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>