]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pipeline/pipeline_hash.c
app/test-pipeline: fix table hash LRU initialization
[dpdk.git] / app / test-pipeline / pipeline_hash.c
index f8aac0d81845dc3ebee0b14e099913ab118cc8dd..0e369a2327e1cbe0253365084a1741ee5c34cfef 100644 (file)
@@ -190,8 +190,8 @@ app_main_loop_worker_pipeline_hash(void) {
                        .n_buckets = 1 << 22,
                        .f_hash = test_hash,
                        .seed = 0,
-                       .signature_offset = 0,
-                       .key_offset = 32,
+                       .signature_offset = APP_METADATA_OFFSET(0),
+                       .key_offset = APP_METADATA_OFFSET(32),
                };
 
                struct rte_pipeline_table_params table_params = {