From: Keith Wiles <keith.wiles@intel.com>
To: dev@dpdk.org
Cc: iryzhov@nfware.com
Subject: [PATCH v2 07/11] doc/prog_guide: use corelist instead of coremask
Date: Thu, 9 Feb 2017 17:42:29 -0600 [thread overview]
Message-ID: <20170209234233.63333-8-keith.wiles@intel.com> (raw)
In-Reply-To: <20170209234233.63333-1-keith.wiles@intel.com>
In-Reply-To: <20170209181450.58466-1-keith.wiles@intel.com>
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
---
doc/guides/prog_guide/kernel_nic_interface.rst | 2 +-
doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 10 +++++-----
doc/guides/prog_guide/multi_proc_support.rst | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/guides/prog_guide/kernel_nic_interface.rst b/doc/guides/prog_guide/kernel_nic_interface.rst
index eb16e2e..75a359e 100644
--- a/doc/guides/prog_guide/kernel_nic_interface.rst
+++ b/doc/guides/prog_guide/kernel_nic_interface.rst
@@ -241,7 +241,7 @@ Of course, as a prerequisite, the vhost/vhost-net kernel CONFIG should be chosen
.. code-block:: console
- examples/kni/build/app/kni -c -0xf0 -n 4 -- -p 0x3 -P --config="(0,4,6),(1,5,7)"
+ examples/kni/build/app/kni -l 4-7 -n 4 -- -p 0x3 -P --config="(0,4,6),(1,5,7)"
This command runs the kni sample application with two physical ports.
Each port pins two forwarding cores (ingress/egress) in user space.
diff --git a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
index 65813c9..48d88df 100644
--- a/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
+++ b/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst
@@ -365,7 +365,7 @@ Device names and bonding options must be separated by commas as shown below:
.. code-block:: console
- $RTE_TARGET/app/testpmd -c f -n 4 --vdev 'net_bond0,bond_opt0=..,bond opt1=..'--vdev 'net_bond1,bond _opt0=..,bond_opt1=..'
+ $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bond0,bond_opt0=..,bond opt1=..'--vdev 'net_bond1,bond _opt0=..,bond_opt1=..'
Link Bonding EAL Options
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -465,22 +465,22 @@ Create a bonded device in round robin mode with two slaves specified by their PC
.. code-block:: console
- $RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev 'net_bond0,mode=0, slave=0000:00a:00.01,slave=0000:004:00.00' -- --port-topology=chained
+ $RTE_TARGET/app/testpmd -l 0-3' -n 4 --vdev 'net_bond0,mode=0, slave=0000:00a:00.01,slave=0000:004:00.00' -- --port-topology=chained
Create a bonded device in round robin mode with two slaves specified by their PCI address and an overriding MAC address:
.. code-block:: console
- $RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev 'net_bond0,mode=0, slave=0000:00a:00.01,slave=0000:004:00.00,mac=00:1e:67:1d:fd:1d' -- --port-topology=chained
+ $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bond0,mode=0, slave=0000:00a:00.01,slave=0000:004:00.00,mac=00:1e:67:1d:fd:1d' -- --port-topology=chained
Create a bonded device in active backup mode with two slaves specified, and a primary slave specified by their PCI addresses:
.. code-block:: console
- $RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev 'net_bond0,mode=1, slave=0000:00a:00.01,slave=0000:004:00.00,primary=0000:00a:00.01' -- --port-topology=chained
+ $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bond0,mode=1, slave=0000:00a:00.01,slave=0000:004:00.00,primary=0000:00a:00.01' -- --port-topology=chained
Create a bonded device in balance mode with two slaves specified by their PCI addresses, and a transmission policy of layer 3 + 4 forwarding:
.. code-block:: console
- $RTE_TARGET/app/testpmd -c '0xf' -n 4 --vdev 'net_bond0,mode=2, slave=0000:00a:00.01,slave=0000:004:00.00,xmit_policy=l34' -- --port-topology=chained
+ $RTE_TARGET/app/testpmd -l 0-3 -n 4 --vdev 'net_bond0,mode=2, slave=0000:00a:00.01,slave=0000:004:00.00,xmit_policy=l34' -- --port-topology=chained
diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst
index 2a996ae..9a9dca7 100644
--- a/doc/guides/prog_guide/multi_proc_support.rst
+++ b/doc/guides/prog_guide/multi_proc_support.rst
@@ -173,7 +173,7 @@ Some of these are documented below:
so it is recommended that it be disabled only when absolutely necessary,
and only when the implications of this change have been understood.
-* All DPDK processes running as a single application and using shared memory must have distinct coremask arguments.
+* All DPDK processes running as a single application and using shared memory must have distinct coremask/corelist arguments.
It is not possible to have a primary and secondary instance, or two secondary instances,
using any of the same logical cores.
Attempting to do so can cause corruption of memory pool caches, among other issues.
--
2.8.0.GIT
next prev parent reply other threads:[~2017-02-09 23:42 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 18:14 [PATCH 00/11] moving away from coremask to corelist Keith Wiles
2017-02-09 18:14 ` [PATCH 01/11] doc/cryptodev: use corelist instead of coremask Keith Wiles
2017-02-09 18:14 ` [PATCH 02/11] doc/faq: " Keith Wiles
2017-02-09 18:14 ` [PATCH 03/11] doc/freebsd: " Keith Wiles
2017-02-09 18:14 ` [PATCH 04/11] doc/howto: " Keith Wiles
2017-02-09 23:00 ` Igor Ryzhov
2017-02-09 23:20 ` Wiles, Keith
2017-02-09 18:14 ` [PATCH 05/11] doc/linux: " Keith Wiles
2017-02-09 18:14 ` [PATCH 06/11] doc/nics: " Keith Wiles
2017-02-09 18:14 ` [PATCH 07/11] doc/prog_guide: " Keith Wiles
2017-02-09 18:14 ` [PATCH 08/11] doc/testpmd: " Keith Wiles
2017-02-09 18:14 ` [PATCH 09/11] doc/cryptoperf: " Keith Wiles
2017-02-09 18:14 ` [PATCH 10/11] doc/xen: " Keith Wiles
2017-02-09 18:14 ` [PATCH 11/11] doc/sample_app: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 00/11] moving away from coremask to corelist Keith Wiles
2017-02-10 8:46 ` Thomas Monjalon
2017-02-10 13:47 ` Wiles, Keith
2017-02-09 23:42 ` [PATCH v2 01/11] doc/cryptodev: use corelist instead of coremask Keith Wiles
2017-02-09 23:42 ` [PATCH v2 02/11] doc/faq: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 03/11] doc/freebsd: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 04/11] doc/howto: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 05/11] doc/linux: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 06/11] doc/nics: " Keith Wiles
2017-02-09 23:42 ` Keith Wiles [this message]
2017-02-09 23:42 ` [PATCH v2 08/11] doc/testpmd: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 09/11] doc/cryptoperf: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 10/11] doc/xen: " Keith Wiles
2017-02-09 23:42 ` [PATCH v2 11/11] doc/sample_app: " Keith Wiles
2017-02-10 14:01 ` [PATCH v3] doc: " Keith Wiles
2017-02-21 15:53 ` Mcnamara, John
2017-02-21 17:38 ` [PATCH v4] " Keith Wiles
2017-02-22 10:20 ` Mcnamara, John
2017-02-27 19:13 ` [PATCH v5] " Keith Wiles
2017-02-28 17:14 ` Mcnamara, John
2017-03-01 19:40 ` Thomas Monjalon
2017-03-01 20:03 ` Wiles, Keith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170209234233.63333-8-keith.wiles@intel.com \
--to=keith.wiles@intel.com \
--cc=dev@dpdk.org \
--cc=iryzhov@nfware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.