[dpdk-dev] [PATCH v8 4/4] doc/guides/sample_app_ug/l3_forward_power_man.rst: empty poll update
Kovacevic, Marko
marko.kovacevic at intel.com
Tue Sep 25 15:20:54 CEST 2018
> Add empty poll mode command line example
>
> Signed-off-by: Liang Ma <liang.j.ma at intel.com>
> ---
> doc/guides/sample_app_ug/l3_forward_power_man.rst | 29
> +++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> +Empty Poll Mode
> +-------------------------
> +There is a new Mode which is added recently. Empty poll mode can be
> +enabled by command option --empty-poll.
> +
> +See "Power Management" chapter in the DPDK Programmer's Guide for
> empty poll mode details.
Can you embed the link to the Power Management chapter
:doc:`Power Management<../prog_guide/power_man>`
> +.. code-block:: console
> +
> + ./l3fwd-power -l xxx -n 4 -w 0000:xx:00.0 -w 0000:xx:00.1 -- -p 0x3 -P --
> config="(0,0,xx),(1,0,xx)" --empty-poll="0,0,0" -l 14 -m 9 -h 1
> +
> +Where,
> +
> +--empty-poll: Enable the empty poll mode instead of original algorithm
> +
> +--empty-poll="training_flag, med_threshold, high_threshold"
> +
> +* training_flag : optional, enable/disable training mode. Default value is 0.
> +
> +* med_threshold : optional, indicate the empty poll threshold of modest
> state which is customized by user. Default value is 0.
> +
> +* high_threshold : optional, indicate the empty poll threshold of busy state
> which is customized by user. Default value is 0.
> +
> +* -l : optional, set up the LOW power state frequency index
> +
> +* -m : optional, set up the MED power state frequency index
> +
> +* -h : optional, set up the HIGH power state frequency index
I think in this over all section needs a lot more explanation like what are valid training flags and how to get thresholds ect.
Also you could highlight the commands it looks better: ``training_flag``
Thanks,
Marko K
More information about the dev
mailing list