summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/l2_forward_cat.rst
diff options
context:
space:
mode:
authorKeith Wiles <keith.wiles@intel.com>2017-02-27 11:13:40 -0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-03-01 20:39:58 +0100
commit35b09d76f89e7d5a4f38a2926cf6915028ed1e56 (patch)
tree0fb89bd215f4c5549c156701143388107549a2d6 /doc/guides/sample_app_ug/l2_forward_cat.rst
parent048ed1d8284b0e91cd940a3edbd8f79861a6b997 (diff)
downloaddpdk-35b09d76f89e7d5a4f38a2926cf6915028ed1e56.zip
dpdk-35b09d76f89e7d5a4f38a2926cf6915028ed1e56.tar.gz
dpdk-35b09d76f89e7d5a4f38a2926cf6915028ed1e56.tar.xz
doc: use corelist instead of coremask
The coremask option in DPDK is difficult to use and we should be promoting the use of the corelist (-l) option. The patch adjusts the docs to use -l EAL option instead of the -c option. The patch only changes the docs and not the code as the -c option will continue to exist unless it is removed in the future. The -c option should be kept to maintain backward compatibility. Signed-off-by: Keith Wiles <keith.wiles@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
Diffstat (limited to 'doc/guides/sample_app_ug/l2_forward_cat.rst')
-rw-r--r--doc/guides/sample_app_ug/l2_forward_cat.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/guides/sample_app_ug/l2_forward_cat.rst b/doc/guides/sample_app_ug/l2_forward_cat.rst
index 285c3c7..b0c2e10 100644
--- a/doc/guides/sample_app_ug/l2_forward_cat.rst
+++ b/doc/guides/sample_app_ug/l2_forward_cat.rst
@@ -108,13 +108,13 @@ To run the example in a ``linuxapp`` environment and enable CAT on cpus 0-2:
.. code-block:: console
- ./build/l2fwd-cat -c 2 -n 4 -- --l3ca="0x3@(0-2)"
+ ./build/l2fwd-cat -l 1 -n 4 -- --l3ca="0x3@(0-2)"
or to enable CAT and CDP on cpus 1,3:
.. code-block:: console
- ./build/l2fwd-cat -c 2 -n 4 -- --l3ca="(0x00C00,0x00300)@(1,3)"
+ ./build/l2fwd-cat -l 1 -n 4 -- --l3ca="(0x00C00,0x00300)@(1,3)"
If CDP is not supported it will fail with following error message:
@@ -242,4 +242,4 @@ relevant CPUs via ``pqos_l3ca_assoc_set(...)`` calls.
``atexit(...)`` is used to register ``cat_exit(...)`` to be called on
a clean exit. ``cat_exit(...)`` performs a simple CAT clean-up, by associating
-COS 0 to all involved CPUs via ``pqos_l3ca_assoc_set(...)`` calls. \ No newline at end of file
+COS 0 to all involved CPUs via ``pqos_l3ca_assoc_set(...)`` calls.