tile: fix build
[dpdk.git] / app / test-pipeline / pipeline_lpm_ipv6.c
index 02b7a9c..3352e89 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
  *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
@@ -100,7 +100,6 @@ app_main_loop_worker_pipeline_lpm_ipv6(void) {
                        .ops = &rte_port_ring_writer_ops,
                        .arg_create = (void *) &port_ring_params,
                        .f_action = NULL,
-                       .f_action_bulk = NULL,
                        .arg_ah = NULL,
                };
 
@@ -118,7 +117,7 @@ app_main_loop_worker_pipeline_lpm_ipv6(void) {
                        .number_tbl8s = 1 << 21,
                        .entry_unique_size =
                                sizeof(struct rte_pipeline_table_entry),
-                       .offset = 32,
+                       .offset = APP_METADATA_OFFSET(32),
                };
 
                struct rte_pipeline_table_params table_params = {