This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via fa281989523b82177f974abe7b4adfec47705dfa (commit)
from 3bacbfd55edf76b897a4b2e5c62b59ca6fa95331 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fa281989523b82177f974abe7b4adfec47705dfa
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Fri Oct 6 14:39:26 2017 +0300
test: pktio_perf: increase maximum number of workers threads
Increase maximum number of workers to 128. Also, fixes a buffer overflow
which happened when system's maximum thread count was larger than the
value of MAX_WORKERS.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/common_plat/performance/odp_pktio_perf.c b/test/common_plat/performance/odp_pktio_perf.c
index a170e128..80ff6684 100644
--- a/test/common_plat/performance/odp_pktio_perf.c
+++ b/test/common_plat/performance/odp_pktio_perf.c
@@ -39,7 +39,7 @@
#define PKT_BUF_NUM (32 * 1024)
#define MAX_NUM_IFACES 2
#define TEST_HDR_MAGIC 0x92749451
-#define MAX_WORKERS 32
+#define MAX_WORKERS 128
#define BATCH_LEN_MAX 32
/* Packet rate at which to start when using binary search */
@@ -563,6 +563,12 @@ static int setup_txrx_masks(odp_cpumask_t *thd_mask_tx,
return TEST_SKIP;
}
+ if (num_workers > MAX_WORKERS) {
+ LOG_DBG("Worker count limited to MAX_WORKERS define (=%d)\n",
+ MAX_WORKERS);
+ num_workers = MAX_WORKERS;
+ }
+
if (gbl_args->args.num_tx_workers) {
if (gbl_args->args.num_tx_workers > (num_workers - 1)) {
LOG_ERR("Invalid TX worker count\n");
-----------------------------------------------------------------------
Summary of changes:
test/common_plat/performance/odp_pktio_perf.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, 2.0 has been created
at 3d3c8f71f39ff139695d6f4b8e5ea17502c5f7cf (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 3bacbfd55edf76b897a4b2e5c62b59ca6fa95331 (commit)
from 37b430cb9e8f6834a3c76ab108489cec719b9e32 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3bacbfd55edf76b897a4b2e5c62b59ca6fa95331
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Mon Oct 2 05:58:00 2017 +0300
tests: fix disabling of validation tests
Fix for the fix...
[b4d17b1f6807 tests: fix validation tests being skipped by default]
attempted to fix tests being disabled by default, but in attempt to do
so just forced them to be enabled even if they are forcibly disabled by
configure option. Update conditions to really enable testsuite if it was
not disabled.
https://bugs.linaro.org/show_bug.cgi?id=3300
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/common_plat/m4/validation.m4 b/test/common_plat/m4/validation.m4
index f7127c06..65ba2aa2 100644
--- a/test/common_plat/m4/validation.m4
+++ b/test/common_plat/m4/validation.m4
@@ -24,7 +24,7 @@ AS_IF([test "x$test_vald" = "xyes" -a "x$cunit_support" = "xno"],
[test "x$test_vald" = "xcheck" -a "x$cunit_support" = "xno"],
[AC_MSG_WARN([CUnit was not found, disabling validation testsuite])
test_vald=no],
- [test_vald=yes])
+ [test "x$test_vald" != "xno"], [test_vald=yes])
AM_CONDITIONAL([cunit_support], [test "x$cunit_support" = "xyes"])
AM_CONDITIONAL([test_vald], [test "x$test_vald" = "xyes"])
-----------------------------------------------------------------------
Summary of changes:
test/common_plat/m4/validation.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 37b430cb9e8f6834a3c76ab108489cec719b9e32 (commit)
via 4d38a376cd9976dfbeb565e509c028d07dfb1ed8 (commit)
from c16af6486eea240609f334b1bdc81a11404275de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 37b430cb9e8f6834a3c76ab108489cec719b9e32
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Mon Oct 9 14:34:10 2017 +0300
example: classifier: enable classifier in input queue parameters
Enable packet classifier following the latest API spec.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index d67fe5ac..691eb196 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -229,6 +229,7 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool)
odp_pktin_queue_param_init(&pktin_param);
pktin_param.queue_param.sched.sync = ODP_SCHED_SYNC_ATOMIC;
+ pktin_param.classifier_enable = 1;
if (odp_pktin_queue_config(pktio, &pktin_param)) {
EXAMPLE_ERR("pktin queue config failed for %s\n", dev);
commit 4d38a376cd9976dfbeb565e509c028d07dfb1ed8
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Wed May 31 10:55:05 2017 +0300
validation: packet: remove old unused define
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c
index 10e011df..64165464 100644
--- a/test/common_plat/validation/api/packet/packet.c
+++ b/test/common_plat/validation/api/packet/packet.c
@@ -12,7 +12,6 @@
#include <odp_cunit_common.h>
#include "packet.h"
-#define PACKET_BUF_LEN ODP_CONFIG_PACKET_SEG_LEN_MIN
/* Reserve some tailroom for tests */
#define PACKET_TAILROOM_RESERVE 4
/* Number of packets in the test packet pool */
-----------------------------------------------------------------------
Summary of changes:
example/classifier/odp_classifier.c | 1 +
test/common_plat/validation/api/packet/packet.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via c16af6486eea240609f334b1bdc81a11404275de (commit)
from 3cb452014694b6a20ab2896370a90b4fbded7512 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c16af6486eea240609f334b1bdc81a11404275de
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Fri Oct 6 09:21:22 2017 +0300
travis: purge dpdk cache on version change
changing dpdk version and not clearing build can lead
to reference to old cached not supported dpdk version.
Needed to remove cache if version was changed.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 99057920..7fcd98e2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -149,11 +149,17 @@ install:
fi
- gem install asciidoctor
-# DPDK pktio. Note that cache must be purged if dpdk version changes.
+ # DPDK pktio. Note that cache must be purged if dpdk version changes.
+ - DPDK_VERS="17.02"
+ - |
+ CACHED_DPDK_VERS=`fgrep Version dpdk/pkg/dpdk.spec | cut -d " " -f 2`
+ if [ "${CACHED_DPDK_VERS}" != "${DPDK_VERS}" ]; then
+ rm -rf dpdk
+ fi
- TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"}
- |
if [ -z "$CROSS_ARCH" -a ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then
- git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk
+ git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v${DPDK_VERS} http://dpdk.org/git/dpdk dpdk
pushd dpdk
git log --oneline --decorate
make config T=${TARGET} O=${TARGET}
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--