[PATCH] doc: add testpmd latencystats option

Ferruh Yigit ferruh.yigit at amd.com
Wed Jan 10 19:11:54 CET 2024


On 1/9/2024 11:08 PM, Stephen Hemminger wrote:
> Option was added but never added to documentation.
> 
> Fixes: 62d3216d6194 ("app/testpmd: add latency statistics calculation")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  doc/guides/testpmd_app_ug/run_app.rst | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst
> index 24a086401ee7..e149373cd235 100644
> --- a/doc/guides/testpmd_app_ug/run_app.rst
> +++ b/doc/guides/testpmd_app_ug/run_app.rst
> @@ -422,6 +422,10 @@ The command line options are:
>  
>      Set the logical core N to perform bitrate calculation.
>  
> +*   ``--latencystats=N``
> +
> +    Set the logical core N to perform latency calculation.
> +
>

Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>

Applied to dpdk-next-net/main, thanks.


Help output also mentions from jitter calculation [1] and jitter is
actually calculated, so changed document as following while merging:

"Set the logical core N to perform latency and jitter calculations."


[1]
In 'app/test-pmd/parameters.c', help documents as following:
  "  --latencystats=N: enable latency and jitter statistics monitoring
on forwarding lcore id N."




More information about the dev mailing list