display testpmd forwarding engine stats on the fly
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 2 repliesIn review
- v44 patches 11 repliesSuperseded
- v34 patches 8 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 4 replies | Applied | |
| v1 | 5 patches | 21 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | app/testpmd: add missing newline when showing statisticsapp/ | +2 | 1 reply | |
| 2/4 | app/testpmd: extend fwd statistics to 64bitsapp/ app/ | +23 | 0 replies | |
| 3/4 | app/testpmd: remove useless casts on statisticsapp/ | +4 | 0 replies | |
| 4/4 | app/testpmd: display/clear forwarding stats on demandapp/ app/ app/ +1 more | +310 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Rybchenko | Maxime Coquelin | Ferruh Yigit |
|---|---|---|---|
| Series | R-b | ||
| 1/4 | R-b | ||
| 2/4 | R-b | R-b | |
| 3/4 | R-b | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v5 0/4] display testpmd forwarding engine stats on the fly
Here is a little series that makes it possible to display and clear testpmd fwd engines while they run without having to stop them. This is mostly handy when running stress tests and you look for packets drops without having to stop/start testpmd forwarding.
Example:
testpmd> show fwd stats all
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 261977064 TX-packets: 261977064 TX-dropped: 0
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 261985142 TX-packets: 261985142 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 261977096 RX-dropped: 0 RX-total: 261977096 TX-packets: 261985155 TX-dropped: 0 TX-total: 261985155
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 261985188 RX-dropped: 0 RX-total: 261985188 TX-packets: 261977128 TX-dropped: 0 TX-total: 261977128
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 523962284 RX-dropped: 0 RX-total: 523962284 TX-packets: 523962283 TX-dropped: 0 TX-total: 523962283
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
testpmd> show fwd stats all
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0 -------
RX-packets: 274293770 TX-packets: 274293642 TX-dropped: 128
------- Forward Stats for RX Port= 1/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 274301850 TX-packets: 274301850 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 274293802 RX-dropped: 0 RX-total: 274293802 TX-packets: 274301862 TX-dropped: 0 TX-total: 274301862
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 274301894 RX-dropped: 0 RX-total: 274301894 TX-packets: 274293706 TX-dropped: 128 TX-total: 274293834
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 548595696 RX-dropped: 0 RX-total: 548595696 TX-packets: 548595568 TX-dropped: 128 TX-total: 548595696
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Signature · 33 lines
David Marchand --- Changelog since v4: - take csum engine output into account in patch 1 (Andrew comment) Changelog since v3: - updated patch 4 following Ferruh comments Changelog since v2: - first patch has been merged in net-next, removed from the series - split patch (numbered 3 in v2) in two following Andrew comment Changelog since v1: - Cc: stable for patch 1 - removed buggy patch 3 --- David Marchand (4): app/testpmd: add missing newline when showing statistics app/testpmd: extend fwd statistics to 64bits app/testpmd: remove useless casts on statistics app/testpmd: display/clear forwarding stats on demand app/test-pmd/cmdline.c | 49 +++ app/test-pmd/testpmd.c | 452 ++++++++++++++-------------- app/test-pmd/testpmd.h | 21 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 36 +++ 4 files changed, 322 insertions(+), 236 deletions(-) -- 1.8.3.1