aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2023-01-23 11:28:20 +0200
committerMatias Elo <matias.elo@nokia.com>2023-04-12 13:38:07 +0300
commit78a78044c45740e7c915e7201143fa009decda88 (patch)
tree8328e6b56b2add7a0843575736f3761fcb3428df /include
parent5e81062dda925f18df79f24a9d15133b05379e51 (diff)
api: cls: clarify that odp_cos_queue() returns ODP_QUEUE_INVALID if the queue is not set
Clarify that odp_cos_queue() returns ODP_QUEUE_INVALID if the queue is not set. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/classification.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h
index b224d0455..723509fd5 100644
--- a/include/odp/api/spec/classification.h
+++ b/include/odp/api/spec/classification.h
@@ -780,7 +780,7 @@ int odp_cos_queue_set(odp_cos_t cos, odp_queue_t queue);
* @param cos CoS handle
*
* @retval Queue handle associated with the given class-of-service
-* @retval ODP_QUEUE_INVALID on failure
+* @retval ODP_QUEUE_INVALID on failure, or if the queue has not been set
*/
odp_queue_t odp_cos_queue(odp_cos_t cos);