Soft Patch Panel
 help / color / mirror / Atom feed
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
To: x-fn-spp@sl.ntt-tx.co.jp
Cc: ferruh.yigit@intel.com, spp@dpdk.org
Subject: Re: [spp] [PATCH 1/1] docs: add core sharing usage in spp_vf command ref
Date: Wed, 13 Feb 2019 16:23:58 +0900	[thread overview]
Message-ID: <72ebeabc-a48c-e7de-365d-f3678fca9dc0@lab.ntt.co.jp> (raw)
In-Reply-To: <201902080451.x184pi5d029831@imss04.silk.ntt-tx.co.jp>

On 2019/02/08 13:51, x-fn-spp@sl.ntt-tx.co.jp wrote:
> From: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> 
> This patch adds how to assign more than one component on the same core
> in component command of spp_vf into command reference.
> 
> This patch also fixes typos.

Applied, thanks.
> 
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
> ---
>   docs/guides/commands/secondary/spp_vf.rst | 23 +++++++++++++++++------
>   1 file changed, 17 insertions(+), 6 deletions(-)
> 
> diff --git a/docs/guides/commands/secondary/spp_vf.rst b/docs/guides/commands/secondary/spp_vf.rst
> index 3cf1cca..6f1824b 100644
> --- a/docs/guides/commands/secondary/spp_vf.rst
> +++ b/docs/guides/commands/secondary/spp_vf.rst
> @@ -6,7 +6,7 @@
>   spp_vf
>   ======
>   
> -``spp_vf`` is a kind of SPP secondary process. It it introduced for
> +``spp_vf`` is a kind of SPP secondary process. It is introduced for
>   providing SR-IOV like features.
>   
>   Each of ``spp_vf`` processes is managed with ``vf`` command. It is for
> @@ -136,7 +136,7 @@ assigned to this thread.
>   ``Components`` is a list of all of worker threads. Each of workers has a
>   core ID running on, type of the worker and a list of resources.
>   Entry of no name with ``unuse`` type means that no worker thread assigned to
> -the core. In other words, it is ready to be assinged.
> +the core. In other words, it is ready to be assigned.
>   
>   
>   .. _commands_spp_vf_component:
> @@ -144,7 +144,7 @@ the core. In other words, it is ready to be assinged.
>   component
>   ---------
>   
> -Assing or release a role of forwarding to worker threads running on each of
> +Assign or release a role of forwarding to worker threads running on each of
>   cores which are reserved with ``-c`` or ``-l`` option while launching
>   ``spp_vf``. The role of the worker is chosen from ``forward``, ``merge`` or
>   ``classifier_mac``.
> @@ -165,7 +165,7 @@ This name is also used while releasing the role.
>       # release worker 'NAME' from the role
>       spp > vf SEC_ID; component stop NAME
>   
> -Here is some examples of assigning roles with ``component`` command.
> +Here are some examples of assigning roles with ``component`` command.
>   
>   .. code-block:: console
>   
> @@ -178,7 +178,18 @@ Here is some examples of assigning roles with ``component`` command.
>       # assign 'classifier_mac' role with name 'cls1' on core 4
>       spp > vf 2; component start cls1 4 classifier_mac
>   
> -Or examples of releasing roles.
> +In the above examples, each different ``CORE-ID`` is specified to each role.
> +You can assign several components on the same core, but performance might be
> +decreased. This is an example for assigning two roles of ``forward`` and
> +``merge`` on the same ``core 2``.
> +
> +.. code-block:: console
> +
> +    # assign two roles on the same 'core 2'.
> +    spp > vf 2; component start fw1 2 forward
> +    spp > vf 2; component start mgr1 2 merge
> +
> +Examples of releasing roles.
>   
>   .. code-block:: console
>   
> @@ -340,7 +351,7 @@ Here is an example for adding entries.
>       # add entry of default with VLAN tag
>       spp > vf 1; classifier_table add vlan 101 default ring:1
>   
> -Delete an entryThis is an example to delete an entry for port ``ring:0``.
> +Delete an entry. This is an example to delete an entry with VLAN tag 101.
>   
>   .. code-block:: console
>   
> 


-- 
Yasufumi Ogawa
NTT Network Service Systems Labs

      reply	other threads:[~2019-02-13  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08  4:51 x-fn-spp
2019-02-13  7:23 ` Yasufumi Ogawa [this message]

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=72ebeabc-a48c-e7de-365d-f3678fca9dc0@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=spp@dpdk.org \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    /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).