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/validation/api/ipsec/ipsec.c  | 2 +-
 test/validation/api/pktio/parser.c | 2 +-
 test/validation/api/pktio/pktio.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/validation/api/ipsec/ipsec.c 
b/test/validation/api/ipsec/ipsec.c
index 097216730..9d263dfcd 100644
--- a/test/validation/api/ipsec/ipsec.c
+++ b/test/validation/api/ipsec/ipsec.c
@@ -84,7 +84,7 @@ static int pktio_start(odp_pktio_t pktio, odp_bool_t in, 
odp_bool_t out)
                return 0;
 
        odp_pktio_config_init(&config);
-       config.parser.layer = ODP_PKTIO_PARSER_LAYER_ALL;
+       config.parser.layer = ODP_PROTO_LAYER_ALL;
        config.inbound_ipsec = in;
        config.outbound_ipsec = out;
 
diff --git a/test/validation/api/pktio/parser.c 
b/test/validation/api/pktio/parser.c
index 66e726d09..1788d4d64 100644
--- a/test/validation/api/pktio/parser.c
+++ b/test/validation/api/pktio/parser.c
@@ -122,7 +122,7 @@ static odp_pktio_t create_pktio(int iface_idx, odp_pool_t 
pool)
        }
 
        odp_pktio_config_init(&config);
-       config.parser.layer = ODP_PKTIO_PARSER_LAYER_ALL;
+       config.parser.layer = ODP_PROTO_LAYER_ALL;
        if (odp_pktio_config(pktio, &config)) {
                printf("Error:  failed to configure %s\n", iface);
                return ODP_PKTIO_INVALID;
diff --git a/test/validation/api/pktio/pktio.c 
b/test/validation/api/pktio/pktio.c
index 39451de3b..a6820a1de 100644
--- a/test/validation/api/pktio/pktio.c
+++ b/test/validation/api/pktio/pktio.c
@@ -1230,7 +1230,7 @@ void pktio_test_pktio_config(void)
 
        odp_pktio_config_init(&config);
 
-       CU_ASSERT(config.parser.layer == ODP_PKTIO_PARSER_LAYER_ALL);
+       CU_ASSERT(config.parser.layer == ODP_PROTO_LAYER_ALL);
 
        CU_ASSERT(odp_pktio_config(pktio, NULL) == 0);
 

Reply via email to