[spp] [PATCH 6/6] docs: add references for images for pcap PMD

ogawa.yasufumi at lab.ntt.co.jp ogawa.yasufumi at lab.ntt.co.jp
Tue May 15 03:21:46 CEST 2018


From: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi at lab.ntt.co.jp>
---
 docs/guides/setup/use_cases.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/docs/guides/setup/use_cases.rst b/docs/guides/setup/use_cases.rst
index 06f4b45..1cd30a6 100644
--- a/docs/guides/setup/use_cases.rst
+++ b/docs/guides/setup/use_cases.rst
@@ -414,6 +414,14 @@ As the first usecase, add a pcap PMD and capture incoming packets from
     spp > sec 1;patch phy:0 pcap:1
     spp > sec 1;forward
 
+.. _figure_spp_pcap_incoming:
+
+.. figure:: ../images/setup/use_cases/spp_pcap_incoming.*
+   :height: 380 em
+   :width: 380 em
+
+   Rapture incoming packets
+
 In this example, we use pktgen.
 Once you start forwarding packets from pktgen, you can see
 that the size of ``/tmp/spp-tx1.pcap`` is increased rapidly
@@ -448,6 +456,14 @@ Then, add pcap PMD to another ``spp_nfv`` with index ``2``.
 
     spp > sec 2;add pcap 2
 
+.. _figure_spp_pcap_restoring:
+
+.. figure:: ../images/setup/use_cases/spp_pcap_restoring.*
+   :height: 380 em
+   :width: 380 em
+
+   Restore dumped packets
+
 You can find that ``spp-tx2.pcap`` is creaeted and ``spp-rx2.pcap``
 still remained.
 
-- 
2.17.0



More information about the spp mailing list