[PATCH v5 43/54] doc: correct grammar in pdump library guide
Stephen Hemminger
stephen at networkplumber.org
Sun Jan 18 20:10:46 CET 2026
Correct various grammar issues in the pdump library documentation:
- fix "both...or" to "both...and"
- fix "maybe" to "may be" (two separate words)
- add missing article "the" before "application"
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
doc/guides/prog_guide/pdump_lib.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/guides/prog_guide/pdump_lib.rst b/doc/guides/prog_guide/pdump_lib.rst
index 5bacb49ffc..d27385fef1 100644
--- a/doc/guides/prog_guide/pdump_lib.rst
+++ b/doc/guides/prog_guide/pdump_lib.rst
@@ -7,7 +7,7 @@ Packet Capture Library
The DPDK ``pdump`` library provides a framework
for capturing packets within DPDK applications.
It enables a **secondary process** to monitor packets
-being processed by both **primary** or **secondary** processes.
+being processed by both **primary** and **secondary** processes.
Overview
@@ -76,7 +76,7 @@ The library exposes API for:
.. function:: int rte_pdump_stats(uint16_t port_id, struct rte_dump_stats *stats)
Reports the number of packets captured, filtered, and missed.
- Packets maybe missed due to mbuf pool being exhausted or the ring being full.
+ Packets may be missed due to mbuf pool being exhausted or the ring being full.
Operation
@@ -128,7 +128,7 @@ What is the performance impact of pdump?
What happens if process does not call pdump init?
- If application does not call ``rte_pdump_init``
+ If the application does not call ``rte_pdump_init``
then the request to enable (in the capture command)
will timeout and an error is returned.
--
2.51.0
More information about the dev
mailing list