]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_thash_perf.c
test/threads: add unit test
[dpdk.git] / app / test / test_thash_perf.c
index 7aa93601200a2edb1d3085206711898de7234dbf..687582aa32299917d8c6995b493f1ac02b0ec605 100644 (file)
@@ -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;
 }