aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2023-01-13 17:17:37 +0200
committerMatias Elo <matias.elo@nokia.com>2023-04-12 13:38:07 +0300
commit55529edc5a4a0cb2ff55ec25df97e919084d1c4c (patch)
treefd9abcd8eb9cbe2ffd24eb0c2ba5050cfe61073a /include
parentc4128321423e7774190f7f5e65e0650ff64f6ca5 (diff)
api: pktio: allow default CoS to be removed
Allow the default CoS to be removed by passing ODP_COS_INVALID to odp_pktio_default_cos_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/packet_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h
index e1cf1d675..e49692b58 100644
--- a/include/odp/api/spec/packet_io.h
+++ b/include/odp/api/spec/packet_io.h
@@ -663,8 +663,8 @@ int odp_pktio_mac_addr_set(odp_pktio_t pktio, const void *mac_addr,
*
* @param pktio Ingress port pktio handle.
* @param default_cos Class-of-service set to all packets arriving at this
- * ingress port, unless overridden by subsequent
- * header-based filters.
+ * ingress port. Use ODP_COS_INVALID to remove the default
+ * CoS.
*
* @retval 0 on success
* @retval <0 on failure