Soft Patch Panel
 help / color / Atom feed
* [spp] [PATCH] recipes: add rcps for spp_mirror
@ 2019-09-05  2:14 x-fn-spp
  2019-09-05  3:12 ` Yasufumi Ogawa
  2019-09-10  1:38 ` [spp] [PATCH v2] " x-fn-spp
  0 siblings, 2 replies; 4+ messages in thread
From: x-fn-spp @ 2019-09-05  2:14 UTC (permalink / raw)
  To: ferruh.yigit, ogawa.yasufumi; +Cc: spp

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
---
 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
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spp] [PATCH] recipes: add rcps for spp_mirror
  2019-09-05  2:14 [spp] [PATCH] recipes: add rcps for spp_mirror x-fn-spp
@ 2019-09-05  3:12 ` Yasufumi Ogawa
  2019-09-10  1:38 ` [spp] [PATCH v2] " x-fn-spp
  1 sibling, 0 replies; 4+ messages in thread
From: Yasufumi Ogawa @ 2019-09-05  3:12 UTC (permalink / raw)
  To: x-fn-spp; +Cc: ferruh.yigit, Yasufumi Ogawa, spp

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [spp] [PATCH v2] recipes: add rcps for spp_mirror
  2019-09-05  2:14 [spp] [PATCH] recipes: add rcps for spp_mirror x-fn-spp
  2019-09-05  3:12 ` Yasufumi Ogawa
@ 2019-09-10  1:38 ` " x-fn-spp
  2019-09-10  5:46   ` Yasufumi Ogawa
  1 sibling, 1 reply; 4+ messages in thread
From: x-fn-spp @ 2019-09-10  1:38 UTC (permalink / raw)
  To: ferruh.yigit, yasufum.o; +Cc: spp

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>
---
 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
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [spp] [PATCH v2] recipes: add rcps for spp_mirror
  2019-09-10  1:38 ` [spp] [PATCH v2] " x-fn-spp
@ 2019-09-10  5:46   ` Yasufumi Ogawa
  0 siblings, 0 replies; 4+ messages in thread
From: Yasufumi Ogawa @ 2019-09-10  5:46 UTC (permalink / raw)
  To: x-fn-spp, ferruh.yigit; +Cc: spp

> 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>
Applied, thaks.

> ---
>   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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  2:14 [spp] [PATCH] recipes: add rcps for spp_mirror x-fn-spp
2019-09-05  3:12 ` Yasufumi Ogawa
2019-09-10  1:38 ` [spp] [PATCH v2] " x-fn-spp
2019-09-10  5:46   ` Yasufumi Ogawa

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