diff mbox series

[3/5] api: tm: add additional doxygen documentation

Message ID 1492639961-2339-3-git-send-email-bill.fischofer@linaro.org
State Superseded
Headers show
Series [1/5] api: classification: add additional doxygen documentation | expand

Commit Message

Bill Fischofer April 19, 2017, 10:12 p.m. UTC
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2952 by adding
additional field documentation to avoid problems with doxygen 1.8.13
and higher.

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>

---
 include/odp/api/spec/traffic_mngr.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.11.0
diff mbox series

Patch

diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index 71198bbd..3a748cef 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -471,9 +471,10 @@  typedef enum {
 typedef struct {
 	odp_tm_egress_kind_t egress_kind; /**< Union discriminator */
 
+	/** Variant parameters for different TM outputs */
 	union {
-		odp_pktio_t pktio;
-		odp_tm_egress_fcn_t egress_fcn;
+		odp_pktio_t pktio;              /**< Output to PktIO */
+		odp_tm_egress_fcn_t egress_fcn; /**< Output to user func */
 	};
 } odp_tm_egress_t;