Go to file
Nico Schottelius 306d52176f Set table size to 2^n -1 for everything
Motivated by v6.1 error:

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
actions_egress.p4(52): warning: Table v6_networks is not used; removing
table v6_networks {
      ^^^^^^^^^^^
actions_egress.p4(69): warning: Table v4_networks is not used; removing
table v4_networks {
      ^^^^^^^^^^^
actions_nat64_generic.p4(174): warning: Table nat46 is not used; removing
    table nat46 {
          ^^^^^
minip4_solution.p4(38): [--Wwarn=uninitialized_out_param] warning: out parameter meta may be uninitialized when RealParser terminates
    out metadata meta,
                 ^^^^
minip4_solution.p4(35)
parser RealParser(
       ^^^^^^^^^^
error: LPM table size should be 2^n - 1
actions_nat64_generic.p4(169): error: could not not map table size size
        size = 64;
        ^^^^
error: table match_types are not the same
actions_arp.p4(35): error: could not map table key(s) KeyElement
            hdr.arp.dst_ipv4_addr: lpm;
            ^^^^^^^^^^^^^^^^^^^^^
error: LPM table size should be 2^n - 1
actions_arp.p4(55): error: could not not map table size size
        size = 64;
        ^^^^
Makefile:34: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/nico/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src'
Makefile:31: recipe for target 'frontend' failed
make: *** [frontend] Error 2
nico@nsg-System:~/master-thesis/netpfga/log$
2019-07-24 13:20:35 +02:00
bin Change order of complement & filtering 2019-07-15 16:20:51 +02:00
bug1-bool +pcap 2019-07-10 12:25:15 +00:00
doc Set table size to 2^n -1 for everything 2019-07-24 13:20:35 +02:00
netpfga Integrate existing headers 2019-07-24 12:15:26 +02:00
p4app Check how wrapping is done in P4 2019-07-16 11:53:00 +02:00
p4debug +pcap 2019-07-10 12:25:15 +00:00
p4src Set table size to 2^n -1 for everything 2019-07-24 13:20:35 +02:00
pcap +pcap 2019-07-21 08:54:38 +00:00
.gitignore logfiles, cleanup 2019-07-24 12:15:11 +02:00
README.md ++ init 2019-02-20 12:37:39 +01:00

README.md

Organisation

Checkout the plan