git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/pipeline: improve learner table timers
[dpdk.git]
/
app
/
test
/
test_thash_perf.c
diff --git
a/app/test/test_thash_perf.c
b/app/test/test_thash_perf.c
index
7aa9360
..
687582a
100644
(file)
--- a/
app/test/test_thash_perf.c
+++ b/
app/test/test_thash_perf.c
@@
-61,6
+61,9
@@
run_rss_calc(uint32_t *tuples[BATCH_SZ], enum test_rss_type type, int len,
}
end_tsc = rte_rdtsc_precise();
+ /* To avoid compiler warnings set hash to used. */
+ RTE_SET_USED(hash);
+
return end_tsc - start_tsc;
}