X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Fl3_forward_power_man.rst;h=ea9c404d80805acc934911e6eb954b8d765f4b83;hb=8526571400ff2d81b6d9f93873bb706b7d6dcb39;hp=20e4be7e720382d0279d3a9a8b73c22b5cb8bd94;hpb=e0c7c47319576799f5affced83caf776ea4de61b;p=dpdk.git diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst b/doc/guides/sample_app_ug/l3_forward_power_man.rst index 20e4be7e72..ea9c404d80 100644 --- a/doc/guides/sample_app_ug/l3_forward_power_man.rst +++ b/doc/guides/sample_app_ug/l3_forward_power_man.rst @@ -43,8 +43,7 @@ Overview -------- The application demonstrates the use of the Power libraries in the DPDK to implement packet forwarding. -The initialization and run-time paths are very similar to those of the L3 forwarding sample application -(see Chapter 10 "L3 Forwarding Sample Application" for more information). +The initialization and run-time paths are very similar to those of the :doc:`l3_forward`. The main difference from the L3 Forwarding sample application is that this application introduces power-aware optimization algorithms by leveraging the Power library to control P-state and C-state of processor based on packet load. @@ -111,7 +110,8 @@ To compile the application: .. code-block:: console - export RTE_SDK=/path/to/rte_sdk cd ${RTE_SDK}/examples/l3fwd-power + export RTE_SDK=/path/to/rte_sdk + cd ${RTE_SDK}/examples/l3fwd-power #. Set the target (a default target is used if not specified). For example: @@ -151,7 +151,7 @@ where, * --no-numa: optional, disables numa awareness -See Chapter 10 "L3 Forwarding Sample Application" for details. +See :doc:`l3_forward` for details. The L3fwd-power example reuses the L3fwd command line options. Explanation @@ -341,7 +341,7 @@ to generate hints based on recent network load trends. */ rte_delay_us(lcore_idle_hint); else - /* long sleep force runing thread to suspend */ + /* long sleep force ruining thread to suspend */ usleep(lcore_idle_hint); stats[lcore_id].sleep_time += lcore_idle_hint;