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 138a4a92b0bbf5bcc713a62747644276ada8d05d (commit) from 539b12c997b213c687249669b4ed4dc058d957ee (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 138a4a92b0bbf5bcc713a62747644276ada8d05d Author: Matias Elo matias.elo@nokia.com Date: Thu Mar 30 10:41:02 2017 +0300
test: bench_packet: fix headroom/tailroom test return values
Zero is a valid return value from the packet headroom/tailroom functions.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/common_plat/performance/odp_bench_packet.c b/test/common_plat/performance/odp_bench_packet.c index 7a3a004..c4cd613 100644 --- a/test/common_plat/performance/odp_bench_packet.c +++ b/test/common_plat/performance/odp_bench_packet.c @@ -618,7 +618,7 @@ static int bench_packet_headroom(void) for (i = 0; i < TEST_REPEAT_COUNT; i++) ret += odp_packet_headroom(gbl_args->pkt_tbl[i]);
- return ret; + return i; }
static int bench_packet_tailroom(void) @@ -629,7 +629,7 @@ static int bench_packet_tailroom(void) for (i = 0; i < TEST_REPEAT_COUNT; i++) ret += odp_packet_tailroom(gbl_args->pkt_tbl[i]);
- return ret; + return i; }
static int bench_packet_tail(void)
-----------------------------------------------------------------------
Summary of changes: test/common_plat/performance/odp_bench_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive