[netpfga] remove ARP support

Due to

minip4_solution.p4(35)
parser RealParser(
       ^^^^^^^^^^
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;
            ^^^^^^^^^^^^^^^^^^^^^
Makefile:34: recipe for target 'all' failed
make[1]: *** [all] Error 1

caused by

    table v4_arp {
        key = {
            hdr.ethernet.dst_addr: exact;
            hdr.arp.opcode: exact;
            hdr.arp.dst_ipv4_addr: lpm;
        }
This commit is contained in:
Nico Schottelius 2019-07-24 22:27:36 +02:00
commit 9e6bb893ac
2 changed files with 55 additions and 6 deletions

View file

@ -75,7 +75,7 @@ control RealMain(
#include "actions_nat64_generic.p4"
#include "actions_egress.p4"
#include "actions_arp.p4"
action swap_eth_addresses() {
mac_addr_t temp = hdr.ethernet.dst_addr;
@ -137,10 +137,6 @@ control RealMain(
}
}
} else if(hdr.arp.isValid()) {
if(v4_arp.apply().hit) {
v4_arp_egress.apply();
}
}
lookup_table.apply();