diff mbox series

[API-NEXT,v3,4/5] performance: use odp_proto_layer_t instead of odp_pktio_parser_layer_t

Message ID 1513702859-14312-5-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v3,1/5] api: pktio: start switching to using odp_proto_layer_t | expand

Commit Message

Github ODP bot Dec. 19, 2017, 5 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: 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 mbox series

Patch

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) {