From d68be5010d54187f83d80a99cf9438893fa27a68 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 23 Jul 2019 15:00:26 +0200 Subject: [PATCH] [netpfga] add generic deparser, took Trying to fix late stage compile error --- p4src/minip4_solution.p4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/p4src/minip4_solution.p4 b/p4src/minip4_solution.p4 index 0888d80..f2a2168 100644 --- a/p4src/minip4_solution.p4 +++ b/p4src/minip4_solution.p4 @@ -144,9 +144,13 @@ control TopDeparser(packet_out packet, // inout sume_metadata_t sume_metadata) { - apply { - packet.emit(hdr.ethernet); - } + // apply { + // packet.emit(hdr.ethernet); + // } + + #include "parsers.p4" + + } /********************************************************************************