aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAshwin Sekhar T K <asekhar@marvell.com>2020-10-19 14:15:56 +0530
committerMatias Elo <matias.elo@nokia.com>2020-11-02 13:33:21 +0200
commite4b71c5618b8121bffda43d03fd5944c6b1bf103 (patch)
tree329897582c6feebe755aeb2f8a1b1b13843c9d4f /include
parent603739117ed51d72f305e465fc70764f928026f4 (diff)
api: packet: fix doxygen for odp_packet_color_t
Fix doxygen syntax for odp_packet_color_t enum. Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/spec/packet.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h
index bf979ecf9..c977a7f35 100644
--- a/include/odp/api/spec/packet.h
+++ b/include/odp/api/spec/packet.h
@@ -50,25 +50,19 @@ extern "C" {
* Invalid packet segment
*/
- /**
- * @typedef odp_packet_color_t
- * Color of packet for shaper/drop processing
- */
-
- /**
- * @def ODP_PACKET_GREEN
- * Packet is green
- */
-
- /**
- * @def ODP_PACKET_YELLOW
- * Packet is yellow
- */
-
- /**
- * @def ODP_PACKET_RED
- * Packet is red
- */
+/**
+ * @enum odp_packet_color_t
+ * Color of packet for shaper/drop processing
+ *
+ * @var ODP_PACKET_GREEN
+ * Packet is green
+ *
+ * @var ODP_PACKET_YELLOW
+ * Packet is yellow
+ *
+ * @var ODP_PACKET_RED
+ * Packet is red
+ */
/**
* Maximum number of packet colors which accommodates ODP_PACKET_GREEN, ODP_PACKET_YELLOW and