diff mbox series

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

Message ID 1513177217-8215-5-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/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) {