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 e7823af35b340fed70ed5f423f7d04c7d5c62b38 (commit) via 9ee8609b86639606217d2f78c52f28e3fe08c782 (commit) via 569810c52a72c83aced5c5b8adf3eec40f371d90 (commit) from 6e213fbae7f16558e572da39704927f107c01f80 (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 e7823af35b340fed70ed5f423f7d04c7d5c62b38 Author: Bogdan Pricope bogdan.pricope@linaro.org Date: Tue Jan 16 17:07:54 2018 +0200
example: generator: remove useless csum checks
Remove useless csum checks: packets are dropped at platform level if have csum errors.
Signed-off-by: Bogdan Pricope bogdan.pricope@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 440b6b28..d31b6851 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -824,21 +824,12 @@ static void process_pkts(int thr, thread_args_t *thr_args, odp_packet_t pkt_tbl[], unsigned len) { odp_packet_t pkt; - odp_packet_chksum_status_t csum_status; uint32_t left, offset, i; odph_ipv4hdr_t *ip;
for (i = 0; i < len; ++i) { pkt = pkt_tbl[i];
- csum_status = odp_packet_l3_chksum_status(pkt); - if (csum_status == ODP_PACKET_CHKSUM_BAD) - printf("L3 checksum error detected.\n"); - - csum_status = odp_packet_l4_chksum_status(pkt); - if (csum_status == ODP_PACKET_CHKSUM_BAD) - printf("L4 checksum error detected.\n"); - /* Drop packets with errors */ if (odp_unlikely(odp_packet_has_error(pkt))) continue;
commit 9ee8609b86639606217d2f78c52f28e3fe08c782 Author: Bogdan Pricope bogdan.pricope@linaro.org Date: Tue Jan 16 16:13:11 2018 +0200
example: generator: remove busy wait for direct mode receive
Add timeout to avoid unnecessary loops on low traffic.
Signed-off-by: Bogdan Pricope bogdan.pricope@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index f8c787e4..440b6b28 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -939,6 +939,7 @@ static int gen_recv_direct_thread(void *arg) odp_packet_t pkts[MAX_RX_BURST]; int pkt_cnt, burst_size; odp_pktin_queue_t pktin; + uint64_t wait = odp_pktin_wait_time(ODP_TIME_SEC_IN_NS);
thr = odp_thread_id(); thr_args = (thread_args_t *)arg; @@ -952,8 +953,7 @@ static int gen_recv_direct_thread(void *arg) if (thr_args->stop) break;
- pkt_cnt = odp_pktin_recv_tmo(pktin, pkts, burst_size, - ODP_PKTIN_NO_WAIT); + pkt_cnt = odp_pktin_recv_tmo(pktin, pkts, burst_size, wait);
if (pkt_cnt > 0) { process_pkts(thr, thr_args, pkts, pkt_cnt);
commit 569810c52a72c83aced5c5b8adf3eec40f371d90 Author: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Date: Wed Feb 14 20:26:00 2018 +0300
validation: tm: auto skip test on Shippable in addition to Travis
Apply the same workaround as we have on Travis: retun 77 to mark the test as skipped if we detect failure while running on top of CI.
Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/validation/api/traffic_mngr/traffic_mngr.sh b/test/validation/api/traffic_mngr/traffic_mngr.sh index c4e2d297..c88aa805 100755 --- a/test/validation/api/traffic_mngr/traffic_mngr.sh +++ b/test/validation/api/traffic_mngr/traffic_mngr.sh @@ -31,9 +31,7 @@ TEST_SKIPPED=77 traffic_mngr_main${EXEEXT} ret=$?
-SIGSEGV=139 - -if [ "${TRAVIS}" = "true" ] && [ $ret -ne 0 ] && [ $ret -ne ${SIGSEGV} ]; then +if [ "${CI}" = "true" ] && [ $ret -eq 255 ]; then echo "SKIP: skip due to not isolated environment" exit ${TEST_SKIPPED} fi
-----------------------------------------------------------------------
Summary of changes: example/generator/odp_generator.c | 13 ++----------- test/validation/api/traffic_mngr/traffic_mngr.sh | 4 +--- 2 files changed, 3 insertions(+), 14 deletions(-)
hooks/post-receive