From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
/** Email created from pull request 338 (lumag:pktio_parse_layer)
 ** https://github.com/Linaro/odp/pull/338
 ** Patch: https://github.com/Linaro/odp/pull/338.patch
 ** Base sha: 12fd3a9224a856271934986a1bad981843915d68
 ** Merge commit sha: f11c958e9552610bd1305f996e17c6b79a209a7e
 **/
 test/performance/odp_l2fwd.c         | 4 ++--
 test/performance/odp_pktio_ordered.c | 2 +-
 test/performance/odp_pktio_perf.c    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index 0ebb0dd17..27b299399 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -737,8 +737,8 @@ static int create_pktio(const char *dev, int idx, int 
num_rx, int num_tx,
 
        odp_pktio_config_init(&config);
        config.parser.layer = gbl_args->appl.extra_check ?
-                       ODP_PKTIO_PARSER_LAYER_ALL :
-                       ODP_PKTIO_PARSER_LAYER_NONE;
+                       ODP_PROTO_LAYER_ALL :
+                       ODP_PROTO_LAYER_NONE;
 
        if (gbl_args->appl.chksum) {
                printf("Checksum offload enabled\n");
diff --git a/test/performance/odp_pktio_ordered.c 
b/test/performance/odp_pktio_ordered.c
index ed4e2e8e4..2248eb2fd 100644
--- a/test/performance/odp_pktio_ordered.c
+++ b/test/performance/odp_pktio_ordered.c
@@ -618,7 +618,7 @@ static int create_pktio(const char *dev, int idx, int 
num_rx, int num_tx,
        }
 
        odp_pktio_config_init(&config);
-       config.parser.layer = ODP_PKTIO_PARSER_LAYER_L2;
+       config.parser.layer = ODP_PROTO_LAYER_L2;
        odp_pktio_config(pktio, &config);
 
        odp_pktin_queue_param_init(&pktin_param);
diff --git a/test/performance/odp_pktio_perf.c 
b/test/performance/odp_pktio_perf.c
index a4599de62..4c09b12e4 100644
--- a/test/performance/odp_pktio_perf.c
+++ b/test/performance/odp_pktio_perf.c
@@ -797,7 +797,7 @@ static int test_init(void)
         * affects scalability.
         */
        odp_pktio_config_init(&cfg);
-       cfg.parser.layer = ODP_PKTIO_PARSER_LAYER_NONE;
+       cfg.parser.layer = ODP_PROTO_LAYER_NONE;
        odp_pktio_config(gbl_args->pktio_rx, &cfg);
 
        if (gbl_args->args.num_ifaces > 1) {

Reply via email to