Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH v2 3/8] docs: add image of ports_fwd_array
Date: Thu, 10 Jan 2019 19:25:42 +0900	[thread overview]
Message-ID: <1547115947-27671-4-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1547115947-27671-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>

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

To explain mechanizm of forwarding of spp_nfv in design section, add
an example image of ports_fwd_array.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 .../images/design/spp_design_spp_sec_nfv.svg       | 340 +++++++++++++++++++++
 1 file changed, 340 insertions(+)
 create mode 100644 docs/guides/images/design/spp_design_spp_sec_nfv.svg

diff --git a/docs/guides/images/design/spp_design_spp_sec_nfv.svg b/docs/guides/images/design/spp_design_spp_sec_nfv.svg
new file mode 100644
index 0000000..10f215d
--- /dev/null
+++ b/docs/guides/images/design/spp_design_spp_sec_nfv.svg
@@ -0,0 +1,340 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="254mm"
+   height="114mm"
+   viewBox="0 0 899.99999 403.93701"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="spp_design_spp_sec_nfv.svg">
+  <defs
+     id="defs4">
+    <marker
+       inkscape:stockid="Arrow2Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="marker6952"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path6954"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+         d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+         transform="matrix(-1.1,0,0,-1.1,-1.1,0)" />
+    </marker>
+    <marker
+       inkscape:stockid="DotL"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="marker6438"
+       style="overflow:visible"
+       inkscape:isstock="true">
+      <path
+         inkscape:connector-curvature="0"
+         id="path6440"
+         d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
+         style="fill:#0000e6;fill-opacity:1;fill-rule:evenodd;stroke:#0000e6;stroke-width:1pt;stroke-opacity:1"
+         transform="matrix(0.8,0,0,0.8,5.92,0.8)" />
+    </marker>
+    <marker
+       inkscape:isstock="true"
+       style="overflow:visible"
+       id="marker6164"
+       refX="0"
+       refY="0"
+       orient="auto"
+       inkscape:stockid="DotL"
+       inkscape:collect="always">
+      <path
+         transform="matrix(0.8,0,0,0.8,5.92,0.8)"
+         style="fill:#0000e6;fill-opacity:1;fill-rule:evenodd;stroke:#0000e6;stroke-width:1pt;stroke-opacity:1"
+         d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
+         id="path6166"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:isstock="true"
+       style="overflow:visible"
+       id="marker4580"
+       refX="0"
+       refY="0"
+       orient="auto"
+       inkscape:stockid="Arrow2Lend"
+       inkscape:collect="always">
+      <path
+         transform="matrix(-1.1,0,0,-1.1,-1.1,0)"
+         d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+         style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
+         id="path4582"
+         inkscape:connector-curvature="0" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.49497475"
+     inkscape:cx="628.26037"
+     inkscape:cy="476.80109"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1588"
+     inkscape:window-height="1028"
+     inkscape:window-x="115"
+     inkscape:window-y="34"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="background"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-648.42519)"
+     style="display:inline">
+    <rect
+       style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4288"
+       width="554.28577"
+       height="376.10297"
+       x="12.300165"
+       y="662.79016" />
+    <rect
+       style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4150"
+       width="399.44421"
+       height="167.71109"
+       x="490.46442"
+       y="803.12537"
+       ry="0" />
+    <rect
+       style="fill:#f5f6f6;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4240"
+       width="240.51385"
+       height="189.08528"
+       x="134.90038"
+       y="690.06476" />
+  </g>
+  <g
+     inkscape:groupmode="layer"
+     id="layer4"
+     inkscape:label="ports"
+     transform="translate(0,-648.42519)"
+     style="display:inline">
+    <rect
+       style="fill:#f8ff93;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4187"
+       width="90.222687"
+       height="63.079834"
+       x="208.4745"
+       y="816.21033" />
+    <rect
+       style="fill:#f8ff93;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4187-2"
+       width="90.222687"
+       height="63.079834"
+       x="345.18875"
+       y="974.78174" />
+    <rect
+       style="fill:#f8ff93;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4187-4"
+       width="90.222687"
+       height="63.079834"
+       x="78.617378"
+       y="974.78174" />
+  </g>
+  <g
+     inkscape:groupmode="layer"
+     id="layer2"
+     inkscape:label="process"
+     transform="translate(0,-648.42519)"
+     style="display:inline">
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000e6;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:8.00000007, 4.00000004;stroke-dashoffset:0;stroke-opacity:1;marker-end:url(#marker6438)"
+       d="m 464.14674,797.06322 c -3.24949,83.76041 -31.46762,123.2974 -82.47933,141.68243"
+       id="path6101-4"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#0000e6;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:8.00000027, 4.00000012;stroke-dashoffset:0;stroke-opacity:1;marker-end:url(#marker6164)"
+       d="M 461.71666,798.92502 C 442.47339,909.30993 316.33898,938.78302 179.69914,928.73217"
+       id="path6101"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <rect
+       style="display:inline;fill:#ffffe1;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4246-7"
+       width="119.02277"
+       height="36.165623"
+       x="400.15356"
+       y="759.83136"
+       ry="18.082811" />
+    <rect
+       style="display:inline;fill:#ffffe1;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       id="rect4246"
+       width="119.02277"
+       height="36.165623"
+       x="192.64594"
+       y="746.09601"
+       ry="18.082811" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker4580)"
+       d="m 124.30014,973.4108 c 0.20841,-72.65226 92.14097,-13.46655 105.71429,-91.39575"
+       id="path4290"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker6952)"
+       d="m 284.30014,880.03598 c 15.22957,70.01705 102.06345,2.53977 104.28572,92.85715"
+       id="path4292"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+  </g>
+  <g
+     inkscape:groupmode="layer"
+     id="layer3"
+     inkscape:label="label"
+     transform="translate(0,-648.42519)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="219.21782"
+       y="853.91907"
+       id="text4181"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4183"
+         x="219.21782"
+         y="853.91907"
+         style="font-size:22.5px">port#2</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="354.5123"
+       y="1012.4905"
+       id="text4181-9"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4183-0"
+         x="354.5123"
+         y="1012.4905"
+         style="font-size:22.5px">port#1</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="86.512344"
+       y="1012.4905"
+       id="text4181-1"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4183-2"
+         x="86.512344"
+         y="1012.4905"
+         style="font-size:22.5px">port#0</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="230.04472"
+       y="769.06744"
+       id="text4181-0"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4268"
+         style="font-size:22.5px"
+         x="230.04472"
+         y="769.06744">app</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="158.10727"
+       y="729.19989"
+       id="text4181-0-5"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4268-5"
+         style="font-size:22.5px"
+         x="158.10727"
+         y="729.19989">VM</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="417.1864"
+       y="785.36377"
+       id="text4181-0-0"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4268-6"
+         style="font-size:22.5px"
+         x="417.1864"
+         y="785.36377">spp_nfv</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="42.957962"
+       y="701.61096"
+       id="text4181-0-5-0"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4268-5-5"
+         style="font-size:22.5px"
+         x="42.957962"
+         y="701.61096">host</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="503.89136"
+       y="836.2666"
+       id="text3336"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3338"
+         x="503.89136"
+         y="836.2666"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:22.5px;font-family:sans-serif;-inkscape-font-specification:sans-serif">ports_fwd_array[0].in_port = 0</tspan><tspan
+         sodipodi:role="line"
+         x="503.89136"
+         y="864.3916"
+         id="tspan3346"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:22.5px;font-family:sans-serif;-inkscape-font-specification:sans-serif">ports_fwd_array[0].out_port = 2</tspan><tspan
+         sodipodi:role="line"
+         x="503.89136"
+         y="892.5166"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:22.5px;font-family:sans-serif;-inkscape-font-specification:sans-serif"
+         id="tspan6204">    .....</tspan><tspan
+         sodipodi:role="line"
+         x="503.89136"
+         y="920.6416"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:22.5px;font-family:sans-serif;-inkscape-font-specification:sans-serif"
+         id="tspan6206">ports_fwd_array[2].in_port = 2</tspan><tspan
+         sodipodi:role="line"
+         x="503.89136"
+         y="948.7666"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:22.5px;font-family:sans-serif;-inkscape-font-specification:sans-serif"
+         id="tspan6210">ports_fwd_array[2].out_port = 1</tspan></text>
+  </g>
+</svg>
-- 
2.7.4

  parent reply	other threads:[~2019-01-10 10:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10  2:10 [spp] [PATCH 0/8] Revise documentation ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 1/8] docs: add desc of overview of SPP secondary ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 2/8] docs: add desc of design of spp_nfv ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 3/8] docs: add image of ports_fwd_array ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 4/8] docs: add image of spp_nfv threads ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 5/8] docs: adjust size of images ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 6/8] docs: resize font size in multi nodes example ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 7/8] docs: resize font size in performance test ogawa.yasufumi
2019-01-10  2:10 ` [spp] [PATCH 8/8] docs: resize image of lb in sppc ogawa.yasufumi
2019-01-10 10:25 ` [spp] [PATCH v2 0/8] Revise documentation ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 1/8] docs: add desc of overview of SPP secondary ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 2/8] docs: add desc of design of spp_nfv ogawa.yasufumi
2019-01-10 10:25   ` ogawa.yasufumi [this message]
2019-01-10 10:25   ` [spp] [PATCH v2 4/8] docs: add image of spp_nfv threads ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 5/8] docs: adjust size of images ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 6/8] docs: resize font size in multi nodes example ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 7/8] docs: resize font size in performance test ogawa.yasufumi
2019-01-10 10:25   ` [spp] [PATCH v2 8/8] docs: resize image of lb in sppc ogawa.yasufumi

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=1547115947-27671-4-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --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).