|
|
|
@ -35,7 +35,7 @@ Both tools need to be installed to \texttt{/opt/Xilinx/},
|
|
|
|
|
as paths are hardcoded in various places. |
|
|
|
|
% ok |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{chapterminus1:thesis}P4/NetFGPA support scripts} |
|
|
|
|
\section{\label{chapterminus1:thesis}P4/NetFGPA Support Scripts} |
|
|
|
|
To be able to compile P4 source code to the NetFPGA the collection of |
|
|
|
|
scripts, Makefiles and sample code of P4-NetFGPA is required. |
|
|
|
|
The repository \url{git@github.com:NetFPGA/P4-NetFPGA-live.git} needs |
|
|
|
@ -63,7 +63,7 @@ v1.3.1-46-g97d3aaa
|
|
|
|
|
\end{verbatim} |
|
|
|
|
% ok |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{appendix:netfpga:compile}P4/NetFGPA compilation process} |
|
|
|
|
\section{\label{appendix:netfpga:compile}P4/NetFGPA Compilation Process} |
|
|
|
|
After having setup the compile host as described above, the script |
|
|
|
|
\texttt{bin/do-all-steps.sh} that is included in the thesis' git |
|
|
|
|
repository. With a NetFPGA card installed in the host, this script |
|
|
|
@ -144,7 +144,7 @@ listening on enp2s0f0, link-type EN10MB (Ethernet), capture size 262144 bytes
|
|
|
|
|
\end{tiny} |
|
|
|
|
% ok |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\subsection{Test 2: IPv6 egress} |
|
|
|
|
\subsection{Test 2: IPv6 Egress} |
|
|
|
|
This test shows how setting the egress port based on the IPv6 address |
|
|
|
|
works with the NetPFGA. Similar to the previous test, we first the |
|
|
|
|
the Integer values of the IPv6 addresses: |
|
|
|
@ -221,7 +221,7 @@ listening on enp2s0f1, link-type EN10MB (Ethernet), capture size 262144 bytes
|
|
|
|
|
\end{tiny} |
|
|
|
|
The packets are successfully seen by tcpdump. |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{appendix:bmv2}P4/BMV2 environment and tests} |
|
|
|
|
\section{\label{appendix:bmv2}P4/BMV2 Environment and Tests} |
|
|
|
|
All BMV2 based compilations were made with the following compiler: |
|
|
|
|
\begin{verbatim} |
|
|
|
|
p4@ubuntu:~$ p4c --version |
|
|
|
@ -361,7 +361,7 @@ nico@nsg-System:~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/project
|
|
|
|
|
\end{tiny} |
|
|
|
|
% ok |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{appendix:netfpgalogs:kernelmodule}NetFPGA Kernel module} |
|
|
|
|
\section{\label{appendix:netfpgalogs:kernelmodule}NetFPGA Kernel Module} |
|
|
|
|
After a successful flash, loading the kernel module will enable nf |
|
|
|
|
devices to appear in the operating system. |
|
|
|
|
\begin{tiny}\begin{verbatim} |
|
|
|
@ -432,7 +432,7 @@ nico@nsg-System:~$
|
|
|
|
|
\end{verbatim} |
|
|
|
|
\end{tiny} |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{appendix:netfpgalogs:compilelogs}NetFPGA compile logs} |
|
|
|
|
\section{\label{appendix:netfpgalogs:compilelogs}NetFPGA Compile Logs} |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
This section shows a compilation of of NetFPGA compile output and errors. |
|
|
|
|
|
|
|
|
@ -1220,7 +1220,7 @@ p4c 0.5 (SHA: 5ae30ee)```
|
|
|
|
|
%---------------------------------------------------------------------- |
|
|
|
|
\chapter{\label{benchmark}Benchmark Logs} |
|
|
|
|
% ---------------------------------------------------------------------- |
|
|
|
|
\section{\label{benchmark:offset}Enabling hardware offloading} |
|
|
|
|
\section{\label{benchmark:offset}Enabling Hardware Offloading} |
|
|
|
|
The following commands enable hardware offloading even though error |
|
|
|
|
messages are printed: |
|
|
|
|
\begin{verbatim} |
|
|
|
|