Report: Add hover info to graph's descriptions
[csit.git] / docs / report / dpdk_performance_tests / packet_latency_graphs / l2.rst
index be291a8..efcea48 100644 (file)
@@ -3,6 +3,31 @@
 
     \clearpage
 
+.. raw:: html
+
+    <script type="text/javascript">
+
+        function getDocHeight(doc) {
+            doc = doc || document;
+            var body = doc.body, html = doc.documentElement;
+            var height = Math.max( body.scrollHeight, body.offsetHeight,
+                html.clientHeight, html.scrollHeight, html.offsetHeight );
+            return height;
+        }
+
+        function setIframeHeight(id) {
+            var ifrm = document.getElementById(id);
+            var doc = ifrm.contentDocument? ifrm.contentDocument:
+                ifrm.contentWindow.document;
+            ifrm.style.visibility = 'hidden';
+            ifrm.style.height = "10px"; // reset to minimal height ...
+            // IE opt. for bing/msn needs a bit added or scrollbar appears
+            ifrm.style.height = getDocHeight( doc ) + 4 + "px";
+            ifrm.style.visibility = 'visible';
+        }
+
+    </script>
+
 Testpmd
 =======
 
@@ -13,7 +38,11 @@ configurations of Testpmd pmd thread(s), a.k.a. Testpmd data plane
 thread(s), and their physical CPU core(s) placement.
 
 CSIT source code for the test cases used for plots can be found in
-`CSIT git repository <https://git.fd.io/csit/tree/tests/dpdk/perf?h=rls1807>`_.
+`CSIT git repository <https://git.fd.io/csit/tree/tests/dpdk/perf?h=rls1901>`_.
+
+.. raw:: latex
+
+    \clearpage
 
 3n-hsw-x520
 ~~~~~~~~~~~
@@ -23,15 +52,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-x520-64b-1t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x520-64b-1t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x520-64b-1t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -39,7 +62,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x520-64b-1t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x520-64b-1t1c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-x520-64b-1t1c-base-ndr-lat}
     \end{figure}
 
@@ -52,15 +75,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-x520-64b-2t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x520-64b-2t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x520-64b-2t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -68,7 +85,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x520-64b-2t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x520-64b-2t2c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-x520-64b-2t2c-base-ndr-lat}
     \end{figure}
 
@@ -84,15 +101,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-x710-64b-1t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x710-64b-1t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm03" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x710-64b-1t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -100,7 +111,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x710-64b-1t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x710-64b-1t1c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-x710-64b-1t1c-base-ndr-lat}
     \end{figure}
 
@@ -113,15 +124,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-x710-64b-2t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x710-64b-2t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm04" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-x710-64b-2t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -129,7 +134,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x710-64b-2t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-x710-64b-2t2c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-x710-64b-2t2c-base-ndr-lat}
     \end{figure}
 
@@ -145,15 +150,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-xl710-64b-1t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-xl710-64b-1t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm05" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-xl710-64b-1t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -161,7 +160,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-xl710-64b-1t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-xl710-64b-1t1c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-xl710-64b-1t1c-base-ndr-lat}
     \end{figure}
 
@@ -174,15 +173,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-hsw-xl710-64b-2t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-xl710-64b-2t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm06" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-hsw-xl710-64b-2t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -190,7 +183,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-xl710-64b-2t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-hsw-xl710-64b-2t2c-base-ndr-lat}
             \label{fig:testpmd-3n-hsw-xl710-64b-2t2c-base-ndr-lat}
     \end{figure}
 
@@ -206,15 +199,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-skx-x710-64b-2t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-x710-64b-2t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm07" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-x710-64b-2t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -222,7 +209,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-x710-64b-2t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-x710-64b-2t1c-base-ndr-lat}
             \label{fig:testpmd-3n-skx-x710-64b-2t1c-base-ndr-lat}
     \end{figure}
 
@@ -235,15 +222,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-skx-x710-64b-4t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-x710-64b-4t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm08" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-x710-64b-4t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -251,7 +232,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-x710-64b-4t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-x710-64b-4t2c-base-ndr-lat}
             \label{fig:testpmd-3n-skx-x710-64b-4t2c-base-ndr-lat}
     \end{figure}
 
@@ -267,15 +248,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-skx-xxv710-64b-2t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-xxv710-64b-2t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm09" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-xxv710-64b-2t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -283,7 +258,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-xxv710-64b-2t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-xxv710-64b-2t1c-base-ndr-lat}
             \label{fig:testpmd-3n-skx-xxv710-64b-2t1c-base-ndr-lat}
     \end{figure}
 
@@ -296,15 +271,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-3n-skx-xxv710-64b-4t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-xxv710-64b-4t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm10" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-3n-skx-xxv710-64b-4t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -312,7 +281,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-xxv710-64b-4t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-3n-skx-xxv710-64b-4t2c-base-ndr-lat}
             \label{fig:testpmd-3n-skx-xxv710-64b-4t2c-base-ndr-lat}
     \end{figure}
 
@@ -328,15 +297,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-2n-skx-x710-64b-2t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-x710-64b-2t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm11" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-x710-64b-2t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -344,7 +307,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-x710-64b-2t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-x710-64b-2t1c-base-ndr-lat}
             \label{fig:testpmd-2n-skx-x710-64b-2t1c-base-ndr-lat}
     \end{figure}
 
@@ -357,15 +320,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-2n-skx-x710-64b-4t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-x710-64b-4t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm12" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-x710-64b-4t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -373,7 +330,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-x710-64b-4t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-x710-64b-4t2c-base-ndr-lat}
             \label{fig:testpmd-2n-skx-x710-64b-4t2c-base-ndr-lat}
     \end{figure}
 
@@ -389,15 +346,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-2n-skx-xxv710-64b-2t1c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-xxv710-64b-2t1c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm13" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-xxv710-64b-2t1c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -405,7 +356,7 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-xxv710-64b-2t1c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-xxv710-64b-2t1c-base-ndr-lat}
             \label{fig:testpmd-2n-skx-xxv710-64b-2t1c-base-ndr-lat}
     \end{figure}
 
@@ -418,15 +369,9 @@ CSIT source code for the test cases used for plots can be found in
 
 .. raw:: html
 
-    <center><b>
-
-:index:`Latency: testpmd-2n-skx-xxv710-64b-4t2c-base-ndr`
-
-.. raw:: html
-
-    </b>
-    <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-xxv710-64b-4t2c-base-ndr-lat.html"></iframe>
-    <p><br><br></p>
+    <center>
+    <iframe id="ifrm14" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/dpdk/testpmd-2n-skx-xxv710-64b-4t2c-base-ndr-lat.html"></iframe>
+    <p><br></p>
     </center>
 
 .. raw:: latex
@@ -434,6 +379,6 @@ CSIT source code for the test cases used for plots can be found in
     \begin{figure}[H]
         \centering
             \graphicspath{{../_build/_static/dpdk/}}
-            \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-xxv710-64b-4t2c-base-ndr-lat}
+            \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{testpmd-2n-skx-xxv710-64b-4t2c-base-ndr-lat}
             \label{fig:testpmd-2n-skx-xxv710-64b-4t2c-base-ndr-lat}
     \end{figure}