diff mbox

[API-NEXT,PATCHv2,2/4] example: classifier: queue and drop policy API name change

Message ID 1439295042-24381-3-git-send-email-bala.manoharan@linaro.org
State Accepted
Commit 07a4160220348661aa33c8aeac9bc95080b4646e
Headers show

Commit Message

Balasubramanian Manoharan Aug. 11, 2015, 12:10 p.m. UTC
API name change from odp_cos_set_queue() to odp_cos_queue_set()

Fixes: https://bugs.linaro.org/show_bug.cgi?id=1711

Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>
---
 example/classifier/odp_classifier.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c
index 3a16279..c7c650b 100644
--- a/example/classifier/odp_classifier.c
+++ b/example/classifier/odp_classifier.c
@@ -329,7 +329,7 @@  static void configure_default_queue(odp_pktio_t pktio, appl_args_t *args)
 	queue_default = odp_queue_create(queue_name,
 			ODP_QUEUE_TYPE_SCHED, &qparam);
 
-	odp_cos_set_queue(cos_default, queue_default);
+	odp_cos_queue_set(cos_default, queue_default);
 	odp_pktio_default_cos_set(pktio, cos_default);
 	stats[args->policy_count].cos = cos_default;
 	/* add default queue to global stats */
@@ -364,7 +364,7 @@  static void configure_cos_queue(odp_pktio_t pktio, appl_args_t *args)
 		stats->queue = odp_queue_create(queue_name,
 						 ODP_QUEUE_TYPE_SCHED,
 						 &qparam);
-		odp_cos_set_queue(stats->cos, stats->queue);
+		odp_cos_queue_set(stats->cos, stats->queue);
 		odp_pktio_pmr_cos(stats->pmr, pktio, stats->cos);
 
 		odp_atomic_init_u64(&stats->packet_count, 0);