[netpfga] include UNUSED nat64 actions and tables
Will probably be removed, but need to check whether it still compiles.
This commit is contained in:
parent
5671e28fcd
commit
94e06be245
2 changed files with 7 additions and 4 deletions
|
@ -6294,7 +6294,8 @@ Die Jul 23 13:34:54 CEST 2019
|
|||
make: *** No targets specified and no makefile found. Stop.
|
||||
|
||||
#+END_CENTER
|
||||
*** the config writes madness
|
||||
*** DONE the config writes madness
|
||||
CLOSED: [2019-07-24 Wed 11:44]
|
||||
- step9 (sume simulation, the longest step) in the process calls
|
||||
"config_writes.py"
|
||||
- config_writes.py fails with a syntax error, as it is incomplete
|
||||
|
@ -6343,7 +6344,7 @@ endtask
|
|||
|
||||
#+END_CENTER
|
||||
|
||||
*** DONE the netpfga madness: Renaming variables breaks the compilation.
|
||||
*** DONE the netpfga madness: Renaming variables breaks the compilation. !!!!!!
|
||||
CLOSED: [2019-07-24 Wed 09:33]
|
||||
#+BEGIN_CENTER
|
||||
@Xilinx_MaxPacketRegion(1024)
|
||||
|
@ -6365,7 +6366,8 @@ endtask
|
|||
}
|
||||
#+END_CENTER
|
||||
|
||||
*** state names are fixed
|
||||
*** DONE state names are fixed: needs to be "start"
|
||||
CLOSED: [2019-07-24 Wed 11:44]
|
||||
#+BEGIN_CENTER
|
||||
make[1]: Entering directory '/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src'
|
||||
p4c-sdnet -o minip4.sdnet --sdnet_info .sdnet_switch_info.dat minip4_solution.p4
|
||||
|
@ -6387,7 +6389,6 @@ make[1]: Leaving directory '/home/nico/projects/P4-NetFPGA/contrib-projects/sume
|
|||
Makefile:31: recipe for target 'frontend' failed
|
||||
|
||||
#+END_CENTER
|
||||
|
||||
*** TODO Further notes P4/master thesis
|
||||
- Cannot easily run P4 on notebook - changes to the system very
|
||||
invasive
|
||||
|
|
|
@ -68,6 +68,8 @@ control RealMain(
|
|||
inout digest_data_t digest_data,
|
||||
inout sume_metadata_t sume_metadata) {
|
||||
|
||||
#include "actions_nat64_generic.p4"
|
||||
|
||||
action swap_eth_addresses() {
|
||||
EthAddr_t temp = hdr.ethernet.dstAddr;
|
||||
hdr.ethernet.dstAddr = hdr.ethernet.srcAddr;
|
||||
|
|
Loading…
Reference in a new issue