Skip to contentSkip to conversation

doc: add pdump library to API doxygen

PATCH In review Reshma Pattan 4 participants 5 messages Nov 15, 2016 – Dec 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add pdump library to API doxygen

Add pdump library to API doxygen.

---
 doc/api/doxy-api-index.md | 3 ++-
 doc/api/doxy-api.conf     | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
doc/api/doxy-api-index.md +2 -1
index 6675f96..492a0af 100644
@@ -140,7 +140,8 @@ There are many libraries, so their headers may be grouped by topics:
   [debug]              (@ref rte_debug.h),
   [log]                (@ref rte_log.h),
   [warnings]           (@ref rte_warnings.h),
-  [errno]              (@ref rte_errno.h)
+  [errno]              (@ref rte_errno.h),
+  [pdump]              (@ref rte_pdump.h)
 
 - **misc**:
   [EAL config]         (@ref rte_eal.h),
doc/api/doxy-api.conf +1 -0
index 9dc7ae5..b340fcf 100644
@@ -51,6 +51,7 @@ INPUT                   = doc/api/doxy-api-index.md \
                           lib/librte_mempool \
                           lib/librte_meter \
                           lib/librte_net \
+                          lib/librte_pdump \
                           lib/librte_pipeline \
                           lib/librte_port \
                           lib/librte_power \
Signature · 1 line
2.7.4
#1 lore raw

2016-11-15 14:41, Reshma Pattan:

doc/api/doxy-api-index.md There are many libraries, so their headers may be grouped by topics: · line 144

Quoted 9 lines
doc/api/doxy-api-index.md +2 -1
@@ -140,7 +140,8 @@ There are many libraries, so their headers may be grouped by topics:
   [debug]              (@ref rte_debug.h),
   [log]                (@ref rte_log.h),
   [warnings]           (@ref rte_warnings.h),
-  [errno]              (@ref rte_errno.h)
+  [errno]              (@ref rte_errno.h),
+  [pdump]              (@ref rte_pdump.h)

The end of this list are trivial headers, what pdump is not.
I think it should be at the top of the list, between jobstats and hexdump.

#2 lore raw

PATCH v2 1/1 doc: add pdump library to API doxygen

In reply to Reshma Pattan

From: Reshma Pattan <[email protected]>

Add pdump library to API doxygen.

---

v2:
* Move pdump higher position in the index

---
 doc/api/doxy-api-index.md | 1 +
 doc/api/doxy-api.conf     | 1 +
 2 files changed, 2 insertions(+)
doc/api/doxy-api-index.md +1 -0
index 6675f96..ed1a204 100644
@@ -136,6 +136,7 @@ There are many libraries, so their headers may be grouped by topics:
 
 - **debug**:
   [jobstats]           (@ref rte_jobstats.h),
+  [pdump]              (@ref rte_pdump.h),
   [hexdump]            (@ref rte_hexdump.h),
   [debug]              (@ref rte_debug.h),
   [log]                (@ref rte_log.h),
doc/api/doxy-api.conf +1 -0
index 9dc7ae5..b340fcf 100644
@@ -51,6 +51,7 @@ INPUT                   = doc/api/doxy-api-index.md \
                           lib/librte_mempool \
                           lib/librte_meter \
                           lib/librte_net \
+                          lib/librte_pdump \
                           lib/librte_pipeline \
                           lib/librte_port \
                           lib/librte_power \
Signature · 1 line
2.9.3
Acked-by on v2 1/1
#3 lore raw
Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ferruh Yigit
Sent: Thursday, December 1, 2016 11:02 AM
To: [email protected]
Cc: Pattan, Reshma <[email protected]>
Subject: [dpdk-dev] [PATCH v2] doc: add pdump library to API doxygen

Quoted 5 lines

From: Reshma Pattan <[email protected]>

Add pdump library to API doxygen.

#4 lore raw

2016-12-01 13:28, Mcnamara, John:

Quoted 8 lines
Quoted 8 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ferruh Yigit
Sent: Thursday, December 1, 2016 11:02 AM
To: [email protected]
Cc: Pattan, Reshma <[email protected]>
Subject: [dpdk-dev] [PATCH v2] doc: add pdump library to API doxygen

Quoted 7 lines
Quoted 5 lines

From: Reshma Pattan <[email protected]>

Add pdump library to API doxygen.

It triggers a doxygen error:
lib/librte_pdump/rte_pdump.h:204: warning: Found unknown command `\type' lib/librte_pdump/rte_pdump.h:214: warning: The following parameters of rte_pdump_set_socket_dir(const char *path, enum rte_pdump_socktype type) are not documented:
parameter 'type'

Fixed with this change:
- * @type
+ * @param type

Applied, thanks