diff mbox series

[API-NEXT,PATCHv3,3/6] api: pool: add additional doxygen documentation

Message ID 1492784725-31626-3-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 583dbc9adab460c926339353cc882095594b5b60
Headers show
Series [API-NEXT,PATCHv3,1/6] api: classification: add additional doxygen documentation | expand

Commit Message

Bill Fischofer April 21, 2017, 2:25 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/pool.h | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.11.0
diff mbox series

Patch

diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h
index c0de195a..6fc5b6b4 100644
--- a/include/odp/api/spec/pool.h
+++ b/include/odp/api/spec/pool.h
@@ -166,7 +166,9 @@  typedef struct odp_pool_param_t {
 	/** Pool type */
 	int type;
 
+	/** Variant parameters for different pool types */
 	union {
+		/** Parameters for buffer pools */
 		struct {
 			/** Number of buffers in the pool */
 			uint32_t num;
@@ -180,6 +182,8 @@  typedef struct odp_pool_param_t {
 			    Default will always be a multiple of 8. */
 			uint32_t align;
 		} buf;
+
+		/** Parameters for packet pools */
 		struct {
 			/** The number of packets that the pool must provide
 			    that are packet length 'len' bytes or smaller.
@@ -211,6 +215,8 @@  typedef struct odp_pool_param_t {
 			    Specify as 0 if no user area is needed. */
 			uint32_t uarea_size;
 		} pkt;
+
+		/** Parameters for timeout pools */
 		struct {
 			/** Number of timeouts in the pool */
 			uint32_t num;