doc: Merge l3fwd and l3fwd-acl documentation files
PATCH 1/1 doc: Merge l3fwd and l3fwd-acl documentation files
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 158 +++++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 139 ++++++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326 ++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385 --------------------- 5 files changed, 614 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg delete mode 100644 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
doc/guides/sample_app_ug/img/ipv4_hash_rule.svg new file +158 -0
@@ -0,0 +1,158 @@ +<?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:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + width="819" + height="460" + viewBox="0 0 819 460" + sodipodi:docname="ipv4_hash_rule.svg"> + <metadata + id="metadata8"> + <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> + <defs + id="defs6" /> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="640" + inkscape:window-height="480" + id="namedview4" + showgrid="false" + inkscape:zoom="0.47252747" + inkscape:cx="409.5" + inkscape:cy="230" + inkscape:window-x="65" + inkscape:window-y="24" + inkscape:window-maximized="0" + inkscape:current-layer="svg2" /> + <image + width="819" + height="460" + preserveAspectRatio="none" + xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzMAAAHMCAIAAABukmEEAAAAAXNSR0IArs4c6QAAAARnQU1BAACx +jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABTgSURBVHhe7drrgaM2GAXQ1LUFbT1bzTaTYhLE +yxIGj2f8mCvmnF8gQHwCLN2d5J//AADIIJkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYA +kEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhm +AAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCF +ZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQzAAA +UkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskM +ACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQ +zAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBA +CskMACCFZAYAkEIyAwBIIZkBAKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZkB +AKSQzAAAUkhmAAApJDMAgBSSGQBACskMACCFZAYAkEIyAwBIIZ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AAAAElFTkSuQmCC +" + id="image10" + x="0" + y="0" /> +</svg>
doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg new file +139 -0
139 lines not on this page · raw message
doc/guides/sample_app_ug/index.rst +0 -1
@@ -53,7 +53,6 @@ Sample Applications User Guides l2_forward_cat l3_forward l3_forward_power_man - l3_forward_access_ctrl l3_forward_virtual link_status_intr load_balancer
doc/guides/sample_app_ug/l3_forward.rst +317 -9
409 lines not on this page · raw message
doc/guides/sample_app_ug/l3_forward_access_ctrl.rst deleted +0 -385
385 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 10 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ravi Kerur
Sent: Tuesday, April 25, 2017 7:39 PM
To: [email protected]; Ananyev, Konstantin <[email protected]>
Cc: Ravi Kerur <[email protected]>
Subject: [dpdk-dev] [PATCH v1] doc: Merge l3fwd and l3fwd-acl documentation files
Quoted 3 lines
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
Hi,
25/04/2017 20:39, Ravi Kerur:
Quoted 5 lines
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
Signed-off-by Ravi Kerur <[email protected]>
Quoted 10 lines
--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 158 +++++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 139 ++++++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326 ++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385 --------------------- 5 files changed, 614 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg delete mode 100644 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
I've not looked at the content.
I just do not understand why a patch for merging content is adding some new files.
Moreover, these SVG files contains some binary PNG. Please send only some source files.
PATCH v2 1/1 doc: Merge l3fwd and l3fwd-acl documentation files
In reply to Ravi KerurMerge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules in .svg files.
---
v2:
Remove binary PNG from .svg files.
v1:
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 108 ++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 96 +++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326 ++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385 --------------------- 5 files changed, 521 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg delete mode 100644 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
doc/guides/sample_app_ug/img/ipv4_hash_rule.svg new file +108 -0
@@ -0,0 +1,108 @@ +<?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="744.09448819" + height="1052.3622047" + id="svg2" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="New document 1"> + <defs + id="defs4" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.35" + inkscape:cx="375" + inkscape:cy="520" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1117" + inkscape:window-height="679" + inkscape:window-x="548" + inkscape:window-y="204" + 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="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <flowRoot + xml:space="preserve" + id="flowRoot2985" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion + id="flowRegion2987"><rect + id="rect2989" + width="1402.8573" + height="174.28569" + x="-48.57143" + y="218.07646" /></flowRegion><flowPara + id="flowPara2991"> </flowPara><flowPara + id="flowPara2997">E101.0.0.0 100.10.0.0 101 11 0x06 0</flowPara><flowPara + id="flowPara2993" /><flowPara + id="flowPara2995" /></flowRoot> <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M -37.142857,258.07647 C 31.428571,123.79075 148.57143,252.36218 148.57143,252.36218" + id="path3001" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 245.71429,260.93361 c 105.71428,-131.42857 222.85714,-2.85714 222.85714,-2.85714" + id="path3003" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 577.14286,263.79075 c 54.28571,-125.71428 108.57143,-2.85714 108.57143,-2.85714" + id="path3007" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 762.85714,269.50504 c 51.42857,-125.71429 100,-2.85714 100,-2.85714" + id="path3011" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 962.85714,269.50504 C 1025.7143,160.93361 1100,263.79075 1100,263.79075" + id="path3037" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 1180,269.50504 c 65.7143,-91.42857 117.1429,-8.57143 117.1429,-8.57143" + id="path3039" + inkscape:connector-curvature="0" /> + <flowRoot + xml:space="preserve" + id="flowRoot3041" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion + id="flowRegion3043"><rect + id="rect3045" + width="1351.4286" + height="77.14286" + x="-71.428574" + y="106.6479" /></flowRegion><flowPara + id="flowPara3047"> Src Addr Dest Addr Src port Dest port Protocol Fwd</flowPara></flowRoot> </g> +</svg>
doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg new file +96 -0
96 lines not on this page · raw message
doc/guides/sample_app_ug/index.rst +0 -1
@@ -53,7 +53,6 @@ Sample Applications User Guides l2_forward_cat l3_forward l3_forward_power_man - l3_forward_access_ctrl l3_forward_virtual link_status_intr load_balancer
doc/guides/sample_app_ug/l3_forward.rst +317 -9
409 lines not on this page · raw message
doc/guides/sample_app_ug/l3_forward_access_ctrl.rst deleted +0 -385
385 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 21 lines · Thomas Monjalon
Hi,
25/04/2017 20:39, Ravi Kerur:
Quoted 10 lines
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
Signed-off-by Ravi Kerur <[email protected]>--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 158 +++++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 139 ++++++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326++++++++++++++++-
Quoted 1 line
.../sample_app_ug/l3_forward_access_ctrl.rst | 385---------------------
Quoted 4 lines
5 files changed, 614 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg delete mode 100644 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
Quoted 6 lines
I've not looked at the content.
I just do not understand why a patch for merging content is adding some new files.
Moreover, these SVG files contains some binary PNG. Please send only some source files.
Thanks John and Thomas for review.
We have created two new ".svg" files illustrating an example for LPM and Exact Match rules and hence they are reflected in the patch.
I have created .svg files directly from inkscape and they now contain only html.
I have sent 'v2', please review it and let me know if additional changes are required.
Quoted 22 lines
-----Original Message-----
From: Ravi Kerur [mailto:[email protected]]
Sent: Monday, May 8, 2017 10:00 PM
To: [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Ravi Kerur <[email protected]>
Subject: [PATCH v2] doc: Merge l3fwd and l3fwd-acl documentation filesMerge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules in .svg files.
Signed-off-by Ravi Kerur <[email protected]>---
v2:
Remove binary PNG from .svg files.v1:
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
Quoted 12 lines
--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 108 ++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 96 +++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326 ++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385 ---------------- ----- 5 files changed, 521 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg
Thanks once more for the doc. Some comments below.
Quoted 13 lines
...
Redistribution and use in source and binary forms, with or without @@
-31,12 +31,18 @@
L3 Forwarding Sample Application
================================-The L3 Forwarding application is a simple example of packet processing using the DPDK.
(quoted diff) +1
-1-The application performs L3 forwarding. +The L3 Forwarding with Hash, LPM or Access Control application is asimple example of packet processing using the DPDK.
(quoted diff) +2
-0+The application performs L3 forwarding when Hash or LPM is used. +The application performs a security check on received packets when Access
Quoted 4 lines
Control is used.
+Packets that are in the Access Control List (ACL), which is loaded during initialization, are dropped.
+Others are forwarded to the correct port.
For the introduction I would suggest the following rewording:
L3 Forwarding Sample Application
================================
The L3 Forwarding application is a simple example of packet processing using the DPDK with Hash, LPM (Longest Prefix match) or Access Control.
The application performs L3 forwarding when Hash or LPM is used. Alternatively, the application performs a security check on received packets when Access Control is used. Packets that are in the Access Control List (ACL), which is loaded during initialization, are dropped. Others packets are forwarded to the correct port.
Quoted 7 lines
The main difference from the L2 Forwarding sample application is that the
forwarding decision @@ -49,15 +55,263 @@ The hash object is used in correlation with a flow table to map each input packe The hash lookup key is represented by a DiffServ 5-tuple composed of the following fields read from the input packet:
Source IP Address, Destination IP Address, Protocol, Source Port and
Destination Port.
This is fine but would be a bit clearer as a list:
The hash lookup key is represented by a 5-tuple composed of the following fields read from the input packet:
* Source IP Address.
* Destination IP Address.
* Protocol.
* Source Port.
* Destination Port.
Quoted 6 lines
doc/guides/sample_app_ug/l3_forward.rst +6
-0+ +.. _figure_ipv4_lpm_rule: + +.. figure:: img/ipv4_lpm_rule.* + + A typical IPv4 LPM rule
doc/guides/sample_app_ug/l3_forward.rst The hash object is used in correlation with a flow table to map each input packe · line 103
Quoted 10 lines
doc/guides/sample_app_ug/l3_forward.rst +10
-0+ +* A typical IPv4 hash rule line should have a format as shown below: + + +.. _figure_ipv4_hash_rule: + +.. figure:: img/ipv4_hash_rule.* + + A typical IPv4 hash rule +
Unfortunately these figures don't render very well. I would suggest replacing them with text, like below:
A typical IPv4 LPM rule line in an input file would look like the following::
# Dest Address/mask Eth port
# ================= ========
L100.10.10.10/24 0A typical IPv4 Hash rule line in an input file would look like the following::
# Src Address Dst Address Src Port Dst port Protocol Eth port
# =========== =========== ======== ======== ======== ========E100.10.10.0 100.10.0.0 110 111 0x6 0
There a few other thing that could be improved in the doc but these issues were already there in text that you are merging so apart from these suggestion the rest of the doc is okay for now. We should try to come back and improve the consistency at a later date.
John
PATCH v3 1/1 doc: Merge l3fwd and l3fwd-acl documentation files
In reply to Ravi KerurMerge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules as text.
---
v3:
Incorporate John's comments.
Remove svg files, instead include text format.
v2:
Remove binary PNG from .svg files.
v1:
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.
---
--- doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 332 +++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385 --------------------- 3 files changed, 322 insertions(+), 396 deletions(-) delete mode 100644 doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
doc/guides/sample_app_ug/index.rst +0 -1
@@ -53,7 +53,6 @@ Sample Applications User Guides l2_forward_cat l3_forward l3_forward_power_man - l3_forward_access_ctrl l3_forward_virtual link_status_intr load_balancer
doc/guides/sample_app_ug/l3_forward.rst +322 -10
416 lines not on this page · raw message
doc/guides/sample_app_ug/l3_forward_access_ctrl.rst deleted +0 -385
385 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 146 lines · John
Quoted 22 lines
-----Original Message-----
From: Ravi Kerur [mailto:[email protected]]
Sent: Monday, May 8, 2017 10:00 PM
To: [email protected]
Cc: Mcnamara, John <[email protected]>; [email protected]; Ravi Kerur <[email protected]>
Subject: [PATCH v2] doc: Merge l3fwd and l3fwd-acl documentation filesMerge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules in .svg files.
Signed-off-by Ravi Kerur <[email protected]>---
v2:
Remove binary PNG from .svg files.v1:
Merge relevant contents of l3fwd and l3fwd-acl documentation. Modify l3fwd document with ACL specific information. Remove l3fwd-acl documentation file.Quoted 7 lines
--- doc/guides/sample_app_ug/img/ipv4_hash_rule.svg | 108 ++++++ doc/guides/sample_app_ug/img/ipv4_lpm_rule.svg | 96 +++++ doc/guides/sample_app_ug/index.rst | 1 - doc/guides/sample_app_ug/l3_forward.rst | 326 ++++++++++++++++- .../sample_app_ug/l3_forward_access_ctrl.rst | 385----------------
Quoted 5 lines
-----
5 files changed, 521 insertions(+), 395 deletions(-) create mode 100644 doc/guides/sample_app_ug/img/ipv4_hash_rule.svg create mode 100644 doc/guides/sample_app_ug/img/ipv4_lpm_rule.svgThanks once more for the doc. Some comments below.
Quoted 2 lines
...
Redistribution and use in source and binary forms, with or without@@
Review
Quoted 11 lines
-31,12 +31,18 @@
L3 Forwarding Sample Application
================================-The L3 Forwarding application is a simple example of packet processing using the DPDK.
(quoted diff) +1
-1-The application performs L3 forwarding. +The L3 Forwarding with Hash, LPM or Access Control application is asimple example of packet processing using the DPDK.
(quoted diff) +2
-0+The application performs L3 forwarding when Hash or LPM is used. +The application performs a security check on received packets whenAccess
Quoted 2 lines
Control is used.
+Packets that are in the Access Control List (ACL), which is loadedduring
Quoted 2 lines
initialization, are dropped.
+Others are forwarded to the correct port.For the introduction I would suggest the following rewording:
L3 Forwarding Sample Application
================================The L3 Forwarding application is a simple example of packet processing using
the DPDK with Hash, LPM (Longest Prefix match) or Access Control.The application performs L3 forwarding when Hash or LPM is used. Alternatively, the application performs a security check on received packets
when Access Control is used. Packets that are in the Access Control List (ACL), which is loaded during initialization, are dropped. Others packets are
forwarded to the correct port.Quoted 1 line
The main difference from the L2 Forwarding sample application is that
the
Quoted 2 lines
forwarding decision @@ -49,15 +55,263 @@ The hash object is used in correlation with a flow table to map each input packe The hash lookup
key
Quoted 1 line
is represented by a DiffServ 5-tuple composed of the following fields
read
Quoted 3 lines
from the input packet:
Source IP Address, Destination IP Address, Protocol, Source Port and
Destination Port.This is fine but would be a bit clearer as a list:
The hash lookup key is represented by a 5-tuple composed of the following fields read from the input packet:
* Source IP Address.
* Destination IP Address.
* Protocol.
* Source Port.
* Destination Port.Quoted 6 lines
doc/guides/sample_app_ug/l3_forward.rst +6
-0+ +.. _figure_ipv4_lpm_rule: + +.. figure:: img/ipv4_lpm_rule.* + + A typical IPv4 LPM ruledoc/guides/sample_app_ug/l3_forward.rst The hash object is used in correlation with a flow table to map each input packe · line 103
Quoted 10 lines
doc/guides/sample_app_ug/l3_forward.rst +10
-0+ +* A typical IPv4 hash rule line should have a format as shown below: + + +.. _figure_ipv4_hash_rule: + +.. figure:: img/ipv4_hash_rule.* + + A typical IPv4 hash rule +Unfortunately these figures don't render very well. I would suggest replacing
them with text, like below:A typical IPv4 LPM rule line in an input file would look like the following::
# Dest Address/mask Eth port # ================= ======== L100.10.10.10/24 0A typical IPv4 Hash rule line in an input file would look like the following::
# Src Address Dst Address Src Port Dst port Protocol Eth port # =========== =========== ======== ======== ======== ========
Quoted 10 lines
E100.10.10.0 100.10.0.0 110 111 0x6 0There a few other thing that could be improved in the doc but these issues were
already there in text that you are merging so apart from these suggestion the rest of the doc is okay for now. We should try to come back and improve the consistency at a later date.
Thanks John. Sent a 'v3' with your inputs incorporated.
Quoted 6 lines
John
Quoted 10 lines
-----Original Message-----
From: Ravi Kerur [mailto:[email protected]]
Sent: Thursday, May 11, 2017 2:49 AM
To: [email protected]
Cc: Mcnamara, John <[email protected]>; Ravi Kerur <[email protected]>
Subject: [PATCH v3] doc: Merge l3fwd and l3fwd-acl documentation files
Quoted 4 lines
Merge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules as text.
Signed-off-by Ravi Kerur <[email protected]>
Quoted 6 lines
Quoted 4 lines
Merge l3fwd and l3fwd-acl documentation to reflect the code. Add examples of LPM and Exact Match rules as text.
Signed-off-by Ravi Kerur <[email protected]>Acked-by John McNamara <[email protected]>
This patch depends on a (not yet approved) code change:
http://dpdk.org/dev/patchwork/patch/21696/