X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest%2Ftest_distributor_perf.c;fp=app%2Ftest%2Ftest_distributor_perf.c;h=cc6219639b6f39fb6a3bc0a5deb6cec8bed32379;hb=43192222b329b3c984687235b0081c7fbfe484ba;hp=7947fe9b16783b98276e9ab326b639fdf585ccca;hpb=18af4227fa5eee002b1a79207935620f6112803e;p=deb_dpdk.git diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c index 7947fe9b..cc621963 100644 --- a/app/test/test_distributor_perf.c +++ b/app/test/test_distributor_perf.c @@ -57,7 +57,7 @@ struct worker_stats worker_stats[RTE_MAX_LCORE]; /* worker thread used for testing the time to do a round-trip of a cache * line between two cores and back again */ -static void +static int flip_bit(volatile uint64_t *arg) { uint64_t old_val = 0; @@ -67,6 +67,7 @@ flip_bit(volatile uint64_t *arg) old_val = *arg; *arg = 0; } + return 0; } /* test case to time the number of cycles to round-trip a cache line between