diff mbox series

[API-NEXT,v2,3/5] validation: use odp_proto_layer_t instead of odp_pktio_parser_layer_t

Message ID 1513177217-8215-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [API-NEXT,v2,1/5] api: pktio: start switching to using odp_proto_layer_t | expand

Commit Message

Github ODP bot Dec. 13, 2017, 3 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@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: d96a8207591fbcaac25b79286d7d72a537354c1f
 ** Merge commit sha: 7427c77cd44f5de84a2788e6d7d0cefaf146f479
 **/
 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 mbox series

Patch

diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c
index 7b39c2c5a..b99bee94e 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);