master-thesis/p4src
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
..
.gitignore logfiles, cleanup 2019-07-24 12:15:11 +02:00
actions_arp.p4 Split logic into smaller action blocks 2019-07-10 09:07:17 +02:00
actions_controller.p4 Merge controller/egress 2019-07-24 11:56:27 +02:00
actions_delta_checksum.p4 + () 2019-07-21 10:52:00 +02:00
actions_egress.p4 Include settings into egress for table sizes 2019-07-24 11:57:57 +02:00
actions_icmp6_ndp_icmp.p4 ++ arp 2019-07-10 09:13:28 +02:00
actions_nat64_generic.p4 Merge controller/egress 2019-07-24 11:56:27 +02:00
actions_nat64_session.p4 Split logic into smaller action blocks 2019-07-10 09:07:17 +02:00
bug1-bool.p4 Add checksums for udp_6, udp_v4, tcp_v6, tcp_v4 2019-04-11 10:08:11 +02:00
checksum_bmv2.p4 rename ipv4 header checksum 2019-07-16 12:07:21 +02:00
checksum_diff.p4 Begin from the beginning: reset to port1 only 2019-07-23 10:20:18 +02:00
commands.txt ++empty commands.txt 2019-07-17 17:44:22 +02:00
deparser.p4 Include the right DEparser 2019-07-23 15:02:27 +02:00
headers.p4 Remove function, because functions don't compile 2019-07-17 17:37:37 +02:00
Makefile make 2019-07-10 22:39:04 +02:00
minip4.p4 Checksums: ipv4 diff not needed; minip4: enable icmp, arp 2019-07-01 11:03:10 +02:00
minip4_solution-mirror.p4 Adjust both solutions to be more similar 2019-07-23 23:20:41 +02:00
minip4_solution-nat64.p4 Begin from the beginning: reset to port1 only 2019-07-23 10:20:18 +02:00
minip4_solution-v6zero.p4 integrate netpfga/p4 generic 2019-07-10 22:28:37 +02:00
minip4_solution.p4 +arp in netpfga 2019-07-24 13:17:56 +02:00
nat64.p4 Split of checksumming of bmv2 2019-07-11 10:50:00 +02:00
netpfga.p4 [netpfga] +table action 2019-07-17 17:42:11 +02:00
NO_NETPFGA_commands.txt [netpfga] Add default action for matching, remove commands.txt 2019-07-17 17:24:34 +02:00
parsers.p4 Move digest handling into parser 2019-07-23 12:32:59 +02:00
settings.p4 Set table size to 2^n -1 for everything 2019-07-24 13:20:35 +02:00
wraptest.p4 "fqdn" 2019-07-16 11:54:29 +02:00