From: Keith Wiles <keith.wiles@intel.com>
To: dev@dpdk.org
Cc: iryzhov@nfware.com
Subject: [dpdk-dev] [PATCH v2 03/11] doc/freebsd: use corelist instead of coremask
Date: Thu, 9 Feb 2017 17:42:25 -0600 [thread overview]
Message-ID: <20170209234233.63333-4-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/freebsd_gsg/build_sample_apps.rst | 9 +++++----
doc/guides/freebsd_gsg/install_from_ports.rst | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg/build_sample_apps.rst
index fffc4c0..3c1b672 100644
--- a/doc/guides/freebsd_gsg/build_sample_apps.rst
+++ b/doc/guides/freebsd_gsg/build_sample_apps.rst
@@ -130,9 +130,10 @@ The following is the list of options that can be given to the EAL:
The EAL options for FreeBSD are as follows:
-* ``-c COREMASK``:
+* ``-c COREMASK`` or ``-l CORELIST``:
A hexadecimal bit mask of the cores to run on. Note that core numbering
- can change between platforms and should be determined beforehand.
+ can change between platforms and should be determined beforehand. The corelist
+ is a list of cores to use instead of a core mask.
* ``-n NUM``:
Number of memory channels per processor socket.
@@ -169,13 +170,13 @@ Other options, specific to Linux and are not supported under FreeBSD are as foll
Memory to allocate from hugepages, regardless of processor socket.
It is recommended that ``--socket-mem`` be used instead of this option.
-The ``-c`` option is mandatory; the others are optional.
+The ``-c`` or ``-l`` option is mandatory; the others are optional.
Copy the DPDK application binary to your target, then run the application
as follows (assuming the platform has four memory channels, and that cores 0-3
are present and are to be used for running the application)::
- ./helloworld -c f -n 4
+ ./helloworld -l 0-3 -n 4
.. note::
diff --git a/doc/guides/freebsd_gsg/install_from_ports.rst b/doc/guides/freebsd_gsg/install_from_ports.rst
index 8177029..67e63d2 100644
--- a/doc/guides/freebsd_gsg/install_from_ports.rst
+++ b/doc/guides/freebsd_gsg/install_from_ports.rst
@@ -111,7 +111,7 @@ compiled and run as below:
INSTALL-APP helloworld
INSTALL-MAP helloworld.map
- sudo ./build/helloworld -c F -n 2
+ sudo ./build/helloworld -l 0-3 -n 2
EAL: Contigmem driver has 2 buffers, each of size 1GB
EAL: Sysctl reports 8 cpus
--
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 [dpdk-dev] [PATCH 00/11] moving away from coremask to corelist Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 01/11] doc/cryptodev: use corelist instead of coremask Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 02/11] doc/faq: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 03/11] doc/freebsd: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [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 ` [dpdk-dev] [PATCH 05/11] doc/linux: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 06/11] doc/nics: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 07/11] doc/prog_guide: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 08/11] doc/testpmd: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 09/11] doc/cryptoperf: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 10/11] doc/xen: " Keith Wiles
2017-02-09 18:14 ` [dpdk-dev] [PATCH 11/11] doc/sample_app: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [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 ` [dpdk-dev] [PATCH v2 01/11] doc/cryptodev: use corelist instead of coremask Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 02/11] doc/faq: " Keith Wiles
2017-02-09 23:42 ` Keith Wiles [this message]
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 04/11] doc/howto: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 05/11] doc/linux: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 06/11] doc/nics: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 07/11] doc/prog_guide: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 08/11] doc/testpmd: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 09/11] doc/cryptoperf: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 10/11] doc/xen: " Keith Wiles
2017-02-09 23:42 ` [dpdk-dev] [PATCH v2 11/11] doc/sample_app: " Keith Wiles
2017-02-10 14:01 ` [dpdk-dev] [PATCH v3] doc: " Keith Wiles
2017-02-21 15:53 ` Mcnamara, John
2017-02-21 17:38 ` [dpdk-dev] [PATCH v4] " Keith Wiles
2017-02-22 10:20 ` Mcnamara, John
2017-02-27 19:13 ` [dpdk-dev] [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-4-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).