From: yasufum.o@gmail.com
To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com
Subject: [spp] [PATCH] docs: fix incorrect setup in spp_mirror usecase
Date: Wed, 3 Jul 2019 15:09:40 +0900 [thread overview]
Message-ID: <20190703060940.35517-1-yasufum.o@gmail.com> (raw)
From: Yasufumi Ogawa <yasufum.o@gmail.com>
This update is to move a step of capturing with tcpdump to after the end
of network configuration.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
docs/guides/usecases/spp_mirror.rst | 42 ++++++++++++-----------------
1 file changed, 17 insertions(+), 25 deletions(-)
diff --git a/docs/guides/usecases/spp_mirror.rst b/docs/guides/usecases/spp_mirror.rst
index 1fcd8b0..b867adf 100644
--- a/docs/guides/usecases/spp_mirror.rst
+++ b/docs/guides/usecases/spp_mirror.rst
@@ -316,24 +316,6 @@ Add classifier table entries.
spp > vf 1; classifier_table add mac 52:54:00:12:34:58 ring:1
-To capture incoming packets on ``VM1``, use tcpdump for the interface,
-``ens4`` in this case.
-
-.. code-block:: console
-
- # terminal 5
- # capture on ens4 of VM1
- $ tcpdump -i ens4
-
-You send packets from the remote ``host1`` and confirm packets are received.
-IP address is the same as :ref:`Usecase of spp_vf<spp_usecases_vf>`.
-
-.. code-block:: console
-
- # Send packets from host1
- $ ping 192.168.140.21
-
-
Launch spp_mirror
~~~~~~~~~~~~~~~~~
@@ -370,20 +352,30 @@ Add ``ring:0`` as rx port, ``ring:4`` and ``ring:5`` as tx ports.
Receive Packet on VM3
~~~~~~~~~~~~~~~~~~~~~
-You can capture incoming packets on ``VM3``.
-If you capture packet on ``VM1``, the same packet would be captured.
+You can capture incoming packets on ``VM3`` and compare it with on ``VM1``.
+To capture incoming packets , use tcpdump for the interface,
+``ens4`` in this case.
.. code-block:: console
- # capture on ens4 fo VM1 and VM3
- $ tcpdump -i ens4
+ # terminal 5
+ # capture on ens4 of VM1
+ $ tcpdump -i ens4
-Now, you can send packet from the remote host1.
+.. code-block:: console
+
+ # terminal 7
+ # capture on ens4 of VM3
+ $ tcpdump -i ens4
+
+You send packets from the remote ``host1`` and confirm packets are received.
+IP address is the same as :ref:`Usecase of spp_vf<spp_usecases_vf>`.
.. code-block:: console
- # spp-vm1 via NIC0 from host1
- $ ping 192.168.140.21
+ # Send packets from host1
+ $ ping 192.168.140.21
+
Stop Mirroring
--
2.17.1
reply other threads:[~2019-07-03 6:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190703060940.35517-1-yasufum.o@gmail.com \
--to=yasufum.o@gmail.com \
--cc=ferruh.yigit@intel.com \
--cc=spp@dpdk.org \
/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).