X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_hash_readwrite_lf_perf.c;h=889799865c7bc4bb7a587dd86ef25cf332dd464f;hb=f2fc83b40f06da6a6b2476005279ba52d4ce3c44;hp=7bfc067f4e9f2c7819b5e40250eeda956d2a0faf;hpb=d0ac7bb577e9d2e2a02abc2b159a486884f0274a;p=dpdk.git diff --git a/app/test/test_hash_readwrite_lf_perf.c b/app/test/test_hash_readwrite_lf_perf.c index 7bfc067f4e..889799865c 100644 --- a/app/test/test_hash_readwrite_lf_perf.c +++ b/app/test/test_hash_readwrite_lf_perf.c @@ -98,7 +98,7 @@ get_short_sig(const hash_sig_t hash) } static inline uint32_t -get_prim_bucket_index(__attribute__((unused)) const struct rte_hash *h, +get_prim_bucket_index(__rte_unused const struct rte_hash *h, const hash_sig_t hash) { uint32_t num_buckets; @@ -109,7 +109,7 @@ get_prim_bucket_index(__attribute__((unused)) const struct rte_hash *h, } static inline uint32_t -get_alt_bucket_index(__attribute__((unused)) const struct rte_hash *h, +get_alt_bucket_index(__rte_unused const struct rte_hash *h, uint32_t cur_bkt_idx, uint16_t sig) { uint32_t num_buckets; @@ -555,7 +555,7 @@ err: } static int -test_rwc_reader(__attribute__((unused)) void *arg) +test_rwc_reader(__rte_unused void *arg) { uint32_t i, j; int ret; @@ -678,7 +678,7 @@ write_keys(uint8_t write_type) } static int -test_rwc_multi_writer(__attribute__((unused)) void *arg) +test_rwc_multi_writer(__rte_unused void *arg) { uint32_t i, offset; uint32_t pos_core = (uint32_t)((uintptr_t)arg);