Soft Patch Panel
 help / color / Atom feed
From: Yasufumi Ogawa <yasufum.o@gmail.com>
To: x-fn-spp@sl.ntt-tx.co.jp
Cc: ferruh.yigit@intel.com, Yasufumi Ogawa <yasufum.o@gmail.com>,
	spp@dpdk.org
Subject: Re: [spp] [PATCH] recipes: add rcps for spp_mirror
Date: Thu, 5 Sep 2019 12:12:54 +0900
Message-ID: <fb3b7236-eda0-8f07-ddf0-275b299c8421@gmail.com> (raw)
In-Reply-To: <201909050214.x852EY8j009881@imss04.silk.ntt-tx.co.jp>

On 2019/09/05 11:14, x-fn-spp@sl.ntt-tx.co.jp wrote:
> From: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> 
> This patch is to provide rcps for specific usecase "Duplicate Packets"
> of spp_mirror.
> 
> Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>
> Signed-off-by: Naoki Takada <ntakada14@gmail.com>
> Change-Id: I4d20465f2818ea962835c172795a8d1eb8bed877
Could you remove line "Change-Id" from this and remained two patches?

> ---
>   recipes/usecases/spp_mirror/duplicate/1_start_dup.rcps |  7 +++++++
>   recipes/usecases/spp_mirror/duplicate/2_stop_dup.rcps  | 10 ++++++++++
>   2 files changed, 17 insertions(+)
>   create mode 100644 recipes/usecases/spp_mirror/duplicate/1_start_dup.rcps
>   create mode 100644 recipes/usecases/spp_mirror/duplicate/2_stop_dup.rcps
> 
> diff --git a/recipes/usecases/spp_mirror/duplicate/1_start_dup.rcps b/recipes/usecases/spp_mirror/duplicate/1_start_dup.rcps
> new file mode 100644
> index 0000000..5549dd3
> --- /dev/null
> +++ b/recipes/usecases/spp_mirror/duplicate/1_start_dup.rcps
> @@ -0,0 +1,7 @@
> +# Start component
> +mirror 1; component start mir 2 mirror
> +
> +# Add ports
> +mirror 1; port add phy:0 rx mir
> +mirror 1; port add phy:1 tx mir
> +mirror 1; port add phy:2 tx mir
> diff --git a/recipes/usecases/spp_mirror/duplicate/2_stop_dup.rcps b/recipes/usecases/spp_mirror/duplicate/2_stop_dup.rcps
> new file mode 100644
> index 0000000..d13085c
> --- /dev/null
> +++ b/recipes/usecases/spp_mirror/duplicate/2_stop_dup.rcps
> @@ -0,0 +1,10 @@
> +# Delete ports
> +mirror 1; port del phy:0 rx mir
> +mirror 1; port del phy:1 tx mir
> +mirror 1; port del phy:2 tx mir
> +
> +# Stop component
> +mirror 1; component stop mir
> +
> +# Exit spp_mirror
> +mirror 1; exit
> 

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05  2:14 x-fn-spp
2019-09-05  3:12 ` Yasufumi Ogawa [this message]
2019-09-10  1:38 ` [spp] [PATCH v2] " x-fn-spp
2019-09-10  5:46   ` Yasufumi Ogawa

Reply instructions:

You may reply publically 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=fb3b7236-eda0-8f07-ddf0-275b299c8421@gmail.com \
    --to=yasufum.o@gmail.com \
    --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

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox